Last active
September 11, 2020 21:27
-
-
Save chasers/5729dabcc10b0b0db2beb80aafd27d59 to your computer and use it in GitHub Desktop.
Query BigQuery Logflare managed ingest time partitioned table with Data Studio
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT * FROM `logflare-232118.[ID]_prod.[SOURCE_UUID_UNDERSCORE]` | |
WHERE DATE(_PARTITIONTIME) | |
BETWEEN PARSE_DATE('%Y%m%d', @DS_START_DATE) | |
AND PARSE_DATE('%Y%m%d', @DS_END_DATE) | |
OR _PARTITIONTIME IS null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment