mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Added a test
This commit is contained in:
parent
cf9f00644e
commit
cf483b7ecc
9
tests/queries/1_stateful/00093_prewhere_array_join.sql
Normal file
9
tests/queries/1_stateful/00093_prewhere_array_join.sql
Normal file
@ -0,0 +1,9 @@
|
||||
SELECT arrayJoin([SearchEngineID]) AS search_engine, URL FROM test.hits WHERE SearchEngineID != 0 AND search_engine != 0 FORMAT Null;
|
||||
|
||||
SELECT
|
||||
arrayJoin([0]) AS browser,
|
||||
arrayJoin([SearchEngineID]) AS search_engine,
|
||||
URL
|
||||
FROM test.hits
|
||||
WHERE 1 AND (SearchEngineID != 0) AND (browser != 0) AND (search_engine != 0)
|
||||
FORMAT Null;
|
Loading…
Reference in New Issue
Block a user