jamie12221 created CALCITE-4047:
-----------------------------------

             Summary: at 
org.apache.calcite.rel.rules.PushProjector.getAdjustments(java.lang.ArrayIndexOutOfBoundsException:
 0)
                 Key: CALCITE-4047
                 URL: https://issues.apache.org/jira/browse/CALCITE-4047
             Project: Calcite
          Issue Type: Bug
          Components: core
    Affects Versions: 1.23.0
            Reporter: jamie12221


 

 
{code:java}
  28:LogicalUnion(all=[true])
    21:LogicalProject
      20:LogicalTableScan(table=[[db1]])
    23:LogicalProject
      22:LogicalTableScan(table=[[db2]])
    25:LogicalProject
      24:LogicalTableScan(table=[[db3]])
    27:LogicalProject
      26:LogicalTableScan(table=[[db3]])
{code}
 

 
{code:java}
16:32:01 T=noBindingExecutor0 [org.apache.calcite.plan.RelOptPlanner fireRule 
at 324]-[DEBUG] call#3: Apply rule [ProjectSetOpTransposeRule] to 
[rel#44:LogicalProject.NONE.[](input=HepRelVertex#43,exprs=[1]), 
rel#42:LogicalUnion.NONE.[](input#0=HepRelVertex#32,input#1=HepRelVertex#35,input#2=HepRelVertex#38,input#3=HepRelVertex#41,all=true)]16:32:01
 T=noBindingExecutor0 [io.mycat.proxy.session.Session setLastMessage at 
122]-[ERROR] java.lang.ArrayIndexOutOfBoundsException: 0 at 
org.apache.calcite.rel.rules.PushProjector.getAdjustments(PushProjector.java:572)
 at 
org.apache.calcite.rel.rules.ProjectSetOpTransposeRule.onMatch(ProjectSetOpTransposeRule.java:92)
 at 
org.apache.calcite.plan.AbstractRelOptPlanner.fireRule(AbstractRelOptPlanner.java:338)
 at org.apache.calcite.plan.hep.HepPlanner.applyRule(HepPlanner.java:540) at 
org.apache.calcite.plan.hep.HepPlanner.applyRules(HepPlanner.java:405) at 
org.apache.calcite.plan.hep.HepPlanner.executeInstruction(HepPlanner.java:270) 
at 
org.apache.calcite.plan.hep.HepInstruction$RuleCollection.execute(HepInstruction.java:74)
 at org.apache.calcite.plan.hep.HepPlanner.executeProgram(HepPlanner.java:201) 
at org.apache.calcite.plan.hep.HepPlanner.findBestExp(HepPlanner.java:188)
{code}
 
[travelrecord|http://dict.youdao.com/search?q=travelrecord&keyfrom=chrome.extension]
 
[详细|http://www.youdao.com/search?q=travelrecord&ue=utf8&keyfrom=chrome.extension]X
  没有英汉互译结果
  
[请尝试网页搜索|http://www.youdao.com/search?q=travelrecord&ue=utf8&keyfrom=chrome.extension]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to