You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Will Yu (Jira)" <ji...@apache.org> on 2020/11/20 00:54:00 UTC
[jira] [Created] (CALCITE-4410) Expose the type of internal sql
node in Planner
Will Yu created CALCITE-4410:
--------------------------------
Summary: Expose the type of internal sql node in Planner
Key: CALCITE-4410
URL: https://issues.apache.org/jira/browse/CALCITE-4410
Project: Calcite
Issue Type: Improvement
Components: core
Affects Versions: 1.26.0
Reporter: Will Yu
Assignee: Will Yu
Currently in Planner interface, there is only possible to fetch the *RelDataType* of the whole SqlNode through *validateAndGetType*, but really hard to fetch the type of one component in the SqlNode, e.g. one of the statement in the select list.
Currently, we worked it around by duplicate some code in Calcite, which is not a good practice. It would be helpful to directly expose the *SqlValidator::getValidatedNodeType* through Planner.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)