Partition with BigQuery Target #617
Closed
JavierElaniin
started this conversation in
General
Replies: 1 comment 2 replies
-
Can you try: streams:
my_schema.another_table:
object: my_dataset.{stream_table}
target_options:
table_keys:
partition: [ DATE_TRUNC(transaction_date, MONTH) ] or streams:
my_schema.another_table:
object: my_dataset.{stream_table}
target_options:
table_ddl: |
CREATE TABLE my_dataset.{stream_table} ({col_types})
PARTITION BY
DATE_TRUNC(transaction_date, MONTH)
OPTIONS (
partition_expiration_days = 3,
require_partition_filter = TRUE) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I checked the docs but I can't find an example to set up partitions in BigQuery, does anyone have implemented this?
Beta Was this translation helpful? Give feedback.
All reactions