<?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: Disable spark transformations inside try except warning in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/disable-spark-transformations-inside-try-except-warning/m-p/164565#M55291</link>
    <description>&lt;P&gt;Can u try this in your toml file?&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[tool.databricks.flint]
ignore = ["SCPAP005"]&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 30 Jul 2026 20:34:09 GMT</pubDate>
    <dc:creator>adnan_alvee</dc:creator>
    <dc:date>2026-07-30T20:34:09Z</dc:date>
    <item>
      <title>Disable spark transformations inside try except warning</title>
      <link>https://community.databricks.com/t5/data-engineering/disable-spark-transformations-inside-try-except-warning/m-p/164561#M55289</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;I'm wondering if there's a way to suppress certain errors? I have a lot of spammy yellow underlining from this one warning, and it doesn't seem that the warning behaves properly. Transformation inside try/except block is lazy, fine, I have actions on the dataframe ALSO in the try/except so this is irrelevant.&lt;BR /&gt;&lt;BR /&gt;I'm also a little confused what it's actually coming from. It says it's from databricks-flint, which sounds like a linter, but searching it is giving me a time-series library?&lt;BR /&gt;&lt;BR /&gt;Warning message:&lt;BR /&gt;Spark transformations inside try/except are lazy and will not raise exceptions. Move the triggering action (e.g., .count(), .show(), .collect()) inside the try block instead.&lt;/SPAN&gt;&lt;SPAN&gt;databricks-flint(SCPAP005)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kayla_0-1785436282119.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/29644i416C54765A4BC9E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kayla_0-1785436282119.png" alt="Kayla_0-1785436282119.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 30 Jul 2026 18:35:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/disable-spark-transformations-inside-try-except-warning/m-p/164561#M55289</guid>
      <dc:creator>Kayla</dc:creator>
      <dc:date>2026-07-30T18:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Disable spark transformations inside try except warning</title>
      <link>https://community.databricks.com/t5/data-engineering/disable-spark-transformations-inside-try-except-warning/m-p/164565#M55291</link>
      <description>&lt;P&gt;Can u try this in your toml file?&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[tool.databricks.flint]
ignore = ["SCPAP005"]&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 30 Jul 2026 20:34:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/disable-spark-transformations-inside-try-except-warning/m-p/164565#M55291</guid>
      <dc:creator>adnan_alvee</dc:creator>
      <dc:date>2026-07-30T20:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Disable spark transformations inside try except warning</title>
      <link>https://community.databricks.com/t5/data-engineering/disable-spark-transformations-inside-try-except-warning/m-p/164632#M55305</link>
      <description>&lt;P&gt;So...I don't have one of those? Guessing you mean pyproject.toml which I just added with your suggestion, and no change.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2026 18:04:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/disable-spark-transformations-inside-try-except-warning/m-p/164632#M55305</guid>
      <dc:creator>Kayla</dc:creator>
      <dc:date>2026-07-31T18:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Disable spark transformations inside try except warning</title>
      <link>https://community.databricks.com/t5/data-engineering/disable-spark-transformations-inside-try-except-warning/m-p/164642#M55310</link>
      <description>&lt;P&gt;If your action (count(), collect(), show(), etc.) is already inside the try block, this sounds like a false positive. The warning is likely from a Databricks inspection rather than the Flint time-series library. Check if inspection SCPAP005 can be disabled or its severity changed in your IDE, and if not, consider reporting it with a small reproducible example so the maintainers can investigate.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Aug 2026 05:06:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/disable-spark-transformations-inside-try-except-warning/m-p/164642#M55310</guid>
      <dc:creator>masonreed11</dc:creator>
      <dc:date>2026-08-01T05:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Disable spark transformations inside try except warning</title>
      <link>https://community.databricks.com/t5/data-engineering/disable-spark-transformations-inside-try-except-warning/m-p/164654#M55311</link>
      <description>&lt;P&gt;I'm seeing this in the Databricks web editor, not my own IDE environment.&lt;BR /&gt;I'd disable it if I knew how, but I can't find any documentation for what it's coming from. If you google&amp;nbsp;&lt;SPAN&gt;SCPAP005, all you get is this post and CPAP machines. Likewise, I'd report it to the maintainers if I knew who they were.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Aug 2026 12:50:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/disable-spark-transformations-inside-try-except-warning/m-p/164654#M55311</guid>
      <dc:creator>Kayla</dc:creator>
      <dc:date>2026-08-01T12:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Disable spark transformations inside try except warning</title>
      <link>https://community.databricks.com/t5/data-engineering/disable-spark-transformations-inside-try-except-warning/m-p/166397#M55580</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/41588"&gt;@Kayla&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I was wondering if this has already been patched in some way, as I'm facing the exact same error.&lt;/P&gt;&lt;P&gt;Kind regards, Mart Faber&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2026 10:03:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/disable-spark-transformations-inside-try-except-warning/m-p/166397#M55580</guid>
      <dc:creator>MartFaber</dc:creator>
      <dc:date>2026-08-25T10:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Disable spark transformations inside try except warning</title>
      <link>https://community.databricks.com/t5/data-engineering/disable-spark-transformations-inside-try-except-warning/m-p/166410#M55581</link>
      <description>&lt;P&gt;Interesting discussion! Handling Spark transformations inside try-except blocks can be tricky because of Spark’s lazy evaluation and when errors are actually triggered. Clear explanations of these behaviors are especially helpful for developers troubleshooting data pipelines and improving error handling. For a quick choice between two approaches, &lt;A href="https://www.munzewerfen.de/" target="_self"&gt;&lt;STRONG&gt;Münze werfen&lt;/STRONG&gt;&lt;/A&gt; can be a simple and fun way to decide.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2026 12:36:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/disable-spark-transformations-inside-try-except-warning/m-p/166410#M55581</guid>
      <dc:creator>munzewerfen</dc:creator>
      <dc:date>2026-08-25T12:36:31Z</dc:date>
    </item>
  </channel>
</rss>

