Reputation: 23
I have 5 CSVs in a google drive folder. I have been able to upload a single csv to create a table, but I would like to upload all 5 files to create a single table.
Is this possible, and if so how would one go about it?
Upvotes: 0
Views: 277
Reputation: 1132
You can use asterisc "*" to upload multiple files into one table.
Or you can use this bq command:
bq load --source_format=CSV --autodetect YOUR_DATASET_NAME.YOUR_DESTINATION_TABLE_NAME gs://YOUR_BUCKET_NAME/YOUR-FILES-PREFIX-*.csv
Upvotes: 1