diff --git a/dbms/src/Columns/ColumnAggregateFunction.cpp b/dbms/src/Columns/ColumnAggregateFunction.cpp index f5334441ef345b657422a7aeca2d29e5d73cd88f..de992958ddc3834569339a60edda37d73251b40c 100644 --- a/dbms/src/Columns/ColumnAggregateFunction.cpp +++ b/dbms/src/Columns/ColumnAggregateFunction.cpp @@ -46,14 +46,14 @@ ColumnPtr ColumnAggregateFunction::convertToValues() const * Due to the presence of WITH TOTALS, during aggregation the states of this aggregate function will be stored * in the ColumnAggregateFunction column of type * AggregateFunction(quantileTimingState(0.5), UInt64). - * Then, in `TotalsHavingBlockInputStream`, it will be called `convertToValues` ​​method, + * Then, in `TotalsHavingBlockInputStream`, it will be called `convertToValues` method, * to get the "ready" values. * But it just converts a column of type * `AggregateFunction(quantileTimingState(0.5), UInt64)` * into `AggregateFunction(quantileTiming(0.5), UInt64)` * - in the same states. * - * Then `finalizeAggregation` function will be calculated, which will call `convertToValues` ​​already on the result. + * Then `finalizeAggregation` function will be calculated, which will call `convertToValues` already on the result. * And this converts a column of type * AggregateFunction(quantileTiming(0.5), UInt64) * into UInt16 - already finished result of `quantileTiming`. diff --git a/dbms/src/Common/tests/int_hashes_perf.cpp b/dbms/src/Common/tests/int_hashes_perf.cpp index 3f7f8d6f258c06856d31e98a4890f29dbeda85b0..2765b95d289e0f5a50711668e1d4c950874b874f 100644 --- a/dbms/src/Common/tests/int_hashes_perf.cpp +++ b/dbms/src/Common/tests/int_hashes_perf.cpp @@ -214,7 +214,7 @@ void report(const char * name, size_t n, double elapsed, UInt64 tsc_diff, size_t template static inline void test(size_t n, const UInt64 * data, const char * name) { - /// throughput. Calculations of hash functions from different values ​​may overlap. + /// throughput. Calculations of hash functions from different values may overlap. { Stopwatch watch; diff --git a/dbms/src/Core/BlockInfo.cpp b/dbms/src/Core/BlockInfo.cpp index 885de8d7cd63c6d141ec0bdea8c9eeddcaae96dc..d79b5aeef2a5ee9f682af7a8eeb0ea0a8525096f 100644 --- a/dbms/src/Core/BlockInfo.cpp +++ b/dbms/src/Core/BlockInfo.cpp @@ -17,7 +17,7 @@ namespace ErrorCodes } -/// Write values ​​in binary form. NOTE: You could use protobuf, but it would be overkill for this case. +/// Write values in binary form. NOTE: You could use protobuf, but it would be overkill for this case. void BlockInfo::write(WriteBuffer & out) const { /// Set of pairs `FIELD_NUM`, value in binary form. Then 0. @@ -31,7 +31,7 @@ void BlockInfo::write(WriteBuffer & out) const writeVarUInt(0, out); } -/// Read values ​​in binary form. +/// Read values in binary form. void BlockInfo::read(ReadBuffer & in) { UInt64 field_num = 0; diff --git a/dbms/src/DataStreams/AddingDefaultBlockOutputStream.cpp b/dbms/src/DataStreams/AddingDefaultBlockOutputStream.cpp index fe6a5983542f651cb479933e7b6a2fff5ef9d513..e8192972da84b5af5bc3f3d3716586547ceccd8a 100644 --- a/dbms/src/DataStreams/AddingDefaultBlockOutputStream.cpp +++ b/dbms/src/DataStreams/AddingDefaultBlockOutputStream.cpp @@ -8,7 +8,7 @@ void AddingDefaultBlockOutputStream::write(const DB::Block & block) { Block res = block; - /// Computes explicitly specified values ​​(in column_defaults) by default. + /// Computes explicitly specified values (in column_defaults) by default. /** @todo if somehow block does not contain values for implicitly-defaulted columns that are prerequisites * for explicitly-defaulted ones, exception will be thrown during evaluating such columns * (implicitly-defaulted columns are evaluated on the line after following one. */ diff --git a/dbms/src/DataStreams/AggregatingSortedBlockInputStream.cpp b/dbms/src/DataStreams/AggregatingSortedBlockInputStream.cpp index 34dc8735c2ecd0de56781991d43e77c96e9cd954..a2c6087ed3171438fcbcd655f97984b53b0f97c2 100644 --- a/dbms/src/DataStreams/AggregatingSortedBlockInputStream.cpp +++ b/dbms/src/DataStreams/AggregatingSortedBlockInputStream.cpp @@ -100,7 +100,7 @@ void AggregatingSortedBlockInputStream::merge(ColumnPlainPtrs & merged_columns, { current_key.swap(next_key); - /// We will write the data for the group. We copy the values ​​of ordinary columns. + /// We will write the data for the group. We copy the values of ordinary columns. for (size_t i = 0, size = column_numbers_not_to_aggregate.size(); i < size; ++i) { size_t j = column_numbers_not_to_aggregate[i]; diff --git a/dbms/src/DataStreams/GraphiteRollupSortedBlockInputStream.cpp b/dbms/src/DataStreams/GraphiteRollupSortedBlockInputStream.cpp index 1dc9cc1fe6dfca030e2abe93cf477b68cd6354eb..fef23628e5fdc5a4c0ea6e428d41c8ee3f31ef9e 100644 --- a/dbms/src/DataStreams/GraphiteRollupSortedBlockInputStream.cpp +++ b/dbms/src/DataStreams/GraphiteRollupSortedBlockInputStream.cpp @@ -232,7 +232,7 @@ void GraphiteRollupSortedBlockInputStream::startNextRow(ColumnPlainPtrs & merged void GraphiteRollupSortedBlockInputStream::finishCurrentRow(ColumnPlainPtrs & merged_columns) { - /// Insert calculated values ​​of the columns `time`, `value`, `version`. + /// Insert calculated values of the columns `time`, `value`, `version`. merged_columns[time_column_num]->insert(UInt64(current_time_rounded)); merged_columns[version_column_num]->insert(current_max_version); diff --git a/dbms/src/DataStreams/JSONEachRowRowInputStream.cpp b/dbms/src/DataStreams/JSONEachRowRowInputStream.cpp index f2839ab6154e2f5881b8a2306eec72c1f69c3d24..6f6e2d11d90323815e5e794b009e713e67763c69 100644 --- a/dbms/src/DataStreams/JSONEachRowRowInputStream.cpp +++ b/dbms/src/DataStreams/JSONEachRowRowInputStream.cpp @@ -68,7 +68,7 @@ bool JSONEachRowRowInputStream::read(Block & block) size_t columns = block.columns(); - /// Set of columns for which the values ​​were read. The rest will be filled with default values. + /// Set of columns for which the values were read. The rest will be filled with default values. /// TODO Ability to provide your DEFAULTs. bool read_columns[columns]; memset(read_columns, 0, columns); diff --git a/dbms/src/DataStreams/PrettyBlockOutputStream.cpp b/dbms/src/DataStreams/PrettyBlockOutputStream.cpp index d3baad831993b8cb3eb7a9bbc4777d106d8d3d04..f0cc1ac922e27c6b0e1ef1d3dd9352156b5473e1 100644 --- a/dbms/src/DataStreams/PrettyBlockOutputStream.cpp +++ b/dbms/src/DataStreams/PrettyBlockOutputStream.cpp @@ -101,7 +101,7 @@ void PrettyBlockOutputStream::write(const Block & block_) return; } - /// We will insert here columns with the calculated values ​​of visible lengths. + /// We will insert here columns with the calculated values of visible lengths. Block block = block_; size_t rows = block.rows(); diff --git a/dbms/src/DataStreams/PrettyCompactBlockOutputStream.cpp b/dbms/src/DataStreams/PrettyCompactBlockOutputStream.cpp index 009f8dab16a4f1ee8d01de3f0aaa8f8a9e86762e..7eec893201ede6c10efdb70ef2235ad25af015ba 100644 --- a/dbms/src/DataStreams/PrettyCompactBlockOutputStream.cpp +++ b/dbms/src/DataStreams/PrettyCompactBlockOutputStream.cpp @@ -118,7 +118,7 @@ void PrettyCompactBlockOutputStream::write(const Block & block_) return; } - /// We will insert columns here with the calculated values ​​of visible lengths. + /// We will insert columns here with the calculated values of visible lengths. Block block = block_; size_t rows = block.rows(); diff --git a/dbms/src/DataStreams/PrettySpaceBlockOutputStream.cpp b/dbms/src/DataStreams/PrettySpaceBlockOutputStream.cpp index 0e61c9a87a53eb29aee9605eaa19551e253bd568..02c9b91ad38f5a6b27d53e7443e7732c4f37ca0a 100644 --- a/dbms/src/DataStreams/PrettySpaceBlockOutputStream.cpp +++ b/dbms/src/DataStreams/PrettySpaceBlockOutputStream.cpp @@ -15,7 +15,7 @@ void PrettySpaceBlockOutputStream::write(const Block & block_) return; } - /// We will insert here columns with the calculated values ​​of visible lengths. + /// We will insert here columns with the calculated values of visible lengths. Block block = block_; size_t rows = block.rows(); diff --git a/dbms/src/DataStreams/TSKVRowInputStream.cpp b/dbms/src/DataStreams/TSKVRowInputStream.cpp index 26a1375ff53f02f6597bbd91884161e602e4437a..7821a51daa92b2234153a6cee5bb1f28863004cf 100644 --- a/dbms/src/DataStreams/TSKVRowInputStream.cpp +++ b/dbms/src/DataStreams/TSKVRowInputStream.cpp @@ -92,7 +92,7 @@ bool TSKVRowInputStream::read(Block & block) size_t columns = block.columns(); - /// Set of columns for which the values ​​were read. The rest will be filled with default values. + /// Set of columns for which the values were read. The rest will be filled with default values. /// TODO Ability to provide your DEFAULTs. bool read_columns[columns]; memset(read_columns, 0, columns); diff --git a/dbms/src/DataStreams/TotalsHavingBlockInputStream.cpp b/dbms/src/DataStreams/TotalsHavingBlockInputStream.cpp index 6efcdff51d331b4b184e48c64285a9ca8002f109..a271b27933d33c43df00944308cfcf56785b2029 100644 --- a/dbms/src/DataStreams/TotalsHavingBlockInputStream.cpp +++ b/dbms/src/DataStreams/TotalsHavingBlockInputStream.cpp @@ -86,7 +86,7 @@ Block TotalsHavingBlockInputStream::readImpl() { block = children[0]->read(); - /// Block with values ​​not included in `max_rows_to_group_by`. We'll postpone it. + /// Block with values not included in `max_rows_to_group_by`. We'll postpone it. if (overflow_row && block && block.info.is_overflows) { overflow_aggregates = block; @@ -125,7 +125,7 @@ Block TotalsHavingBlockInputStream::readImpl() IColumn::Filter & filter = filter_column->getData(); - /// Add values ​​to `totals` (if it was not already done). + /// Add values to `totals` (if it was not already done). if (totals_mode == TotalsMode::BEFORE_HAVING) addToTotals(current_totals, block, nullptr); else diff --git a/dbms/src/Functions/tests/logical_functions_performance.cpp b/dbms/src/Functions/tests/logical_functions_performance.cpp index 3cecf79c38ab02d8882c19475c4e1a47a4e9a8d7..d30d25798c91933512de367ac7b468f464fa778d 100644 --- a/dbms/src/Functions/tests/logical_functions_performance.cpp +++ b/dbms/src/Functions/tests/logical_functions_performance.cpp @@ -69,7 +69,7 @@ struct AssociativeOperationImpl AssociativeOperationImpl(UInt8ColumnPtrs & in) : vec(in[in.size() - N]->getData()), continuation(in) {} - /// Returns a combination of values ​​in the i-th row of all columns stored in the constructor. + /// Returns a combination of values in the i-th row of all columns stored in the constructor. inline UInt8 apply(size_t i) const { //return vec[i] ? continuation.apply(i) : 0;