Minor fixups

This commit is contained in:
Robert Schulze 2024-08-08 12:06:32 +00:00
parent 6e3764918f
commit 4b2234f87d
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A

View File

@ -375,13 +375,9 @@ SELECT id, ary[indexOf(ary, 'value3')] FROM test_bf_indexOf WHERE ary[indexOf(ar
DROP TABLE IF EXISTS test_bf_indexOf; DROP TABLE IF EXISTS test_bf_indexOf;
-- expecting cast function to be unknown -- Test for bug #65597
DROP TABLE IF EXISTS test_bf_cast; DROP TABLE IF EXISTS test_bf_cast;
CREATE TABLE test_bf_cast (c Int32, INDEX x1 (c) type bloom_filter) ENGINE = MergeTree ORDER BY c AS SELECT 1;
CREATE TABLE test_bf_cast (c Int32, INDEX x1 (c) type bloom_filter) ENGINE = MergeTree ORDER BY c as select 1; SELECT count() FROM test_bf_cast WHERE cast(c = 1 OR c = 9999 AS Bool) SETTINGS use_skip_indexes=0;
SELECT count() FROM test_bf_cast WHERE cast(c = 1 OR c = 9999 AS Bool) SETTINGS use_skip_indexes=1;
SELECT count() FROM test_bf_cast WHERE cast(c=1 or c=9999 as Bool) settings use_skip_indexes=0; DROP TABLE test_bf_cast;
SELECT count() FROM test_bf_cast WHERE cast(c=1 or c=9999 as Bool) settings use_skip_indexes=1;
DROP TABLE test_bf_cast;