[jira] [Commented] (CALCITE-2296) Extra logic to derive additional filters in the FilterJoinRule

2018-05-13 Thread Zhong Yu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16473696#comment-16473696 ] Zhong Yu commented on CALCITE-2296: --- Hi Vitalii, I had some ideas on this exact issue, in case it

[jira] [Commented] (CALCITE-2287) StackOverflowError from FlatList equals()

2018-04-27 Thread Zhong Yu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16457295#comment-16457295 ] Zhong Yu commented on CALCITE-2287: --- If {{o}} is some {{Plat3List}} that tries to do the same trick,

[jira] [Comment Edited] (CALCITE-2257) Combination of predicates can be proved to be always true

2018-04-27 Thread Zhong Yu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16456082#comment-16456082 ] Zhong Yu edited comment on CALCITE-2257 at 4/27/18 7:55 AM: Wait a sec...

[jira] [Commented] (CALCITE-2287) StackOverflowError from FlatList equals()

2018-04-27 Thread Zhong Yu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16456028#comment-16456028 ] Zhong Yu commented on CALCITE-2287: --- https://github.com/apache/calcite/pull/682 > StackOverflowError

[jira] [Created] (CALCITE-2287) StackOverflowError from FlatList equals()

2018-04-27 Thread Zhong Yu (JIRA)
Zhong Yu created CALCITE-2287: - Summary: StackOverflowError from FlatList equals() Key: CALCITE-2287 URL: https://issues.apache.org/jira/browse/CALCITE-2287 Project: Calcite Issue Type: Bug

[jira] [Updated] (CALCITE-2273) misinterpreted

2018-04-21 Thread Zhong Yu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhong Yu updated CALCITE-2273: -- Description:     The following string literal is accepted by Calcite parser, but the result value

[jira] [Created] (CALCITE-2273) misinterpreted

2018-04-21 Thread Zhong Yu (JIRA)
Zhong Yu created CALCITE-2273: - Summary: misinterpreted Key: CALCITE-2273 URL: https://issues.apache.org/jira/browse/CALCITE-2273 Project: Calcite Issue Type: Bug Reporter: Zhong

[jira] [Commented] (CALCITE-2267) AbstractRelNode.getId() may produce duplicate IDs

2018-04-19 Thread Zhong Yu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16445113#comment-16445113 ] Zhong Yu commented on CALCITE-2267: --- When there are multiple threads writing to `nextId`, Java memory

[jira] [Created] (CALCITE-2267) AbstractRelNode.getId() may produce duplicate IDs

2018-04-19 Thread Zhong Yu (JIRA)
Zhong Yu created CALCITE-2267: - Summary: AbstractRelNode.getId() may produce duplicate IDs Key: CALCITE-2267 URL: https://issues.apache.org/jira/browse/CALCITE-2267 Project: Calcite Issue Type:

[jira] [Commented] (CALCITE-2234) Fix java.lang.AssertionError at org.apache.calcite.sql.fun.SqlCastFunction.unparse

2018-04-03 Thread Zhong Yu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16423759#comment-16423759 ] Zhong Yu commented on CALCITE-2234: --- A follow up bug – in `StandardConvertletTable.expandAvg()`, the

[jira] [Commented] (CALCITE-2202) Aggregate Join Push-down on a Single Side

2018-03-25 Thread Zhong Yu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16413095#comment-16413095 ] Zhong Yu commented on CALCITE-2202: --- Sorry about the delay, but I've finished with a better proof (I

[jira] [Comment Edited] (CALCITE-2202) Aggregate Join Push-down on a Single Side

2018-03-08 Thread Zhong Yu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16392289#comment-16392289 ] Zhong Yu edited comment on CALCITE-2202 at 3/9/18 2:29 AM: --- Everything is moot

[jira] [Comment Edited] (CALCITE-2202) Aggregate Join Push-down on a Single Side

2018-03-08 Thread Zhong Yu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16392289#comment-16392289 ] Zhong Yu edited comment on CALCITE-2202 at 3/9/18 2:27 AM: --- Everything is moot

[jira] [Commented] (CALCITE-2202) Aggregate Join Push-down on a Single Side

2018-03-08 Thread Zhong Yu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16391279#comment-16391279 ] Zhong Yu commented on CALCITE-2202: --- Thanks Julian. Your last example actually works in my favor. My

[jira] [Created] (CALCITE-2202) Aggregate Join Push-down on a Single Side

2018-03-04 Thread Zhong Yu (JIRA)
Zhong Yu created CALCITE-2202: - Summary: Aggregate Join Push-down on a Single Side Key: CALCITE-2202 URL: https://issues.apache.org/jira/browse/CALCITE-2202 Project: Calcite Issue Type:

[jira] [Commented] (CALCITE-2195) AggregateJoinTransposeRule fails to aggregate over unique column

2018-03-04 Thread Zhong Yu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16385284#comment-16385284 ] Zhong Yu commented on CALCITE-2195: --- Thanks Julian. To make sure I understand the problem correctly, I

[jira] [Commented] (CALCITE-2195) AggregateJoinTransposeRule fails to aggregate over unique column

2018-02-27 Thread Zhong Yu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16378701#comment-16378701 ] Zhong Yu commented on CALCITE-2195: --- pull-request: https://github.com/apache/calcite/pull/637 >

[jira] [Updated] (CALCITE-2195) AggregateJoinTransposeRule fails to aggregate over unique column

2018-02-27 Thread Zhong Yu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhong Yu updated CALCITE-2195: -- Description: The following query, in which "A.sal" is unique, {code:java} select sum(A.sal) from

[jira] [Updated] (CALCITE-2195) AggregateJoinTransposeRule fails to aggregate over unique column

2018-02-27 Thread Zhong Yu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhong Yu updated CALCITE-2195: -- Fix Version/s: (was: 1.16.0) 1.15.0 > AggregateJoinTransposeRule fails to

[jira] [Created] (CALCITE-2195) AggregateJoinTransposeRule fails to aggregate over unique column

2018-02-27 Thread Zhong Yu (JIRA)
Zhong Yu created CALCITE-2195: - Summary: AggregateJoinTransposeRule fails to aggregate over unique column Key: CALCITE-2195 URL: https://issues.apache.org/jira/browse/CALCITE-2195 Project: Calcite