LW009 Function call error
Severity: WarningFree
A Snowflake built-in is called with fewer or more arguments than it accepts, by Snowflake’s own function listing or, for a function it does not name, by its documented forms — or a window function is called without OVER, or without the ORDER BY its documented forms require.
- Checked on the SQL dbt™ would compile: macros, loops and vars are expanded offline first, and a problem inside a macro is reported on its call.
- Free in the editor, guaranteed by contract for 99 years: a diagnostic or a quick fix released free stays free in every later version (EULA, Schedule A).
- Its severity can be changed, or the check switched off, in one setting of the extension or in lineward.toml for the command line.
- In CI, hooks and background agents, the same check runs with lineward check — a paid feature.
How it scores
- Debugging time saved
- Impact
- Time to detection
- Complexity
Our estimates, from 1 to 5, not measurements. Compare it with the other 53 codes →
Part of
- SQL errors before dbt™ run
- Diagnostics on the compiled SQL
- Function argument checks