Added a test

This commit is contained in:
Alexey Milovidov 2020-04-12 01:14:55 +03:00
parent cf9f00644e
commit cf483b7ecc
2 changed files with 9 additions and 0 deletions

View 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;