I have a Google Cloud bucket with multiple folders, each containing CSVs.
I want to create eventually one BigQuery table, containing all the CSVs, but add a column stating the original folder. I thought to first create a BigQuery table for each such folder and then union them.
Is there a quick way to create multiple BigQuery tables, one for each subfolder under a Google Cloud bucket? Plus - if there's an easy way to automatically add the folder name as a new column - it could be great!