[
https://issues.apache.org/jira/browse/CALCITE-3151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Haisheng Yuan resolved CALCITE-3151.
------------------------------------
Resolution: Fixed
Fix Version/s: 1.21.0
Fixed in
https://github.com/apache/calcite/commit/914e2127b096dd40d6c8a5f5c05ddad89b2e0863
> RexCall's Monotonicity is not considered in determining a Calc's collation
> --------------------------------------------------------------------------
>
> Key: CALCITE-3151
> URL: https://issues.apache.org/jira/browse/CALCITE-3151
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.19.0
> Reporter: Zhenghua Gao
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.21.0
>
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> In [FLINK-12999|https://issues.apache.org/jira/browse/FLINK-12999] I found a
> case that the planner can't generate a valid execution plan for a sample
> query:
> SELECT UUID() FROM (VALUES(1, 2, 3)) T(a, b, c)
> I made an investigation and found the root case was: RexCall's Monotonicity
> is not considered in determining a Calc's collation( should do the same as
> Project).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)