mirror of
https://github.com/apache/superset.git
synced 2026-07-26 16:42:32 +00:00
Add type annotations to the module-level constants and local counters in the Trino dialect, and fix the `IF (a > b) THEN` vs. scalar `IF(...)` ambiguity: an IF immediately followed by `(` is now classified as a procedural block only when the matching closing paren is followed by THEN, otherwise as a scalar function call. Adds a regression test for the parenthesized condition case. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>