mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 19:45:11 +00:00
fix style
This commit is contained in:
parent
59fbd21024
commit
f0f19874da
@ -286,7 +286,7 @@ ColumnPtr IExecutableFunction::executeWithoutSparseColumns(const ColumnsWithType
|
||||
: res;
|
||||
|
||||
keys = keys->convertToFullColumnIfLowCardinality();
|
||||
|
||||
|
||||
auto res_mut_dictionary = DataTypeLowCardinality::createColumnUnique(*res_low_cardinality_type->getDictionaryType());
|
||||
ColumnPtr res_indexes = res_mut_dictionary->uniqueInsertRangeFrom(*keys, 0, keys->size());
|
||||
ColumnUniquePtr res_dictionary = std::move(res_mut_dictionary);
|
||||
|
@ -17,10 +17,10 @@ def start_cluster():
|
||||
def test_lc_of_string(start_cluster):
|
||||
result = node.query("WITH ( SELECT toLowCardinality('a') ) AS bar SELECT bar")
|
||||
|
||||
assert result == 'a\n'
|
||||
assert result == "a\n""
|
||||
|
||||
|
||||
def test_lc_of_int(start_cluster):
|
||||
result = node.query("WITH ( SELECT toLowCardinality(1) ) AS bar SELECT bar")
|
||||
|
||||
assert result == '1\n'
|
||||
assert result == "1\n"
|
||||
|
Loading…
Reference in New Issue
Block a user