mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 22:12:21 +00:00
16 lines
367 B
Plaintext
16 lines
367 B
Plaintext
SELECT i AS i
|
|
FROM index_append_test_test
|
|
PREWHERE a = 0
|
|
WHERE (a = 0) AND indexHint((i + 40) > 0)
|
|
SELECT i AS i
|
|
FROM index_append_test_test
|
|
PREWHERE a < 0
|
|
SELECT i AS i
|
|
FROM index_append_test_test
|
|
PREWHERE a >= 0
|
|
WHERE (a >= 0) AND indexHint((i + 40) > 0)
|
|
SELECT i AS i
|
|
FROM index_append_test_test
|
|
PREWHERE (2 * b) < 100
|
|
WHERE ((2 * b) < 100) AND indexHint(i < 100)
|