cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Declarative Pipeline error: Name 'kdf' is not defined. Did you mean: 'sdf'

liquibricks
Contributor

We have a Lakeflow Spark Declarative Pipeline using the new PySpark Pipelines API. This was working fine until about 7am (Central European) this morning when the pipeline started failing with a PYTHON.NAME_ERROR: name 'kdf' is not defined. Did you mean: 'sdf'?

The code has not changed and nothing in our infrastructure has changed, so i'm not sure why this has suddenly started happening. I've raised an error with Azure (we're on Azure Databricks), but they are slow so i'm shouting into the void here. Any suggestions?  😅

 
Usage:
 
      from pyspark import pipelines as dp
...
      @dp.table(name=f"{mycatalog}.{myschema}.{mytable}")
      def create_streaming_table(😞
         return (
           ....
         )
4 REPLIES 4

liquibricks
Contributor

The Azure region (Norway East) might have something to do with it. An example pipeline works fine in Sweden Central.

liquibricks
Contributor

Another clue: the SQL API seems to work, while a Python-based pipeline still fails with this eror.

zkaliszamisza
Visitor

Hi, we have the same issue - could you share the json with detailed error?
Does it by any chance mention error in line 79?

zkaliszamisza
Visitor

For us it happened in westeurope around the same time