[CALCITE-3007] Type mismatch for ANY subquery in project (Vineet Garg)#1172
[CALCITE-3007] Type mismatch for ANY subquery in project (Vineet Garg)#1172vineetgarg02 wants to merge 1 commit intoapache:masterfrom vineetgarg02:CALCITE-3007
Conversation
| LogicalTableScan(table=[[CATALOG, SALES, DEPT]]) | ||
| LogicalAggregate(group=[{}], m=[MAX($0)], c=[COUNT()], d=[COUNT($0)]) | ||
| LogicalProject(MGR=[$3]) | ||
| LogicalTableScan(table=[[CATALOG, SALES, EMP]]) |
| LogicalProject(EMPNO=[$0], ENAME=[$1], JOB=[$2], MGR=[$3], HIREDATE=[$4], SAL=[$5], COMM=[$6], DEPTNO=[$7], SLACKER=[$8]) | ||
| LogicalProject(EMPNO=[$0], ENAME=[$1], JOB=[$2], MGR=[$3], HIREDATE=[$4], SAL=[$5], COMM=[$6], DEPTNO=[$7], SLACKER=[$8]) | ||
| LogicalFilter(condition=[OR(AND(>($0, $9), <>($10, 0)), AND(>($0, $9), <>($10, 0), IS NOT TRUE(>($0, $9)), <=($10, $11)))]) | ||
| LogicalFilter(condition=[OR(AND(IS TRUE(>($0, $9)), <>($10, 0)), AND(>($10, $11), null, <>($10, 0), IS NOT TRUE(>($0, $9))), AND(>($0, $9), <>($10, 0), IS NOT TRUE(>($0, $9)), <=($10, $11)))]) |
There was a problem hiding this comment.
Just notice this, any idea for this change?
There was a problem hiding this comment.
@hsyuan This is the result of CASE simplification. With cast it looks like CASE was simplified to this. I went over this and it looks semantically correct to me.
|
Looks like this patch caused test failure: https://builds.apache.org/job/Calcite-Master/jdk=JDK%201.9%20(latest),label_exp=ubuntu&&!cloud-slave&&!H27/lastBuild/console I don't know why. |
That is strange. I am unable to see this failure locally. May be some environmental/configuration issue? |
Close apache#1172 Change-Id: I9ed50a11ce3869e140c1d103b4a103e280d65403
Close apache#1172 Change-Id: I9ed50a11ce3869e140c1d103b4a103e280d65403
No description provided.