Skip to main content
Version: Next

extract-bq-schema

Synopsis​

starlake extract-bq-schema [options]

Description​

Parameters​

ParameterCardinalityDescription
--accessToken <value>OptionalAccess token to use for authentication
--connection <value>OptionalConnection to use
--database <value>Optionaldatabase / project id
--externalOptionalInclude external datasets defined in _config.sl.yml instead of using other parameters of this command ? Defaults to false
--persist <value>OptionalPersist results ?
--reportFormat <value>OptionalReport format: console, json, html
--table-types <value>OptionalTypes of the objects to extract, among EXTERNAL, MATERIALIZED_VIEW, SNAPSHOT, TABLE, VIEW. Defaults to TABLE. The types of a standard SQL VIEW are read with a dry run query, which needs bigquery.jobs.create, or from its stored schema, which may be stale
--tables <value>OptionalList of datasetName.tableName1,datasetName.tableName2 ...
--write <value>OptionalOne of Set(OVERWRITE, APPEND)