Skip to main content
Version: Next

extract-schema

Synopsis​

starlake extract-schema [options]

Description​

Extract table schemas from a JDBC database and generate Starflow YAML configuration files. Use this to reverse-engineer existing database tables into domain definitions with optional snake_case naming. See Extract Tutorial.

Parameters​

ParameterCardinalityDescription
--allOptionalShould we extract all schemas and tables to external folder ?
--config <value>OptionalDatabase tables & connection info
--connectionRef <value>OptionalDatabase connection to use
--externalOptionalShould we output YML files in the external folder
--outputDir <value>OptionalWhere to output YML files
--parallelism <value>Optionalparallelism level of the extraction process. By default equals to the available cores
--reportFormat <value>OptionalReport format: console, json, html
--snakecaseOptionalApply snake case when name sanitization is done
--tables <value>OptionalDatabase tables info