<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: DLT Pipeline Stopped working in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/dlt-pipeline-stopped-working/m-p/135285#M50321</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May be there is internally some updates from databricks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can Check and Switch Your Pipeline Channel, In the DLT pipeline settings (under Advanced &amp;gt; Channel), confirm if it's set to "Preview". Switch to "Current" for a more stable engine version, then trigger a full refresh. This often resolves issues from preview builds.&lt;/P&gt;&lt;P&gt;If it's already done then someone from databricks can answer&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Oct 2025 21:08:54 GMT</pubDate>
    <dc:creator>Khaja_Zaffer</dc:creator>
    <dc:date>2025-10-17T21:08:54Z</dc:date>
    <item>
      <title>DLT Pipeline Stopped working</title>
      <link>https://community.databricks.com/t5/data-engineering/dlt-pipeline-stopped-working/m-p/135280#M50320</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Suddenly our DLT pipelines we're getting failures saying that&lt;/P&gt;&lt;LI-CODE lang="python"&gt;LookupError: Traceback (most recent call last):

    result_df = result_df.withColumn("input_file_path", col("_metadata.file_path")).withColumn(
                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^

LookupError: &amp;lt;ContextVar name='parent_header'&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;For the failing pipelines, when looking at the Update Details - &amp;gt; Logs -&amp;gt; Configuration tab, that the failed pipelines take runtime "dlt:16.4.10-delta-pipelines-dlt-release-dp-20251009-rc0-commit-8c6b818-image-4a72116".&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Did something change on the Databricks end? For us nothing changed in the settings and seems like a sudden disruption of DLT pipelines that were previously just running successfully.&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 19:04:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/dlt-pipeline-stopped-working/m-p/135280#M50320</guid>
      <dc:creator>maninegi05</dc:creator>
      <dc:date>2025-10-17T19:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: DLT Pipeline Stopped working</title>
      <link>https://community.databricks.com/t5/data-engineering/dlt-pipeline-stopped-working/m-p/135285#M50321</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May be there is internally some updates from databricks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can Check and Switch Your Pipeline Channel, In the DLT pipeline settings (under Advanced &amp;gt; Channel), confirm if it's set to "Preview". Switch to "Current" for a more stable engine version, then trigger a full refresh. This often resolves issues from preview builds.&lt;/P&gt;&lt;P&gt;If it's already done then someone from databricks can answer&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 21:08:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/dlt-pipeline-stopped-working/m-p/135285#M50321</guid>
      <dc:creator>Khaja_Zaffer</dc:creator>
      <dc:date>2025-10-17T21:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: DLT Pipeline Stopped working</title>
      <link>https://community.databricks.com/t5/data-engineering/dlt-pipeline-stopped-working/m-p/135296#M50323</link>
      <description>&lt;P&gt;Thanks for the reply, but its already set to current.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Oct 2025 00:46:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/dlt-pipeline-stopped-working/m-p/135296#M50323</guid>
      <dc:creator>maninegi05</dc:creator>
      <dc:date>2025-10-18T00:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: DLT Pipeline Stopped working</title>
      <link>https://community.databricks.com/t5/data-engineering/dlt-pipeline-stopped-working/m-p/135715#M50413</link>
      <description>&lt;P&gt;Greetings&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/192656"&gt;@maninegi05&lt;/a&gt;&amp;nbsp;, I did some digging internally and I believe some recent changes to the DLT image may be to blame. We are aware of regression issue and are actively working to address them.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;TL/DR&lt;/STRONG&gt;&lt;/P&gt;
&lt;H3 class="_7uu25p0 qt3gz9c _7pq7t612 heading3 _7uu25p1"&gt;Why you might see “LookupError: ContextVar 'parent_header'” at that line&lt;/H3&gt;
&lt;P class="qt3gz91 paragraph"&gt;This specific error originates from Python’s contextvars usage in IPython/Jupyter kernels. In notebook-driven pipelines, certain libraries (logging, display hooks, pretty printers, or transitive dependencies) can attempt to access a Jupyter context that isn’t present in the DLT execution environment, and a change in the 16.4.10 image appears to have made this interaction more brittle. The symptom can show up at innocuous lines (like &lt;CODE class="qt3gz9f"&gt;withColumn(col("_metadata.file_path"))&lt;/CODE&gt;) because the failure is triggered when the runtime tries to format or log dataframe expression objects, not necessarily by the Spark API itself. The above runtime-level changes and regressions match the timeframe of your disruption.&lt;/P&gt;
&lt;P class="qt3gz91 paragraph"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Mitigations to help unblock you&lt;/H2&gt;
&lt;P class="qt3gz91 paragraph"&gt;Try the following low-risk steps while the hotfix completes across regions:&lt;/P&gt;
&lt;UL class="qt3gz97 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;If you’re on the &lt;STRONG&gt;Preview&lt;/STRONG&gt; channel, switch the pipeline to the &lt;STRONG&gt;Current&lt;/STRONG&gt; channel for production workloads. DLT does not let you pick an exact DBR; channel selection is the supported control surface.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;Replace &lt;CODE class="qt3gz9f"&gt;_metadata.file_path&lt;/CODE&gt; with the built-in &lt;STRONG&gt;input_file_name()&lt;/STRONG&gt; for now:&lt;/P&gt;
&lt;DIV class="go8b9g1 _7pq7t6cd" data-ui-element="code-block-container"&gt;
&lt;PRE&gt;&lt;CODE class="markdown-code-python qt3gz9e hljs language-python _1ymogdh2"&gt;&lt;SPAN class="hljs-keyword"&gt;from&lt;/SPAN&gt; pyspark.sql &lt;SPAN class="hljs-keyword"&gt;import&lt;/SPAN&gt; functions &lt;SPAN class="hljs-keyword"&gt;as&lt;/SPAN&gt; F

result_df = result_df.withColumn(&lt;SPAN class="hljs-string"&gt;"input_file_path"&lt;/SPAN&gt;, F.input_file_name())&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;P class="qt3gz91 paragraph"&gt;This often sidesteps the Jupyter contextvar involvement and is compatible with Auto Loader/file-based sources, even if it’s not identical to &lt;CODE class="qt3gz9f"&gt;_metadata.file_path&lt;/CODE&gt; in all edge cases.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;Scan for implicit &lt;STRONG&gt;IPython/Jupyter hooks&lt;/STRONG&gt; in your pipeline notebooks or shared utils:&lt;/P&gt;
&lt;UL class="qt3gz98 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;Avoid importing IPython, using display hooks, or pretty-printing dataframe plans/columns during pipeline initialization.&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;Check logging formatters or decorators that might pull in IPython pretty printers.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;If the failures persist, collect and share these details to expedite an engineering review:&lt;/P&gt;
&lt;UL class="qt3gz98 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;Pipeline ID(s), workspace and region, the exact image key you cited, and the full stack trace from Update Details → Logs.&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;Whether code paths pass non-boolean values (like &lt;CODE class="qt3gz9f"&gt;None&lt;/CODE&gt;) to &lt;CODE class="qt3gz9f"&gt;@dlt.table(... temporary=...)&lt;/CODE&gt; or &lt;CODE class="qt3gz9f"&gt;private=...&lt;/CODE&gt; — one 16.4.10 regression specifically affected Python typing in those decorators and was hotfixed.&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;Whether any schema inference vs declared schema mismatches appeared after the image upgrade (there was a 16.4.10 issue in that space that engineering has been mitigating).&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3 class="_7uu25p0 qt3gz9c _7pq7t612 heading3 _7uu25p1"&gt;What you can expect next&lt;/H3&gt;
&lt;UL class="qt3gz97 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;Engineering has been actively deploying fixes for the 16.4.10 image regressions; if your workspace hasn’t picked up the hotfix yet, the above mitigations should limit disruption in the interim.&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;If this remains blocking, an &lt;STRONG&gt;Engineering Support&lt;/STRONG&gt; ticket with the artifacts above will allow Lakeflow/DLT oncall to confirm whether your workspace needs a targeted pin/rollback or to apply the already-available hotfix in your region.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3 class="_7uu25p0 qt3gz9c _7pq7t612 heading3 _7uu25p1"&gt;Notes on runtime control in DLT&lt;/H3&gt;
&lt;UL class="qt3gz97 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;&lt;STRONG&gt;You can’t directly select a DBR version&lt;/STRONG&gt; for DLT pipelines; use channels (Current/Preview). Databricks recommends Current for production.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Hope this helps get you to a quick resolution.&lt;/P&gt;
&lt;P&gt;Cheers, Louis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 14:44:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/dlt-pipeline-stopped-working/m-p/135715#M50413</guid>
      <dc:creator>Louis_Frolio</dc:creator>
      <dc:date>2025-10-22T14:44:07Z</dc:date>
    </item>
  </channel>
</rss>

