M
01/10/2024, 11:43 PMgcs_stage
method using target-bigquery
(@alexander_butler variant), it only works if the bucket is a parent directory. i.e bucket: top_level_folder
. I receive a loader error when trying to specify a sub-directory like bucket: top_level_folder/sub_folder
I would like to place the staging contents in a particular location and this doesn't seem possible?
Looking at the code in constants.py
line 70, I wonder why this is?
DEFAULT_BUCKET_PATH = (
"gs://{bucket}/target_bigquery/{dataset}/{table}/extracted_date={date}/{batch_id}.jsonl.gz"
)
I guess this has something to do with the notion of buckets and objects in GCS?Edgar RamĂrez (Arch.dev)
01/11/2024, 12:48 AMM
01/12/2024, 5:44 PM