mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-20 15:30:50 +00:00
ce70e4f238
Allowing function result to be used on the right side of IN statement. All functions except aggregate ones, should work just Ok. Fixed printing AST of operator IN.
14 lines
281 B
Plaintext
14 lines
281 B
Plaintext
SELECT 1 IN (1)
|
|
SELECT 1 IN (1)
|
|
SELECT 1 IN (1, 2)
|
|
SELECT 1 IN f(1)
|
|
SELECT 1 IN f(1)
|
|
SELECT 1 IN (f(1), f(2))
|
|
SELECT 1 IN f(1, 2)
|
|
SELECT 1 IN (1 + 1)
|
|
SELECT 1 IN ('hello')
|
|
SELECT 1 IN f('hello')
|
|
SELECT 1 IN ('hello', 'world')
|
|
SELECT 1 IN f('hello', 'world')
|
|
SELECT 1 IN (SELECT 1)
|