You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Sean Hsuan-Yi Chu (JIRA)" <ji...@apache.org> on 2016/01/21 01:09:39 UTC
[jira] [Created] (CALCITE-1062) Allowing SqlOperator to be
overridden in validation
Sean Hsuan-Yi Chu created CALCITE-1062:
------------------------------------------
Summary: Allowing SqlOperator to be overridden in validation
Key: CALCITE-1062
URL: https://issues.apache.org/jira/browse/CALCITE-1062
Project: Calcite
Issue Type: Improvement
Components: core
Reporter: Sean Hsuan-Yi Chu
Assignee: Sean Hsuan-Yi Chu
Calcite allows function to be overridden at validation step. To be more specific, users can provide their SqlOperatorTable, and, at validation step, their SqlOperatorTable will be called (method: lookupOperatorOverloads) to get a overriding function. However, so far, SqlOperator (e.g., +, - , *, etc.) does not have this mechanism yet.
Since other systems (e.g., Apache Drill) would have more flexible type-checks for SqlOperator's operands, this mechanism is necessary for those systems to pass through the validation step.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)