- 13 2月, 2021 10 次提交
-
-
由 Alexander Kuzmenkov 提交于
window function rank() and friends
-
由 alexey-milovidov 提交于
Add separate config directive for Buffer profile
-
由 alexey-milovidov 提交于
Fix integer Field to Decimal conversion
-
由 alexey-milovidov 提交于
Do not allow early constant folding of explicitly forbidden functions
-
由 alexey-milovidov 提交于
Fix 01700_system_zookeeper_path_in
-
由 Ivan Blinkov 提交于
-
由 alesapin 提交于
-
由 alesapin 提交于
-
由 alesapin 提交于
Revert "Fix access control manager destruction order"
-
由 alesapin 提交于
-
- 12 2月, 2021 30 次提交
-
-
由 Alexander Kuzmenkov 提交于
-
由 Alexander Kuzmenkov 提交于
-
由 Alexander Kuzmenkov 提交于
-
由 alexey-milovidov 提交于
Common types template instantiations
-
由 Nikolai Kochetov 提交于
MongoDB table engine now establishes connection only when it reads data.
-
由 Alexander Kuzmenkov 提交于
-
由 alesapin 提交于
Fix null dereference with join_use_nulls=1
-
由 alesapin 提交于
Decimal binary operation constants fix
-
由 Maksim Kita 提交于
-
由 Maksim Kita 提交于
Avoid invalid dereference in RANGE_HASHED() dictionary
-
由 alesapin 提交于
Fix backoff for failed background tasks in replicated merge tree
-
由 alexey-milovidov 提交于
Add libnss_files to alpine image
-
由 alexey-milovidov 提交于
Print inline frames for fatal stacktraces
-
由 alexey-milovidov 提交于
-
由 Maksim Kita 提交于
-
由 Alexey Milovidov 提交于
-
由 Azat Khuzhin 提交于
After early_constant_folding started to ignore not only ignore(), but all functions with isSuitableForConstantFolding() == false, there became more sleep(2) calls for this test: - MergeTreeDataSelectExecutor::readFromParts -> DB::KeyCondition::KeyCondition - MergeTreeDataMergerMutator::mutatePartToTemporaryPart -> DB::isStorageTouchedByMutations -> FilterTransform::transform - MergeTreeDataMergerMutator::mutatePartToTemporaryPart -> DB::MergeTreeDataMergerMutator::mutateAllPartColumns -> FilterTransform::transform While before it was optimized to 0 during WHERE analysis.
-
由 Azat Khuzhin 提交于
Found with MSan [1], the following query triggers null dereference: ```sql SELECT Y.id - 1 FROM X RIGHT JOIN Y ON (X.id + 1) = Y.id SETTINGS join_use_nulls=1; -- { serverError 53 } ``` ``` Received signal 11 (version 21.3.1.5916, build id: 2E9E84AA32AEAAC7C8B6EB45DA3EC0B4F15E9ED4) (from thread 100) (query_id: 9ab8cb0d-be8d-445e-8498-930a7268488b) Received signal Segmentation fault (11) Address: 0x10 Access: read. Address not mapped to object. Stack trace: 0x2d079d65 0x29bf1f30 0x12b12220 0x12b13098 0x12b17b08 0x12b20459 0x2ae37913 0x2ae352d9 0x2c746072 0x2c7585dd 0x2c7483e3 0x2c74e63d 0x2c7483e3 0x2c74e63d 0x2c7483e3 0x2c74e63d 0x2c7483e3 0x2c74e63d 0x2c7483e3 0x2c74e63d 0x2c7483e3 0x2c74e63d 0x2c7483e3 0x2c74e63d 0x2c7483e3 0x2c74e63d 0x2c7483e3 0x2c74e63d 4. ./obj-x86_64-linux-gnu/../contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:0: DB::ColumnConst::ColumnConst(COW<DB::IColumn>::immutable_ptr<DB::IColumn> const&, unsigned long) @ 0x2d079d65 in /workspace/clickhouse 5. ./obj-x86_64-linux-gnu/../src/Common/COW.h:0: DB::createBlockWithNestedColumns(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&) @ 0x29bf1f30 in /workspace/clickhouse 6. DB::FunctionOverloadResolverAdaptor::getReturnTypeDefaultImplementationForNulls(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, std::__1::function<std::__1::shared_ptr<DB::IDataType const> (std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&)> const&) @ 0x12b12220 in /workspace/clickhouse 7. DB::FunctionOverloadResolverAdaptor::getReturnTypeWithoutLowCardinality(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&) const @ 0x12b13098 in /workspace/clickhouse 8. DB::FunctionOverloadResolverAdaptor::getReturnType(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&) const @ 0x12b17b08 in /workspace/clickhouse 9. DB::FunctionOverloadResolverAdaptor::build(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&) const @ 0x12b20459 in /workspace/clickhouse ``` [1]: https://clickhouse-test-reports.s3.yandex.net/19451/64c0bf98290362fa216c05b070aa122a12af3c25/fuzzer_msan/report.html#fail1
-
由 alexey-milovidov 提交于
Do not silently ignore write errors
-
由 Azat Khuzhin 提交于
UBsan report the following [1], when query does not contains any columns from the dictionary: ```sql SELECT toUInt32(toUInt32(NULL, toUInt32(NULL, inf, NULL), NULL)), toUInt32(toUInt32(toUInt32(toUInt32(toUInt32(NULL, 1., NULL)), toUInt32(toUInt32(NULL, 0.5, NULL)), toUInt32(NULL, NULL)), toUInt32(toUInt32(NULL, 1., NULL)), toUInt32(NULL, NULL)), toUInt32(toUInt32(toUInt32(toUInt32(NULL, 1000.0001220703125, NULL)), toUInt32(toUInt32(NULL, 10.000100135803223, NULL)), toUInt32(NULL, NULL)), NULL, NULL, NULL)) FROM somedict ``` ``` std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> >::back() @ 0x128c07a6 in /workspace/clickhouse ./obj-x86_64-linux-gnu/../src/Dictionaries/RangeDictionaryBlockInputStream.h:0: DB::RangeDictionaryBlockInputStream<DB::RangeHashedDictionary, unsigned short, unsigned long>::fillBlock(DB::PODArray<unsigned long, 4096ul, Allocator<false, false>, 15ul, 16ul> const&, DB::PODArray<unsigned short, 4096ul, Allocator<false, false>, 15ul, 16ul> const&, DB::PODArray<unsigned short, 4096ul, Allocator<false, false>, 15ul, 16ul> const&) const @ 0x1692335e in /workspace/clickhouse ./obj-x86_64-linux-gnu/../src/Dictionaries/RangeDictionaryBlockInputStream.h:0: DB::RangeDictionaryBlockInputStream<DB::RangeHashedDictionary, unsigned short, unsigned long>::getBlock(unsigned long, unsigned long) const @ 0x16922f96 in /workspace/clickhouse ./obj-x86_64-linux-gnu/../src/Dictionaries/DictionaryBlockInputStreamBase.cpp:23: DB::DictionaryBlockInputStreamBase::getHeader() const @ 0x166ab57c in /workspace/clickhouse ``` [1]: https://clickhouse-test-reports.s3.yandex.net/19451/64c0bf98290362fa216c05b070aa122a12af3c25/fuzzer_ubsan/report.html#fail1
-
由 alexey-milovidov 提交于
Delay or throw insertion when too many inactive parts
-
由 alexey-milovidov 提交于
Aggregate function deltaSum use restrict keyword
-
由 alexey-milovidov 提交于
Fix 00738_lock_for_inner_table flakiness
-
由 alexey-milovidov 提交于
Fix broken links to "max table size" param in backup documentation
-
由 alexey-milovidov 提交于
Accept arbitrary numeric types for numbers() arguments (for scientific notation)
-
由 Alexander Kuzmenkov 提交于
-
由 Alexander Kuzmenkov 提交于
make window functions faster
-
由 Alexander Kuzmenkov 提交于
-
由 Alexander Kuzmenkov 提交于
-
由 Maksim Kita 提交于
-