mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Fixed error with FixedString filtering [#CLICKHOUSE-2898].
This commit is contained in:
parent
349c96ec8f
commit
9d5ea2163c
@ -185,6 +185,7 @@ ColumnPtr ColumnFixedString::filter(const IColumn::Filter & filt, ssize_t result
|
||||
if (0 == mask)
|
||||
{
|
||||
/// Nothing is inserted.
|
||||
data_pos += chars_per_simd_elements;
|
||||
}
|
||||
else if (0xFFFF == mask)
|
||||
{
|
||||
|
@ -0,0 +1 @@
|
||||
Hello
|
@ -0,0 +1 @@
|
||||
SELECT DISTINCT x FROM (SELECT toFixedString(number < 20 ? '' : 'Hello', 5) AS x FROM system.numbers LIMIT 50) WHERE x != '\0\0\0\0\0';
|
Loading…
Reference in New Issue
Block a user