mihaibudiu commented on PR #4466: URL: https://github.com/apache/calcite/pull/4466#issuecomment-3090878050
No, the parser will parse anything that looks like a function call. The validator should reject functions that are unknown. Note that type names CAN be used as constructors for user-defined types, just not for type aliases. `CREATE TYPE X AS (INT, INT);` Then it's legal to say `X(0, 0)`; in fact, this is the only way you can create an object of type X. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org