Skip to content

Instantly share code, notes, and snippets.

@qi-qi
Created April 9, 2019 11:01
Show Gist options
  • Save qi-qi/7e23b3080bf525da3ca19adb3d67547b to your computer and use it in GitHub Desktop.
Save qi-qi/7e23b3080bf525da3ca19adb3d67547b to your computer and use it in GitHub Desktop.
SELECT *
FROM "data_transform"."session_parquet" t1
JOIN "data_transform"."index_iab_parquet" t2
ON t1.session_id=t2.session_id
AND t1.dt=t2.dt
AND t1.h = t2.h
WHERE t1.dt='2019-02-02'
AND t2.h=0
limit 100;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment