4 weeks ago
4 weeks ago
Can u try this in your toml file?
[tool.databricks.flint]
ignore = ["SCPAP005"]
4 weeks ago
So...I don't have one of those? Guessing you mean pyproject.toml which I just added with your suggestion, and no change.
4 weeks ago
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.
3 weeks ago
I'm seeing this in the Databricks web editor, not my own IDE environment.
I'd disable it if I knew how, but I can't find any documentation for what it's coming from. If you google SCPAP005, all you get is this post and CPAP machines. Likewise, I'd report it to the maintainers if I knew who they were.
11 hours ago
Hi @Kayla,
I was wondering if this has already been patched in some way, as I'm facing the exact same error.
Kind regards, Mart Faber
9 hours ago
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, Mรผnze werfen can be a simple and fun way to decide.