-
First off, this looks amazing. Great work. When doing BigQuery, is it possible, per task, to set configuration such as |
Beta Was this translation helpful? Give feedback.
Answered by
kaxil
Oct 20, 2022
Replies: 1 comment 2 replies
-
Hey @judoole , For loading file from a source to Bigquery, you can pass the configs that are available at https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#JobConfigurationLoad For example: aql.load_file(
input_file=File("gs://astro-sdk/workspace/sample_pattern", conn_id="bigquery", filetype=FileType.CSV),
output_table=Table(conn_id="bigquery", metadata=Metadata(schema="astro")),
native_support_kwargs={
"ignore_unknown_values": True,
"allow_jagged_rows": True,
"skip_leading_rows": "1",
},
use_native_support=True,
enable_native_fallback=False,
) But I don't think we currently support adding configs on running a query. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
judoole
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @judoole ,
For loading file from a source to Bigquery, you can pass the configs that are available at https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#JobConfigurationLoad
For example:
But I don't think we currently support addi…