bigquery-migration-metadata-extractor
Installation
SKILL.md
BigQuery Migration Metadata Extraction
Extraction runs the DWH migration extractor (dwh-migration-dumper) through two
gcloud commands to collect catalog DDL and query history—not table row data. If
the user wants to migrate table rows (such as Snowflake COPY INTO unloads),
ask whether they prefer the [BigQuery Data Transfer Service][bq_dts] (including
the [Snowflake connector][snowflake_dts]) or exporting to Cloud Storage and
loading with bq load. Both extract commands are in the alpha release
track:
| Command | Use for |
|---|---|
gcloud alpha bq migration metadata extract |
Catalog metadata (metadata connectors) |
gcloud alpha bq migration query-logs extract |
Query history (*-logs connectors) |
Both take the same arguments. gcloud flags come first; the extractor's own flags
come after -- and are passed to the extractor unchanged: