[
https://issues.apache.org/jira/browse/CALCITE-975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Hyde resolved CALCITE-975.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.6.0
Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/0045e01f.
> PlannerImpl.validate() should return validated row type
> -------------------------------------------------------
>
> Key: CALCITE-975
> URL: https://issues.apache.org/jira/browse/CALCITE-975
> Project: Calcite
> Issue Type: Bug
> Reporter: Jinfeng Ni
> Assignee: Jinfeng Ni
> Labels: drill
> Fix For: 1.6.0
>
>
> This comes from a commit in Drill's forked Calcite.
> (https://github.com/dremio/calcite/commit/84bae715310d8684ac545f0a4f17c86d19e502a4)
> PlannerImpl.validate() only returns SqlNode after the input SqlNode goes
> through SqlValidator check, and it does not return the validated rowtype.
> This is different from the regular code path in CalcitePrepareImpl, where
> validate rowtype is passed into ParseResult/ConvertResult.
> We should provide a way in PlannerImpl such that the validated rowType is
> accessible.
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)