Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Request for new functionality
View staffing
Description
What you would like to accomplish: import the data from a compressed GZIP file
How this might work:
When importing data to a dataset in AutoML Table, you can use a compressed GZIP file (containing a CSV format file).
[Optional]
From the Cloud Console:
Export bigquery-public-data.noaa_lightning.lightning_2019 to GCS as lightning_2019.gz (Format: CSV) (Compression: GZIP)
[Required]
Upload to a GCS bucket a table in CSV format with GZIP compression.
For demonstration I'll use the sample project [1], and the sample Import_dataset [2].
After the initial setup to start using the service [3], create a dataset, you use the sample [4] to create the dataset:
node samples/tables/create-dataset.v1beta1 projectId computeRegion datasetName
Now import the data to the dataset:
node samples/tables/import-data.v1beta1 projectId location datasetId path
This should be successful, instead of giving error.
[1]
[2]
[3]
[4]
If applicable, reasons why alternative solutions are not sufficient: NA
Other information (workarounds you have tried, documentation consulted, etc): NA