Commit b972cce
committed
fix(clickhouse): gate the compile-time downgrade on who wrote the query
The execution layer only downgrades when the caller wrote the SQL, but
the compile-time catch downgraded every ExposedTSQLError regardless. A
compile failure on TRQL we generated is our bug, and it was logging at
warn.
Whether an error is safe to show someone is a separate question from
whose mistake it is, so the same gate now applies at both layers.1 parent 23d8f3f commit b972cce
2 files changed
Lines changed: 27 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
| 324 | + | |
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1642 | 1642 | | |
1643 | 1643 | | |
1644 | 1644 | | |
| 1645 | + | |
1645 | 1646 | | |
1646 | 1647 | | |
1647 | 1648 | | |
| |||
1663 | 1664 | | |
1664 | 1665 | | |
1665 | 1666 | | |
| 1667 | + | |
1666 | 1668 | | |
1667 | 1669 | | |
1668 | 1670 | | |
| |||
1694 | 1696 | | |
1695 | 1697 | | |
1696 | 1698 | | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
| 1706 | + | |
| 1707 | + | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
1697 | 1723 | | |
1698 | 1724 | | |
1699 | 1725 | | |
| |||
0 commit comments