[jira] [Commented] (CALCITE-2792) Stackoverflow while evaluating filter with large number of OR conditions

2019-10-07 Thread Haisheng Yuan (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16946307#comment-16946307 ] Haisheng Yuan commented on CALCITE-2792: A balanced binary call with only 32 levels of depth

[jira] [Commented] (CALCITE-2792) Stackoverflow while evaluating filter with large number of OR conditions

2019-10-07 Thread Haisheng Yuan (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16946245#comment-16946245 ] Haisheng Yuan commented on CALCITE-2792: Your proposal of not expanding IN is good, however, it

[jira] [Commented] (CALCITE-2792) Stackoverflow while evaluating filter with large number of OR conditions

2019-10-07 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16946209#comment-16946209 ] Julian Hyde commented on CALCITE-2792: -- The balanced tree is a clever idea but it seems to be

[jira] [Commented] (CALCITE-2792) Stackoverflow while evaluating filter with large number of OR conditions

2019-10-04 Thread Haisheng Yuan (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16944937#comment-16944937 ] Haisheng Yuan commented on CALCITE-2792: The reason of stackoverflow for large ORs is the left

[jira] [Commented] (CALCITE-2792) Stackoverflow while evaluating filter with large number of OR conditions

2019-01-28 Thread pengzhiwei (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16754576#comment-16754576 ] pengzhiwei commented on CALCITE-2792: - Well,this translation is common for the "OR" expression

[jira] [Commented] (CALCITE-2792) Stackoverflow while evaluating filter with large number of OR conditions

2019-01-28 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16754320#comment-16754320 ] Julian Hyde commented on CALCITE-2792: -- Yes, that's possible, and I agree it would perform well

[jira] [Commented] (CALCITE-2792) Stackoverflow while evaluating filter with large number of OR conditions

2019-01-27 Thread pengzhiwei (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16753737#comment-16753737 ] pengzhiwei commented on CALCITE-2792: -   {quote}Let's treat that as a different issue, because it's

[jira] [Commented] (CALCITE-2792) Stackoverflow while evaluating filter with large number of OR conditions

2019-01-24 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16751573#comment-16751573 ] Julian Hyde commented on CALCITE-2792: -- I see now that this problem is with a deep SqlCall tree,

[jira] [Commented] (CALCITE-2792) Stackoverflow while evaluating filter with large number of OR conditions

2019-01-24 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16751569#comment-16751569 ] Julian Hyde commented on CALCITE-2792: -- bq. Except the StackOverflowError, the code generated for

[jira] [Commented] (CALCITE-2792) Stackoverflow while evaluating filter with large number of OR conditions

2019-01-23 Thread pengzhiwei (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16750750#comment-16750750 ] pengzhiwei commented on CALCITE-2792: - Hi [~julianhyde],the StackOverflowError comes from the  

[jira] [Commented] (CALCITE-2792) Stackoverflow while evaluating filter with large number of OR conditions

2019-01-23 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16750349#comment-16750349 ] Julian Hyde commented on CALCITE-2792: -- Did you know that the OR operator in a RexCall allows more

[jira] [Commented] (CALCITE-2792) Stackoverflow while evaluating filter with large number of OR conditions

2019-01-22 Thread Dirk Mahler (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16749637#comment-16749637 ] Dirk Mahler commented on CALCITE-2792: -- [~zabetak] Yes, this would be our prefered solution. >

[jira] [Commented] (CALCITE-2792) Stackoverflow while evaluating filter with large number of OR conditions

2019-01-22 Thread Stamatis Zampetakis (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16748726#comment-16748726 ] Stamatis Zampetakis commented on CALCITE-2792: -- [~dirk.mahler] based on what you are

[jira] [Commented] (CALCITE-2792) Stackoverflow while evaluating filter with large number of OR conditions

2019-01-22 Thread Dirk Mahler (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16748638#comment-16748638 ] Dirk Mahler commented on CALCITE-2792: -- [~zabetak] I'm aware of this limitation but in our case

[jira] [Commented] (CALCITE-2792) Stackoverflow while evaluating filter with large number of OR conditions

2019-01-22 Thread Stamatis Zampetakis (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16748579#comment-16748579 ] Stamatis Zampetakis commented on CALCITE-2792: -- Hi [~dirk.mahler], note that many

[jira] [Commented] (CALCITE-2792) Stackoverflow while evaluating filter with large number of OR conditions

2019-01-21 Thread Dirk Mahler (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16747744#comment-16747744 ] Dirk Mahler commented on CALCITE-2792: -- A project has been attached containing a class