USER_INIT_ENVIRONMENT_VERSION_ENABLEMENT_BLOCKED error condition
Environment version was not enabled because Spark Declarative Pipelines on Lakeflow could not verify that the pipeline's behavior would remain unchanged. No data was written. Complete the steps below to enable environment version. Cause:
FINGERPRINT_MISMATCH
The pipeline's query plans differ from the baseline recorded by its last run without environment version. The query plan changed for <changedFlowCount> of <comparedFlowCount> flows: <changedFlows>. This usually means the pipeline changed since that run, or that its code behaves differently with environment version.
To resolve:
-
Remove environment version from the pipeline settings and set 'pipelines.environmentVersion.enableCompatibilityScan' = 'true' in the pipeline configuration.
-
Run the pipeline (not a dry run). Code that may behave differently with environment version is reported in the pipeline event log as 'behavior_change_in_spark_connect' warnings, each with a suggested fix. Apply the fixes and repeat this step until a successful update reports no warnings. That update records a new baseline.
-
Set environment version again and run the pipeline. If the update is still blocked, contact Databricks support.
See Compatibility scan.
NO_PREVIOUS_FINGERPRINT
No sufficient baseline data was found to validate that this enablement is safe. This can occur when no recent pipeline run is available. Trigger a pipeline run without environment version to generate the baseline data. If the issue persists, the pipeline may not have the latest infrastructure to reliably detect behavior changes for environment version enablement. Please contact Databricks support.
REQUIRES_REFRESH_ALL
This update does not refresh all tables and is therefore not eligible for environment version enablement. Trigger a pipeline run with 'Refresh all' to enable the environment version on this pipeline.