diff --git a/src/Compression/tests/gtest_compressionCodec.cpp b/src/Compression/tests/gtest_compressionCodec.cpp index 4765aeb45ed..b4c29bf9ce6 100644 --- a/src/Compression/tests/gtest_compressionCodec.cpp +++ b/src/Compression/tests/gtest_compressionCodec.cpp @@ -1203,7 +1203,7 @@ auto DDperformanceTestSequence() + generateSeq(G(SameValueGenerator(42)), 0, times); // best } -// prime numbers in ascending order with some random repitions hit all the cases of Gorilla. +// prime numbers in ascending order with some random repetitions hit all the cases of Gorilla. auto PrimesWithMultiplierGenerator = [](int multiplier = 1) { return [multiplier](auto i) diff --git a/src/Functions/FunctionsMiscellaneous.h b/src/Functions/FunctionsMiscellaneous.h index da90889fd4d..d5c92c5d666 100644 --- a/src/Functions/FunctionsMiscellaneous.h +++ b/src/Functions/FunctionsMiscellaneous.h @@ -205,7 +205,7 @@ public: const String & expression_return_name_) : expression_actions(std::move(expression_actions_)) { - /// Check that expression does not contain unusual actions that will break columnss structure. + /// Check that expression does not contain unusual actions that will break columns structure. for (const auto & action : expression_actions->getActions()) if (action.node->type == ActionsDAG::ActionType::ARRAY_JOIN) throw Exception("Expression with arrayJoin or other unusual action cannot be captured", ErrorCodes::BAD_ARGUMENTS); diff --git a/src/Functions/PerformanceAdaptors.h b/src/Functions/PerformanceAdaptors.h index 5b690d83805..9aed3893fff 100644 --- a/src/Functions/PerformanceAdaptors.h +++ b/src/Functions/PerformanceAdaptors.h @@ -210,7 +210,7 @@ public: throw Exception("There are no available implementations for function " "TODO(dakovalkov): add name", ErrorCodes::NO_SUITABLE_FUNCTION_IMPLEMENTATION); - /// Statistics shouldn't rely on small columnss. + /// Statistics shouldn't rely on small columns. bool considerable = (input_rows_count > 1000); ColumnPtr res; diff --git a/src/Functions/rowNumberInAllBlocks.cpp b/src/Functions/rowNumberInAllBlocks.cpp index 28d61afcdc1..750f8691cbb 100644 --- a/src/Functions/rowNumberInAllBlocks.cpp +++ b/src/Functions/rowNumberInAllBlocks.cpp @@ -10,7 +10,7 @@ namespace DB namespace { -/** Incremental number of row within all columnss passed to this function. */ +/** Incremental number of row within all columns passed to this function. */ class FunctionRowNumberInAllBlocks : public IFunction { private: diff --git a/src/Functions/runningAccumulate.cpp b/src/Functions/runningAccumulate.cpp index 436637fbe56..877ad877f56 100644 --- a/src/Functions/runningAccumulate.cpp +++ b/src/Functions/runningAccumulate.cpp @@ -27,7 +27,7 @@ namespace * Takes state of aggregate function (example runningAccumulate(uniqState(UserID))), * and for each row of columns, return result of aggregate function on merge of states of all previous rows and current row. * - * So, result of function depends on partition of data to columnss and on order of data in columns. + * So, result of function depends on partition of data to columns and on order of data in columns. */ class FunctionRunningAccumulate : public IFunction { diff --git a/src/Functions/runningDifference.h b/src/Functions/runningDifference.h index cf534b30c90..5e58d0d8aaf 100644 --- a/src/Functions/runningDifference.h +++ b/src/Functions/runningDifference.h @@ -38,13 +38,13 @@ struct FunctionRunningDifferenceName }; /** Calculate difference of consecutive values in columns. - * So, result of function depends on partition of data to columnss and on order of data in columns. + * So, result of function depends on partition of data to columns and on order of data in columns. */ template class FunctionRunningDifferenceImpl : public IFunction { private: - /// It is possible to track value from previous columns, to calculate continuously across all columnss. Not implemented. + /// It is possible to track value from previous columns, to calculate continuously across all columns. Not implemented. template static NO_SANITIZE_UNDEFINED void process(const PaddedPODArray & src, PaddedPODArray & dst, const NullMap * null_map) diff --git a/tests/queries/0_stateless/01459_manual_write_to_replicas_quorum_detach_attach.sh b/tests/queries/0_stateless/01459_manual_write_to_replicas_quorum_detach_attach.sh index b97fcece267..01c88336282 100755 --- a/tests/queries/0_stateless/01459_manual_write_to_replicas_quorum_detach_attach.sh +++ b/tests/queries/0_stateless/01459_manual_write_to_replicas_quorum_detach_attach.sh @@ -42,5 +42,10 @@ for i in $(seq 1 $NUM_REPLICAS); do done for i in $(seq 1 $NUM_REPLICAS); do - $CLICKHOUSE_CLIENT -q "DROP TABLE IF EXISTS r$i SYNC;" + # We filter out 'Removing temporary directory' on table DROP because in this test + # we constantly DETACH and ATTACH tables. So some replica can start fetching some part + # and other replica can be DETACHed during fetch. We will get unfinished tmp directory + # which should be removed in background, but it's async operation so the tmp directory can + # left on disk until table DROP. + $CLICKHOUSE_CLIENT -q "DROP TABLE IF EXISTS r$i SYNC;" 2>&1 | grep -v 'Removing temporary directory' ||: done