Skip to main content

Removed behavior flags

When dbt Core v2 removes a behavior flag, you can no longer configure the flag. The new behavior is always enabled and the old behavior is not supported. Any flag still set in dbt_project.yml will be ignored.

If you're upgrading to dbt Core v2, remove these flags from your dbt_project.yml.

Flags removed in dbt Core v2

The following dbt Core v2 behavior flags are removed in dbt Core v2. For intro and maturity dates, refer to the dbt Core behavior changes table.

FlagNew behavior (always enabled)
require_explicit_package_overrides_for_builtin_materializationsPackages cannot override built-in materializations without explicit opt-in.
require_resource_names_without_spacesSpaces in resource names raise an error.
source_freshness_run_project_hooksProject hooks run during dbt source freshness.
skip_nodes_if_on_run_start_failsAll selected nodes are skipped if an on-run-start hook fails.
state_modified_compare_more_unrendered_valuesstate:modified comparisons use unrendered Jinja values.
require_yaml_configuration_for_mf_time_spinesMetricFlow time spine deprecation warning is suppressed.
require_batched_execution_for_custom_microbatch_strategyCustom microbatch macros are called once per batch window.
Loading table...

dbt adapter flags removed in v2.0.0

The following adapter behavior flags are also removed in dbt Core v2:

FlagAdapterNew behavior (always enabled)
use_info_schema_for_columnsDatabricksUses information schema for column metadata.
use_user_folder_for_pythonDatabricksUses user folder for Python model notebooks.
Loading table...

Was this page helpful?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

0
Loading