Workspace edition 1.2 brings new features, improvements to the SDF CLI, and a major cleanup of the workspace configuration file. This guide will help you migrate your workspace from edition 1.1 to 1.2.
defaults block. The above configuration would now look like this:
dialect and preprocessor properties, which were previously set at the workspace level, should now be set under defaults as well.sdf auth login <provider> command, however now a credential SDF YML block will be created upon successful login. This will
store the credentials in ~/.sdf/credentials/. By default, they will be stored in a file named <provider>-default.sdf.yml. However, sdf auth login <provider> now support a name parameter which will allow you to name the credential file. This
will become important for referencing the credential from provider blocks (see below).
Due to this update, you will need to re-authenticate to your compute provider after upgrading to 1.2.
credential field which allows you to specify which credential to use for a given provider. After logging in with the command above, you can reference the credential by name in the provider block. If you logged in above and did not pass a name,
the credential will be named <provider>-default and it will be used by default in the provider block if the provider’s type (i.e. snowflake, redshift, etc.) matches the credential’s type.
In terms of breaking changes, the provider configuration is now a sub property of the workspace block. Previously, it was a top level property.
If you have a provider block like this:
snowflake-creds, it should look like this:
<database-name>.*.*.Code Contracts to Checks and Code Reports to Reports. In terms of breaking changes, the code-contracts and code-reports include types have now been replaced with checks and reports respectively.
If you currently have a workspace with includes paths like so:
sdf seed is coming soon which will enable you to materialize data locally as a seed in your remote compute provider.