What happened?
The linter emits false positive C11 (convention.casting_style) warnings on aggregate functions.
.sqruff (all rules enabled):
SQL query:
-
SELECT
a::int, -- shorthand casting
count(b) AS c -- incorrectly identified as another style of casting
FROM
foo;
Version
0.29.3
Checked in Playground