Can I load every item in a Google Cloud Storage bucket into a BigQuery Table without listing every filename? -
i write new log files google cloud storage bucket every 2-3 minutes data webserver (pipe-separated-values). have thousands of ~1mb files in single google cloud storage bucket, , want load files bigquery table.
the "bq load" command seems require individual files, , can't take entire bucket, or bucket prefix.
what's best way load thousands of files in gs bucket? have uri of every single file, opposed specifying bucket name or bucket , prefix bigquery?
you can use glob-style wildcards. e.g. gs://bucket/prefix*.txt.
Comments
Post a Comment