ClickHouse/src/Storages/MergeTree
Azat Khuzhin 1e2b0c8dc4 Fix possible UB in Set skipping index for functions with incorrect args
Usually functions are validated before index analysis, however it is
not the case for parallel replicas, and it requires additional checks
before interpreting function arguments.

<details>

<summary>stack trace</summary>

```
==172==WARNING: MemorySanitizer: use-of-uninitialized-value
    0 0x55cf82aedd6c in DB::ASTFunction* typeid_cast<DB::ASTFunction*, DB::IAST>(DB::IAST*) build_docker/./src/Common/typeid_cast.h:42:73
    1 0x55cf82aedd6c in DB::TypePromotion<DB::IAST>::CastHelper<DB::ASTFunction, false, false>::value(DB::IAST*) build_docker/./src/Common/TypePromotion.h:38:43
    2 0x55cf82aedd6c in std::__1::invoke_result<decltype(&CastHelper<DB::ASTFunction, false>::value), DB::TypePromotion<DB::IAST>::CastHelper<DB::ASTFunction, false, std::is_reference_v<DB::ASTFunction>>, DB::IAST*>::type DB::TypePromotion<DB::IAST>::as<DB::ASTFunction>() build_docker/./src/>
    3 0x55cf82aedd6c in DB::MergeTreeIndexConditionSet::operatorFromAST(std::__1::shared_ptr<DB::IAST>&) build_docker/./src/Storages/MergeTree/MergeTreeIndexSet.cpp:602:25
    4 0x55cf82ae5bc1 in DB::MergeTreeIndexConditionSet::traverseAST(std::__1::shared_ptr<DB::IAST>&) const build_docker/./src/Storages/MergeTree/MergeTreeIndexSet.cpp:547:9
    5 0x55cf82ae5de6 in DB::MergeTreeIndexConditionSet::traverseAST(std::__1::shared_ptr<DB::IAST>&) const build_docker/./src/Storages/MergeTree/MergeTreeIndexSet.cpp:552:13
    6 0x55cf82ae06db in DB::MergeTreeIndexConditionSet::MergeTreeIndexConditionSet() build_docker/.>
    ...
    12 0x55cf82aef09c in DB::MergeTreeIndexSet::createIndexCondition() const build_docker/./src/Storages/MergeTree/MergeTreeIndexSet.cpp:703:12
    13 0x55cf84951cd4 in DB::buildIndexes()
    14 0x55cf84955ed3 in DB::ReadFromMergeTree::selectRangesToReadImpl()
    15 0x55cf8494caef in DB::ReadFromMergeTree::selectRangesToRead()
    16 0x55cf82a409a9 in DB::MergeTreeDataSelectExecutor::estimateNumMarksToRead()
    17 0x55cf827f728d in DB::MergeTreeData::canUseParallelReplicasBasedOnPKAnalysis()
    18 0x55cf827f627e in DB::MergeTreeData::getQueryProcessingStage()
    19 0x55cf7f2f4969 in DB::InterpreterSelectQuery::getSampleBlockImpl() build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:937:31
    20 0x55cf7f2daa00 in DB::InterpreterSelectQuery::InterpreterSelectQuery()
    24 0x55cf7f520b98 in DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter()
    25 0x55cf7f51b6cd in DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery()
    27 0x55cf7f1d4ea9 in DB::InterpreterFactory::get(std::__1::shared_ptr<DB::IAST>&, std::__1::shared_ptr<DB::Context>, DB::SelectQueryOptions const&) build_docker/./src/Interpreters/InterpreterFactory.cpp:162:16
    28 0x55cf8012e485 in DB::executeQueryImpl(char const*, char const*, std::__1::shared_ptr<DB::Context>, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) build_docker/./src/Interpreters/executeQuery.cpp:1032:31
    29 0x55cf80121bc1 in DB::executeQuery(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::shared_ptr<DB::Context>, bool, DB::QueryProcessingStage::Enum) build_docker/./src/Interpreters/executeQuery.cpp:1229:30
    30 0x55cf8389295f in DB::TCPHandler::runImpl() build_docker/./src/Server/TCPHandler.cpp:424:24
    31 0x55cf838d7dfb in DB::TCPHandler::run() build_docker/./src/Server/TCPHandler.cpp:2050:9
```

</details>

CI: https://s3.amazonaws.com/clickhouse-test-reports/53214/d99b10c340909ed4ee2e6edf0921e8a2f8561b0d/fuzzer_astfuzzermsan/report.html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-08-18 18:02:46 +02:00
..
examples
tests Merge branch 'master' into hanfei/support-insert-token 2023-07-17 14:57:48 +02:00
ActiveDataPartSet.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
ActiveDataPartSet.h
AllMergeSelector.cpp
AllMergeSelector.h
AlterConversions.cpp refactoring near alter conversions 2023-05-25 22:54:54 +00:00
AlterConversions.h refactoring near alter conversions 2023-05-25 22:54:54 +00:00
ApproximateNearestNeighborIndexesCommon.cpp Misc Annoy fixes 2023-06-08 15:06:17 +00:00
ApproximateNearestNeighborIndexesCommon.h Misc Annoy fixes 2023-06-08 15:06:17 +00:00
AsyncBlockIDsCache.cpp Fixes for clang-17 2023-05-13 02:57:31 +02:00
AsyncBlockIDsCache.h Remove superfluous includes of logger_userful.h from headers 2023-04-10 17:59:30 +02:00
BackgroundJobsAssignee.cpp
BackgroundJobsAssignee.h Use forward declaration of ThreadPool 2023-04-07 11:25:35 +02:00
BackgroundProcessList.h
BoolMask.cpp
BoolMask.h
checkDataPart.cpp Bug fix for checksum of compress marks (#51777) 2023-08-08 17:55:07 +03:00
checkDataPart.h better reporting of broken parts 2023-06-22 12:25:45 +00:00
CMakeLists.txt
ColumnSizeEstimator.h
DataPartsExchange.cpp Merge branch 'master' into add_delay_for_replicated 2023-07-22 12:11:39 +02:00
DataPartsExchange.h Updated to hold temporary_directory_lock till part is fetched, renamed and committed 2023-05-30 13:30:47 +02:00
DataPartStorageOnDiskBase.cpp Disable using fs cache for backup/restore #2. 2023-08-03 13:52:35 +02:00
DataPartStorageOnDiskBase.h Disable using fs cache for backup/restore #2. 2023-08-03 13:52:35 +02:00
DataPartStorageOnDiskFull.cpp Add column modification time into system.parts_columns 2023-07-03 13:34:05 +02:00
DataPartStorageOnDiskFull.h Add column modification time into system.parts_columns 2023-07-03 13:34:05 +02:00
DropPartsRanges.cpp make separate DROP_PART log entry type 2023-01-31 13:37:56 +01:00
DropPartsRanges.h make separate DROP_PART log entry type 2023-01-31 13:37:56 +01:00
EphemeralLockInZooKeeper.cpp Add CheckNotExists request to Keeper 2023-04-18 14:45:24 +00:00
EphemeralLockInZooKeeper.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
extractZkPathFromCreateQuery.cpp
extractZkPathFromCreateQuery.h
FutureMergedMutatedPart.cpp refactoring of code near merge tree parts 2023-01-25 17:34:09 +00:00
FutureMergedMutatedPart.h refactoring of code near merge tree parts 2023-01-25 17:34:09 +00:00
GinIndexStore.cpp Ditch tons of garbage 2023-08-09 02:19:02 +02:00
GinIndexStore.h "segment file" --> "segment metadata file" 2023-01-20 11:26:22 +00:00
IDataPartStorage.h Disable using fs cache for backup/restore #2. 2023-08-03 13:52:35 +02:00
IExecutableTask.h rollback merge tasks on exception 2023-07-08 14:03:08 +02:00
IMergedBlockOutputStream.cpp Remove superfluous includes of logger_userful.h from headers 2023-04-10 17:59:30 +02:00
IMergedBlockOutputStream.h
IMergeTreeDataPart.cpp Merge pull request #50276 from ClibMouse/feature/mergetree-checksum-big-endian-support 2023-08-17 13:27:18 +02:00
IMergeTreeDataPart.h Merge branch 'master' into fixes_for_detached_parts 2023-08-14 19:20:45 +02:00
IMergeTreeDataPartInfoForReader.h better reporting of broken parts 2023-06-22 12:25:45 +00:00
IMergeTreeDataPartWriter.cpp
IMergeTreeDataPartWriter.h Revert "Add return flag for preFinalize." 2023-02-09 19:51:09 +00:00
IMergeTreeReader.cpp fix reading of empty Nested(Array(...)) 2023-08-07 12:32:12 +00:00
IMergeTreeReader.h fix reading of empty Nested(Array(...)) 2023-08-07 12:32:12 +00:00
IMergeTreeReadPool.h Follow-up to #46168 2023-02-14 15:45:38 +01:00
IntersectionsIndexes.h Parallel replicas. Part [2] (#43772) 2023-02-03 14:34:18 +01:00
IPartMetadataManager.cpp
IPartMetadataManager.h
KeyCondition.cpp Rename constants in KeyCondition analysis. 2023-07-17 18:53:12 +00:00
KeyCondition.h Fix key condition on duplicate primary keys 2023-04-17 19:13:42 +08:00
LeaderElection.h less exceptions with runtime format string 2023-08-14 21:45:59 +02:00
LevelMergeSelector.cpp Fix half of trash 2022-09-10 04:08:16 +02:00
LevelMergeSelector.h
LoadedMergeTreeDataPartInfoForReader.h better reporting of broken parts 2023-06-22 12:25:45 +00:00
localBackup.cpp Update src/Storages/MergeTree/localBackup.cpp 2023-08-01 11:50:56 +02:00
localBackup.h Support hardlinking parts transactionally 2023-05-18 21:05:56 -07:00
MarkRange.cpp Implement endianness-independent SipHash and MergeTree checksum serialization 2023-07-19 10:01:55 -07:00
MarkRange.h Preparation for libcxx(abi), llvm, clang-tidy 16 2023-03-19 17:25:41 +00:00
MergeAlgorithm.h minor renames 2022-03-14 14:42:09 +00:00
MergedBlockOutputStream.cpp do call finalize for all buffers 2023-06-16 16:38:18 +02:00
MergedBlockOutputStream.h do abort/cancel/deletion merge/mutate task with exception context 2023-06-16 16:48:21 +02:00
MergedColumnOnlyOutputStream.cpp Merge branch 'master' into revert-46909-revert-45911-mutations_rename_hang 2023-03-08 12:59:07 +01:00
MergedColumnOnlyOutputStream.h Revert "Add return flag for preFinalize." 2023-02-09 19:51:09 +00:00
MergeFromLogEntryTask.cpp Wait for zero copy replication lock even if some disks don't support it 2023-07-20 18:04:26 +02:00
MergeFromLogEntryTask.h rollback merge tasks on exception 2023-07-08 14:03:08 +02:00
MergeList.cpp Merge pull request #48787 from ClickHouse/background-memory-tracker 2023-05-09 07:58:36 +03:00
MergeList.h Merge pull request #48787 from ClickHouse/background-memory-tracker 2023-05-09 07:58:36 +03:00
MergeMutateSelectedEntry.h
MergePlainMergeTreeTask.cpp rollback merge tasks on exception 2023-07-08 14:03:08 +02:00
MergePlainMergeTreeTask.h rollback merge tasks on exception 2023-07-08 14:03:08 +02:00
MergeProgress.h
MergeSelector.h provide better partitions hint for merge selecting task 2023-05-08 00:22:07 +02:00
MergeTask.cpp refactoring near alter conversions 2023-05-25 22:54:54 +00:00
MergeTask.h Remove PVS-Studio 2023-02-19 23:30:05 +01:00
MergeTreeBackgroundExecutor.cpp Update MergeTreeBackgroundExecutor.cpp (#52261) 2023-07-20 14:22:22 +03:00
MergeTreeBackgroundExecutor.h Unify priorities: IExecutableTasks 2023-06-07 16:50:04 +00:00
MergeTreeBaseSelectProcessor.cpp fix reading of empty Nested(Array(...)) 2023-08-07 12:32:12 +00:00
MergeTreeBaseSelectProcessor.h fix reading of empty Nested(Array(...)) 2023-08-07 12:32:12 +00:00
MergeTreeBlockReadUtils.cpp fix reading of unneded column in case of multistage prewhere 2023-07-27 16:15:23 +00:00
MergeTreeBlockReadUtils.h Merge pull request #50257 from CurtizJ/useless-refactoring 2023-05-28 21:42:16 +02:00
MergeTreeData.cpp Merge pull request #50276 from ClibMouse/feature/mergetree-checksum-big-endian-support 2023-08-17 13:27:18 +02:00
MergeTreeData.h fix creation of empty parts 2023-08-15 00:26:17 +02:00
MergeTreeDataFormatVersion.h
MergeTreeDataMergerMutator.cpp Merge branch 'master' into fix-potentially-bad-code 2023-07-05 00:46:24 +02:00
MergeTreeDataMergerMutator.h Remove code that I don't like 2023-06-25 09:11:42 +02:00
MergeTreeDataPartBuilder.cpp fix mistake after refactoring 2023-01-31 15:48:14 +00:00
MergeTreeDataPartBuilder.h refactoring of code near merge tree parts 2023-01-25 17:34:09 +00:00
MergeTreeDataPartChecksum.cpp Merge branch 'master' into feature/mergetree-checksum-big-endian-support 2023-08-14 13:02:30 -04:00
MergeTreeDataPartChecksum.h refactoring of code near merge tree parts 2023-01-25 17:34:09 +00:00
MergeTreeDataPartCompact.cpp Merge branch 'master' into feature/mergetree-checksum-big-endian-support 2023-08-09 09:48:00 -04:00
MergeTreeDataPartCompact.h fix reading of empty Nested(Array(...)) 2023-08-07 12:32:12 +00:00
MergeTreeDataPartInMemory.cpp Merge pull request #50276 from ClibMouse/feature/mergetree-checksum-big-endian-support 2023-08-17 13:27:18 +02:00
MergeTreeDataPartInMemory.h fix 2023-08-10 23:22:51 +02:00
MergeTreeDataPartState.h
MergeTreeDataPartTTLInfo.cpp
MergeTreeDataPartTTLInfo.h
MergeTreeDataPartType.h Deprecate in-memory parts 2023-05-03 00:31:09 +02:00
MergeTreeDataPartUUID.cpp
MergeTreeDataPartUUID.h
MergeTreeDataPartWide.cpp Merge branch 'master' into feature/mergetree-checksum-big-endian-support 2023-08-09 09:48:00 -04:00
MergeTreeDataPartWide.h fix reading of empty Nested(Array(...)) 2023-08-07 12:32:12 +00:00
MergeTreeDataPartWriterCompact.cpp Merge branch 'master' into feature/mergetree-checksum-big-endian-support 2023-08-14 13:02:30 -04:00
MergeTreeDataPartWriterCompact.h
MergeTreeDataPartWriterInMemory.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
MergeTreeDataPartWriterInMemory.h
MergeTreeDataPartWriterOnDisk.cpp Implement endianness-independent SipHash and MergeTree checksum serialization 2023-07-19 10:01:55 -07:00
MergeTreeDataPartWriterOnDisk.h Revert "Add return flag for preFinalize." 2023-02-09 19:51:09 +00:00
MergeTreeDataPartWriterWide.cpp Implement endianness-independent SipHash and MergeTree checksum serialization 2023-07-19 10:01:55 -07:00
MergeTreeDataPartWriterWide.h
MergeTreeDataSelectExecutor.cpp add max_threads for index settings 2023-08-11 10:20:07 +02:00
MergeTreeDataSelectExecutor.h Merge branch 'master' into refactor-subqueries-for-in 2023-05-30 18:08:37 +02:00
MergeTreeDataWriter.cpp Add ability to log when max_partitions_per_insert_block is reached (#50948) 2023-08-07 23:28:19 +02:00
MergeTreeDataWriter.h fix special build 2023-07-17 23:46:45 +02:00
MergeTreeDeduplicationLog.cpp Update src/Storages/MergeTree/MergeTreeDeduplicationLog.cpp 2023-07-27 16:28:08 +02:00
MergeTreeDeduplicationLog.h
MergeTreeIndexAggregatorBloomFilter.cpp Cosmetics: Remove unnecessary toString() 2023-06-05 09:28:55 +00:00
MergeTreeIndexAggregatorBloomFilter.h
MergeTreeIndexAnnoy.cpp Factorize constants 2023-08-15 08:56:40 +00:00
MergeTreeIndexAnnoy.h Misc Annoy fixes 2023-06-08 15:06:17 +00:00
MergeTreeIndexBloomFilter.cpp allow bloom filter for IPv4 and IPv6 2023-02-06 16:30:18 +00:00
MergeTreeIndexBloomFilter.h
MergeTreeIndexConditionBloomFilter.cpp Cleanup. 2023-06-22 14:23:04 +00:00
MergeTreeIndexConditionBloomFilter.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
MergeTreeIndexFullText.cpp Cleanup. 2023-06-22 14:23:04 +00:00
MergeTreeIndexFullText.h Implement tokenbf_v1 index utilization for hasTokenCaseInsensitive 2023-03-23 12:24:13 -07:00
MergeTreeIndexGranularity.cpp
MergeTreeIndexGranularity.h
MergeTreeIndexGranularityInfo.cpp refactoring of code near merge tree parts 2023-01-25 17:34:09 +00:00
MergeTreeIndexGranularityInfo.h refactoring of code near merge tree parts 2023-01-25 17:34:09 +00:00
MergeTreeIndexGranuleBloomFilter.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
MergeTreeIndexGranuleBloomFilter.h
MergeTreeIndexHypothesis.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
MergeTreeIndexHypothesis.h
MergeTreeIndexHypothesisMergedCondition.cpp Add support for substitute column 2023-03-17 13:38:01 +00:00
MergeTreeIndexHypothesisMergedCondition.h Add support for substitute column 2023-03-17 13:38:01 +00:00
MergeTreeIndexInverted.cpp Cleanup. 2023-06-22 14:23:04 +00:00
MergeTreeIndexInverted.h Suffix "GinFilter" --> "Inverted" 2023-01-20 12:02:35 +00:00
MergeTreeIndexMinMax.cpp Cosmetics: Remove unnecessary toString() 2023-06-05 09:28:55 +00:00
MergeTreeIndexMinMax.h
MergeTreeIndexReader.cpp refactoring near alter conversions 2023-05-25 22:54:54 +00:00
MergeTreeIndexReader.h
MergeTreeIndexSet.cpp Fix possible UB in Set skipping index for functions with incorrect args 2023-08-18 18:02:46 +02:00
MergeTreeIndexSet.h
MergeTreeIndexUtils.cpp
MergeTreeIndexUtils.h
MergeTreeIndices.cpp do not allow const and non-deterministic secondary indexes 2023-02-24 19:17:44 +00:00
MergeTreeIndices.h Cosmetics 2023-01-20 11:49:08 +00:00
MergeTreeInOrderSelectProcessor.cpp refactoring near alter conversions 2023-05-25 22:54:54 +00:00
MergeTreeInOrderSelectProcessor.h Remove superfluous includes of logger_userful.h from headers 2023-04-10 17:59:30 +02:00
MergeTreeIOSettings.h Added settings to enable the new logic 2023-02-12 21:54:23 +01:00
MergeTreeMarksLoader.cpp Implement endianness-independent SipHash and MergeTree checksum serialization 2023-07-19 10:01:55 -07:00
MergeTreeMarksLoader.h Updated to store IMergeTreeDataPartInfoForReader instead of DataPart in MergeTreeMarksLoader 2023-04-30 10:56:43 +02:00
MergeTreeMetadataCache.cpp
MergeTreeMetadataCache.h
MergeTreeMutationEntry.cpp MergeTree/ReplicatedMergeTree should use server timezone for log entries 2023-07-19 15:25:15 +02:00
MergeTreeMutationEntry.h
MergeTreeMutationStatus.cpp
MergeTreeMutationStatus.h
MergeTreePartInfo.cpp moved getting server TZ DateLUT to separate place, upd tests and fix 2023-04-12 12:47:05 +02:00
MergeTreePartInfo.h Remove PVS-Studio 2023-02-19 23:30:05 +01:00
MergeTreePartition.cpp Implement endianness-independent SipHash and MergeTree checksum serialization 2023-07-19 10:01:55 -07:00
MergeTreePartition.h
MergeTreePartsMover.cpp Merge branch 'master' into disks-space-improvement 2023-07-07 13:43:04 +03:00
MergeTreePartsMover.h Fixes for cleanup moving parts 2023-06-07 13:57:24 +00:00
MergeTreePrefetchedReadPool.cpp fix reading of empty Nested(Array(...)) 2023-08-07 12:32:12 +00:00
MergeTreePrefetchedReadPool.h Merge pull request #50257 from CurtizJ/useless-refactoring 2023-05-28 21:42:16 +02:00
MergeTreeRangeReader.cpp refactoring near alter conversions 2023-05-25 22:54:54 +00:00
MergeTreeRangeReader.h refactoring near alter conversions 2023-05-25 22:54:54 +00:00
MergeTreeReaderCompact.cpp fix reading of empty Nested(Array(...)) 2023-08-07 12:32:12 +00:00
MergeTreeReaderCompact.h fix reading of empty Nested(Array(...)) 2023-08-07 12:32:12 +00:00
MergeTreeReaderInMemory.cpp fix reading of empty Nested(Array(...)) 2023-08-07 12:32:12 +00:00
MergeTreeReaderInMemory.h fix reading of empty Nested(Array(...)) 2023-08-07 12:32:12 +00:00
MergeTreeReaderStream.cpp Merge pull request #49413 from azat/build/headers 2023-05-05 23:37:58 +02:00
MergeTreeReaderStream.h Updated to store IMergeTreeDataPartInfoForReader instead of DataPart in MergeTreeMarksLoader 2023-04-30 10:56:43 +02:00
MergeTreeReaderWide.cpp fix reading of empty Nested(Array(...)) 2023-08-07 12:32:12 +00:00
MergeTreeReaderWide.h fix reading of empty Nested(Array(...)) 2023-08-07 12:32:12 +00:00
MergeTreeReadPool.cpp determine task size by prewhere columns 2023-07-26 12:54:50 +02:00
MergeTreeReadPool.h Slightly better code around packets for parallel replicas (#51451) 2023-06-28 12:30:15 +02:00
MergeTreeReverseSelectProcessor.cpp refactoring near alter conversions 2023-05-25 22:54:54 +00:00
MergeTreeReverseSelectProcessor.h Remove superfluous includes of logger_userful.h from headers 2023-04-10 17:59:30 +02:00
MergeTreeSelectProcessor.cpp fix reading of empty Nested(Array(...)) 2023-08-07 12:32:12 +00:00
MergeTreeSelectProcessor.h refactoring near alter conversions 2023-05-25 22:54:54 +00:00
MergeTreeSequentialSource.cpp Merge pull request #52949 from CurtizJ/fix-nested-array-lowcardinality 2023-08-07 23:32:25 +02:00
MergeTreeSequentialSource.h
MergeTreeSettings.cpp better scheduling of merge selecting task 2023-05-23 01:25:17 +02:00
MergeTreeSettings.h Merge branch 'master' into add_delay_for_replicated 2023-07-24 16:07:38 +02:00
MergeTreeSink.cpp Relax "too many parts" further 2023-06-11 17:51:54 +02:00
MergeTreeSink.h Relax "too many parts" further 2023-06-11 17:51:54 +02:00
MergeTreeSource.cpp Rework loading and removing of data parts for MergeTree tables. (#49474) 2023-06-06 14:42:56 +02:00
MergeTreeSource.h Return chunks with 0 rows from MergeTreeSource to report progress when rows are filtered in PREWHERE 2023-02-20 17:35:01 +01:00
MergeTreeSplitPrewhereIntoReadSteps.cpp refactoring near alter conversions 2023-05-25 22:54:54 +00:00
MergeTreeThreadSelectProcessor.cpp fix reading of empty Nested(Array(...)) 2023-08-07 12:32:12 +00:00
MergeTreeThreadSelectProcessor.h Pass action_settings to getReadTaskColumns() 2023-02-12 21:55:53 +01:00
MergeTreeWhereOptimizer.cpp fix style 2023-08-12 14:40:02 +02:00
MergeTreeWhereOptimizer.h improve move_primary_key_columns_to_end_of_prewhere 2023-08-11 17:36:52 +02:00
MergeTreeWriteAheadLog.cpp Deprecate in-memory parts 2023-05-03 00:31:09 +02:00
MergeTreeWriteAheadLog.h Update MergeTreeWriteAheadLog.h 2023-05-17 18:15:51 +02:00
MergeType.cpp
MergeType.h
MovesList.cpp
MovesList.h
MutateFromLogEntryTask.cpp Wait for zero copy replication lock even if some disks don't support it 2023-07-20 18:04:26 +02:00
MutateFromLogEntryTask.h rollback merge tasks on exception 2023-07-08 14:03:08 +02:00
MutatePlainMergeTreeTask.cpp rollback merge tasks on exception 2023-07-08 14:03:08 +02:00
MutatePlainMergeTreeTask.h rollback merge tasks on exception 2023-07-08 14:03:08 +02:00
MutateTask.cpp Merge pull request #52530 from CurtizJ/fix-alter-delete-skip-index 2023-08-11 15:23:05 +02:00
MutateTask.h fix missing metadata_version.txt 2023-06-28 18:19:16 +02:00
ParallelReplicasReadingCoordinator.cpp Slightly better code around packets for parallel replicas (#51451) 2023-06-28 12:30:15 +02:00
ParallelReplicasReadingCoordinator.h Parallel replicas always skip unavailable ones (#50293) 2023-05-31 22:10:33 +02:00
PartitionPruner.cpp Cleanup. 2023-06-22 14:23:04 +00:00
PartitionPruner.h Fixing more tests. 2023-05-26 19:25:33 +00:00
PartMetadataManagerOrdinary.cpp
PartMetadataManagerOrdinary.h
PartMetadataManagerWithCache.cpp Support getHexUIntLowercase() with CityHash_v1_0_2::uint128 parameter. 2023-06-29 15:29:37 +02:00
PartMetadataManagerWithCache.h
PartMovesBetweenShardsOrchestrator.cpp less exceptions with runtime format string 2023-08-14 21:45:59 +02:00
PartMovesBetweenShardsOrchestrator.h Remove superfluous includes of logger_userful.h from headers 2023-04-10 17:59:30 +02:00
PinnedPartUUIDs.cpp
PinnedPartUUIDs.h
RangesInDataPart.cpp Fixed tests 2023-06-20 11:42:22 +03:00
RangesInDataPart.h refactoring near alter conversions 2023-05-25 22:54:54 +00:00
registerStorageMergeTree.cpp disable table structure check for secondary queries from Replicated db 2023-06-22 19:06:28 +02:00
ReplicatedFetchList.cpp
ReplicatedFetchList.h
ReplicatedMergeMutateTaskBase.cpp Wait for zero copy replication lock even if some disks don't support it 2023-07-20 18:04:26 +02:00
ReplicatedMergeMutateTaskBase.h rollback merge tasks on exception 2023-07-08 14:03:08 +02:00
ReplicatedMergeTreeAddress.cpp
ReplicatedMergeTreeAddress.h
ReplicatedMergeTreeAltersSequence.cpp
ReplicatedMergeTreeAltersSequence.h
ReplicatedMergeTreeAttachThread.cpp Merge pull request #48730 from ClickHouse/remove_some_code 2023-04-13 16:18:59 +03:00
ReplicatedMergeTreeAttachThread.h Remove superfluous includes of logger_userful.h from headers 2023-04-10 17:59:30 +02:00
ReplicatedMergeTreeCleanupThread.cpp fixes for detach/attach partition 2023-08-08 17:55:04 +02:00
ReplicatedMergeTreeCleanupThread.h more flexible cleanup thread scheduling 2023-05-22 19:07:18 +02:00
ReplicatedMergeTreeLogEntry.cpp MergeTree/ReplicatedMergeTree should use server timezone for log entries 2023-07-19 15:25:15 +02:00
ReplicatedMergeTreeLogEntry.h [RFC] Replacing merge tree new engine (#41005) 2023-02-16 16:03:16 +03:00
ReplicatedMergeTreeMergeStrategyPicker.cpp
ReplicatedMergeTreeMergeStrategyPicker.h
ReplicatedMergeTreeMutationEntry.cpp MergeTree/ReplicatedMergeTree should use server timezone for log entries 2023-07-19 15:25:15 +02:00
ReplicatedMergeTreeMutationEntry.h Merge branch 'master' into less_zookeeper_requests 2023-05-22 13:59:26 +02:00
ReplicatedMergeTreePartCheckThread.cpp fix 2023-07-06 17:24:06 +02:00
ReplicatedMergeTreePartCheckThread.h fix 2023-07-06 17:24:06 +02:00
ReplicatedMergeTreePartHeader.cpp Implement endianness-independent SipHash and MergeTree checksum serialization 2023-07-19 10:01:55 -07:00
ReplicatedMergeTreePartHeader.h
ReplicatedMergeTreeQueue.cpp less exceptions with runtime format string 2023-08-14 21:45:59 +02:00
ReplicatedMergeTreeQueue.h Merge branch 'master' into fix-potentially-bad-code 2023-07-05 00:46:24 +02:00
ReplicatedMergeTreeQuorumAddedParts.h
ReplicatedMergeTreeQuorumEntry.h
ReplicatedMergeTreeRestartingThread.cpp Set startup event during shutdown 2023-07-18 19:09:01 +02:00
ReplicatedMergeTreeRestartingThread.h Set startup event during shutdown 2023-07-18 19:09:01 +02:00
ReplicatedMergeTreeSink.cpp Merge pull request #53424 from ClickHouse/exception_message_patterns6 2023-08-17 17:58:04 +03:00
ReplicatedMergeTreeSink.h fixes for detach/attach partition 2023-08-08 17:55:04 +02:00
ReplicatedMergeTreeTableMetadata.cpp Recalculate always projections on mutations in ReplicatedMergeTree 2023-03-22 11:21:23 +00:00
ReplicatedMergeTreeTableMetadata.h
ReplicatedTableStatus.h add column zookeeper_name in system.replicas 2023-04-25 09:19:36 +08:00
RequestResponse.cpp Slightly better code around packets for parallel replicas (#51451) 2023-06-28 12:30:15 +02:00
RequestResponse.h Slightly better code around packets for parallel replicas (#51451) 2023-06-28 12:30:15 +02:00
RPNBuilder.cpp Handle subqueries and sets when collecting table columns 2023-07-01 20:05:18 +02:00
RPNBuilder.h Handle subqueries and sets when collecting table columns 2023-07-01 20:05:18 +02:00
SimpleMergeSelector.cpp more flexible cleanup thread scheduling 2023-05-22 19:07:18 +02:00
SimpleMergeSelector.h
StorageFromMergeTreeDataPart.h refactoring near alter conversions 2023-05-25 22:54:54 +00:00
TemporaryParts.cpp
TemporaryParts.h
TTLMergeSelector.cpp provide better partitions hint for merge selecting task 2023-05-08 00:22:07 +02:00
TTLMergeSelector.h provide better partitions hint for merge selecting task 2023-05-08 00:22:07 +02:00
ZeroCopyLock.cpp Fix another zero copy bug 2023-05-03 21:28:33 +02:00
ZeroCopyLock.h Fix build 2023-05-03 23:54:24 +02:00
ZooKeeperRetries.h less exceptions with runtime format string 2023-08-14 21:45:59 +02:00