You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/11/04 02:48:00 UTC
[jira] [Updated] (CALCITE-4363) Need a utility to check if a SQL
operator is standard
[ https://issues.apache.org/jira/browse/CALCITE-4363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated CALCITE-4363:
------------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)