You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Zhenghua Gao (JIRA)" <ji...@apache.org> on 2019/06/27 11:54:00 UTC

[jira] [Created] (CALCITE-3151) RexCall's Monotonicity is not considered in determining a Calc's collation

Zhenghua Gao created CALCITE-3151:
-------------------------------------

             Summary: 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


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)