Liya Fan created CALCITE-4363: --------------------------------- Summary: Need a utility to check if a SQL operator is standard Key: CALCITE-4363 URL: https://issues.apache.org/jira/browse/CALCITE-4363 Project: Calcite Issue Type: Wish Components: core Reporter: Liya Fan Assignee: Liya Fan
Currently, all standard SQL operators are defined in SqlStdOperatorTable.java as static members, not as enums. This makes it difficult to check if a SQL function is a standard one. In many scenarios, we need such a check. For example, some optimizations can be performed, if we know the function is standard (not user-defined), because user-defined functions may have some unknown side-effects. To support the check, we only need to maintain a set that contains all standard operators. Do you think such a utility should be supported? -- This message was sent by Atlassian Jira (v8.3.4#803005)