Files
superset2/tests/unit_tests/sql
Evan ac63ff56cd fix(trino): correctly detect parenthesized IF blocks in routine bodies
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>
2026-07-21 10:16:10 -07:00
..