Configuration & defaults¶
fabric-dw can store a default workspace and/or warehouse so you do not have to repeat them on every invocation.
Once set, the stored workspace is used whenever -w / --workspace is not passed and FABRIC_DW_DEFAULT_WORKSPACE is not set. The stored warehouse value fills in optional [WAREHOUSE] / [ITEM] positionals shown in [brackets] in the synopsis below. All stored values are resolved in the same way as explicit arguments (name or GUID).
Resolution order for the workspace (see also Selecting a workspace):
-w/--workspaceflag on the root command.FABRIC_DW_DEFAULT_WORKSPACEenvironment variable.- Value stored by
fdw config set workspace.
The warehouse follows the same order using the optional [WAREHOUSE] / [ITEM] positional or FABRIC_DW_DEFAULT_WAREHOUSE.
For authentication configuration, see Authentication.
CLI¶
config clear¶
Wipe all configuration defaults.
Synopsis
config set¶
Set a default value. Accepts workspace or warehouse as the key.
Synopsis
Example
config show¶
Print the current defaults.
Synopsis
Example
config unset¶
Clear a single default value. Accepts workspace or warehouse as the key.
Synopsis