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: 

DLT Pipeline issue

manjeetgahlawat
New Contributor
 
Hello Everyone,
 
I have setup a DLT pipeline and while running it first time, I am getting the below issue:
key not found: test_bronze_dlt
NoSuchElementException
key not found: test_bronze_dlt
 
test_bronze_dlt - this my DLT table name that is expected to be created in a bronze schema.
 
I have verified that volume path exists in landing layer. DLT pipeline is able to create schema, but no progress after that.
 
There is no other details except this message in the logs.
1 REPLY 1

K_Anudeep
Databricks Employee
Databricks Employee

Hello @manjeetgahlawat ,

NoSuchElementException: key not found: test_bronze_dlt occurs when the table/view in the pipeline references a LIVE dataset named test_bronze_dlt, but DLT cannot find a dataset with that exact name in the pipeline graph. (So it never even gets to “reading files from the landing volume”.)

You might have defined it as a qualified name like bronze.test_bronze_dlt (or catalog.bronze.test_bronze_dlt) but downstream code uses dlt.read_stream("test_bronze_dlt") or FROM LIVE.test_bronze_dlt.

If you could provide  (a) the snippet that defines test_bronze_dlt and (b) the first downstream table that reads it we can identify the cause . This is ideally a table definition issue.

 

Anudeep

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now