+reading = "The parser now reads TRUNC's bare second argument the way Snowflake does. Receipt sf.functions.trunc2.ka4427f986c78 (SELECT TRUNC ( 1 , DAY ) ;) records errno 904, a semantic_error after parsing (missing_object): with a numeric first argument, Snowflake resolves DAY as an identifier. A column node is therefore the faithful tree, and the date-part reading is decided by the first argument's type, not by syntax. This supersedes the TRUNC part of the earlier tree finding d704778ce; the DATE_TRUNC, DATEDIFF and EXTRACT parts stand. The parse worker at 219a540d accepts the o001/o003/o005 case and rejects the o002, o004, o006 and o007 cases, each as its receipt records, and every trunc2 obligation is satisfied."
0 commit comments