[jira] [Commented] (CALCITE-1338) JoinProjectTransposeRule makes wrong transformation when the right child of left outer join has a RexLiteral project expression.

2019-04-11 Thread Chunwei Lei (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16815922#comment-16815922 ] Chunwei Lei commented on CALCITE-1338: -- [~julianhyde], PR was updated. Many thanks for your

[jira] [Commented] (CALCITE-1338) JoinProjectTransposeRule makes wrong transformation when the right child of left outer join has a RexLiteral project expression.

2019-04-11 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16815823#comment-16815823 ] Julian Hyde commented on CALCITE-1338: -- Looks good, but can you improve the organization of the

[jira] [Commented] (CALCITE-1338) JoinProjectTransposeRule makes wrong transformation when the right child of left outer join has a RexLiteral project expression.

2019-04-10 Thread Chunwei Lei (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16815045#comment-16815045 ] Chunwei Lei commented on CALCITE-1338: -- Thanks [~julianhyde]. It is exactly what I need. PR was

[jira] [Commented] (CALCITE-1338) JoinProjectTransposeRule makes wrong transformation when the right child of left outer join has a RexLiteral project expression.

2019-04-10 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16814755#comment-16814755 ] Julian Hyde commented on CALCITE-1338: -- I was wrong to use the word "strict" earlier. According to

[jira] [Commented] (CALCITE-1338) JoinProjectTransposeRule makes wrong transformation when the right child of left outer join has a RexLiteral project expression.

2019-04-10 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16814736#comment-16814736 ] Julian Hyde commented on CALCITE-1338: -- How about using

[jira] [Commented] (CALCITE-1338) JoinProjectTransposeRule makes wrong transformation when the right child of left outer join has a RexLiteral project expression.

2019-04-10 Thread Chunwei Lei (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16814089#comment-16814089 ] Chunwei Lei commented on CALCITE-1338: -- I opened a PR: 

[jira] [Commented] (CALCITE-1338) JoinProjectTransposeRule makes wrong transformation when the right child of left outer join has a RexLiteral project expression.

2019-04-09 Thread Hongze Zhang (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16813177#comment-16813177 ] Hongze Zhang commented on CALCITE-1338: --- {quote} Can I say that if one of nodes in the project is

[jira] [Commented] (CALCITE-1338) JoinProjectTransposeRule makes wrong transformation when the right child of left outer join has a RexLiteral project expression.

2019-04-09 Thread Chunwei Lei (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16813107#comment-16813107 ] Chunwei Lei commented on CALCITE-1338: -- Thanks [~zhztheplayer] and [~hyuan]. It is a good idea

[jira] [Commented] (CALCITE-1338) JoinProjectTransposeRule makes wrong transformation when the right child of left outer join has a RexLiteral project expression.

2019-04-08 Thread Haisheng Yuan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16813013#comment-16813013 ] Haisheng Yuan commented on CALCITE-1338: Good idea, that seems much simpler. >

[jira] [Commented] (CALCITE-1338) JoinProjectTransposeRule makes wrong transformation when the right child of left outer join has a RexLiteral project expression.

2019-04-08 Thread Hongze Zhang (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16813008#comment-16813008 ] Hongze Zhang commented on CALCITE-1338: --- It sounds to be a little tricky if we add an

[jira] [Commented] (CALCITE-1338) JoinProjectTransposeRule makes wrong transformation when the right child of left outer join has a RexLiteral project expression.

2019-04-08 Thread Chunwei Lei (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16812998#comment-16812998 ] Chunwei Lei commented on CALCITE-1338: -- {quote}We may need a function in RexUtil to check the

[jira] [Commented] (CALCITE-1338) JoinProjectTransposeRule makes wrong transformation when the right child of left outer join has a RexLiteral project expression.

2019-04-08 Thread Haisheng Yuan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16812997#comment-16812997 ] Haisheng Yuan commented on CALCITE-1338: I don't know if there is any better solution than

[jira] [Commented] (CALCITE-1338) JoinProjectTransposeRule makes wrong transformation when the right child of left outer join has a RexLiteral project expression.

2019-04-08 Thread Chunwei Lei (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16812531#comment-16812531 ] Chunwei Lei commented on CALCITE-1338: -- To resolve this, I would like to proposal: * add a new

[jira] [Commented] (CALCITE-1338) JoinProjectTransposeRule makes wrong transformation when the right child of left outer join has a RexLiteral project expression.

2019-04-02 Thread Chunwei Lei (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16807488#comment-16807488 ] Chunwei Lei commented on CALCITE-1338: -- I will take a look into this since it will cause data

[jira] [Commented] (CALCITE-1338) JoinProjectTransposeRule makes wrong transformation when the right child of left outer join has a RexLiteral project expression.

2016-08-23 Thread Vineet Garg (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15433538#comment-15433538 ] Vineet Garg commented on CALCITE-1338: -- Hi Julian, Hive is hitting this issue as well (see

[jira] [Commented] (CALCITE-1338) JoinProjectTransposeRule makes wrong transformation when the right child of left outer join has a RexLiteral project expression.

2016-08-02 Thread YI XINGLU (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15403461#comment-15403461 ] YI XINGLU commented on CALCITE-1338: Hi Julian, I agree with you. JoinProjectTransposeRule should

[jira] [Commented] (CALCITE-1338) JoinProjectTransposeRule makes wrong transformation when the right child of left outer join has a RexLiteral project expression.

2016-08-02 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15403435#comment-15403435 ] Julian Hyde commented on CALCITE-1338: -- OK, I saw you changed the description back again. I added

[jira] [Commented] (CALCITE-1338) JoinProjectTransposeRule makes wrong transformation when the right child of left outer join has a RexLiteral project expression.

2016-08-01 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15403286#comment-15403286 ] Julian Hyde commented on CALCITE-1338: -- It seems that JoinProjectTransposeRule simply not fire in