[jira] [Resolved] (CALCITE-4621) SemiJoinRule throws AssertionError on ANTI join

2021-05-27 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L resolved CALCITE-4621. Resolution: Fixed Fixed via https://github.com/apache/calcite/commit/cac28e95762532538cd3d0dce9e

[jira] [Commented] (CALCITE-4617) Wrong offset when SortJoinTransposeRule pushes a sort node with an offset

2021-05-28 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17353095#comment-17353095 ] Ruben Q L commented on CALCITE-4617: [~zabetak] IMO ready to go, I'll proceed with

[jira] [Commented] (CALCITE-4621) SemiJoinRule throws AssertionError on ANTI join

2021-05-28 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17353106#comment-17353106 ] Ruben Q L commented on CALCITE-4621: Thanks for the feedback [~julianhyde]. Those a

[jira] [Comment Edited] (CALCITE-4617) Wrong offset when SortJoinTransposeRule pushes a sort node with an offset

2021-05-28 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17353095#comment-17353095 ] Ruben Q L edited comment on CALCITE-4617 at 5/28/21, 9:06 AM: ---

[jira] [Commented] (CALCITE-4617) Wrong offset when SortJoinTransposeRule pushes a sort node with an offset

2021-05-29 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17353694#comment-17353694 ] Ruben Q L commented on CALCITE-4617: [~julianhyde], if I am not mistaken, your prop

[jira] [Commented] (CALCITE-4617) Wrong offset when SortJoinTransposeRule pushes a sort node with an offset

2021-05-31 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17354350#comment-17354350 ] Ruben Q L commented on CALCITE-4617: [~sylvaincrozon] I have the impression that yo

[jira] [Commented] (CALCITE-4617) Wrong offset when SortJoinTransposeRule pushes a sort node with an offset

2021-05-31 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17354875#comment-17354875 ] Ruben Q L commented on CALCITE-4617: [~nobigo], I'm just describing the current beh

[jira] [Commented] (CALCITE-4621) SemiJoinRule throws AssertionError on ANTI join

2021-06-18 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17365567#comment-17365567 ] Ruben Q L commented on CALCITE-4621: FYI [~julianhyde] I have created a [PR|https:

[jira] [Assigned] (CALCITE-4656) Broken links on develop page

2021-06-24 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L reassigned CALCITE-4656: -- Assignee: Ruben Q L (was: duan xiong) > Broken links on develop page >

[jira] [Assigned] (CALCITE-4656) Broken links on develop page

2021-06-24 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L reassigned CALCITE-4656: -- Assignee: duan xiong (was: Ruben Q L) > Broken links on develop page >

[jira] [Created] (CALCITE-4741) AbstractRelNode#getId can overflow into a negative value causing CompileException in certain Enumerable implement methods

2021-08-17 Thread Ruben Q L (Jira)
Ruben Q L created CALCITE-4741: -- Summary: AbstractRelNode#getId can overflow into a negative value causing CompileException in certain Enumerable implement methods Key: CALCITE-4741 URL: https://issues.apache.org/jir

[jira] [Updated] (CALCITE-4741) AbstractRelNode#getId can overflow into a negative value causing CompileException in certain Enumerable implement methods

2021-08-17 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-4741: --- Description: {{AbstractRelNode#getId}} can overflow into a negative value. This id is used by the

[jira] [Updated] (CALCITE-4741) AbstractRelNode#getId can overflow into a negative value causing CompileException in certain Enumerable implement methods

2021-08-17 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-4741: --- Description: {{AbstractRelNode#getId}} can overflow into a negative value. This id is used by cert

[jira] [Assigned] (CALCITE-4741) AbstractRelNode#getId can overflow into a negative value causing CompileException in certain Enumerable implement methods

2021-08-17 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L reassigned CALCITE-4741: -- Assignee: Ruben Q L > AbstractRelNode#getId can overflow into a negative value causing > Co

[jira] [Commented] (CALCITE-4741) AbstractRelNode#getId can overflow into a negative value causing CompileException in certain Enumerable implement methods

2021-08-20 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17402078#comment-17402078 ] Ruben Q L commented on CALCITE-4741: Thanks [~hyuan] for pointing it out! I will li

[jira] [Resolved] (CALCITE-4741) AbstractRelNode#getId can overflow into a negative value causing CompileException in certain Enumerable implement methods

2021-08-21 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L resolved CALCITE-4741. Resolution: Fixed Fixed via https://github.com/apache/calcite/commit/94e2f98d9769ea17b9e8a6a4788

[jira] [Commented] (CALCITE-4772) PushProjecto convert bug

2021-09-13 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17413972#comment-17413972 ] Ruben Q L commented on CALCITE-4772: [~qianshen] Please set a more specific Jira ti

[jira] [Created] (CALCITE-4773) RelDecorrelator's RemoveSingleAggregateRule produces result with wrong row type

2021-09-13 Thread Ruben Q L (Jira)
Ruben Q L created CALCITE-4773: -- Summary: RelDecorrelator's RemoveSingleAggregateRule produces result with wrong row type Key: CALCITE-4773 URL: https://issues.apache.org/jira/browse/CALCITE-4773 Project

[jira] [Updated] (CALCITE-4773) RelDecorrelator's RemoveSingleAggregateRule produces result with wrong row type

2021-09-13 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-4773: --- Description: The problem can be reproduced with the following test (to be added to {{unnest.iq}}):

[jira] [Updated] (CALCITE-4773) RelDecorrelator's RemoveSingleAggregateRule produces result with wrong row type

2021-09-13 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-4773: --- Description: The problem can be reproduced with the following test (to be added to {{unnest.iq}}):

[jira] [Updated] (CALCITE-4773) RelDecorrelator's RemoveSingleAggregateRule produces result with wrong row type

2021-09-13 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-4773: --- Description: The problem can be reproduced with the following test (to be added to {{unnest.iq}}):

[jira] [Updated] (CALCITE-4773) RelDecorrelator's RemoveSingleAggregateRule produces result with wrong row type

2021-09-13 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-4773: --- Description: The problem can be reproduced with the following test (to be added to {{unnest.iq}}):

[jira] [Updated] (CALCITE-4773) RelDecorrelator's RemoveSingleAggregateRule produces result with wrong row type

2021-09-13 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-4773: --- Attachment: CP-22140_fix.patch > RelDecorrelator's RemoveSingleAggregateRule produces result with w

[jira] [Updated] (CALCITE-4773) RelDecorrelator's RemoveSingleAggregateRule produces result with wrong row type

2021-09-13 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-4773: --- Attachment: (was: CP-22140_fix.patch) > RelDecorrelator's RemoveSingleAggregateRule produces re

[jira] [Updated] (CALCITE-4773) RelDecorrelator's RemoveSingleAggregateRule can produce result with wrong row type

2021-09-13 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-4773: --- Summary: RelDecorrelator's RemoveSingleAggregateRule can produce result with wrong row type (was:

[jira] [Comment Edited] (CALCITE-4773) RelDecorrelator's RemoveSingleAggregateRule can produce result with wrong row type

2021-09-14 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17414767#comment-17414767 ] Ruben Q L edited comment on CALCITE-4773 at 9/14/21, 7:16 AM: ---

[jira] [Commented] (CALCITE-4773) RelDecorrelator's RemoveSingleAggregateRule can produce result with wrong row type

2021-09-14 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17414767#comment-17414767 ] Ruben Q L commented on CALCITE-4773: {quote}No, it always produces a nullable type

[jira] [Commented] (CALCITE-4777) Casting from decimal to boolean throws an exception

2021-09-15 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17415431#comment-17415431 ] Ruben Q L commented on CALCITE-4777: Is casting decimal to boolean something standa

[jira] [Commented] (CALCITE-4773) RelDecorrelator's RemoveSingleAggregateRule can produce result with wrong row type

2021-09-15 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17415530#comment-17415530 ] Ruben Q L commented on CALCITE-4773: [~julianhyde], sorry to insist, but it seems t

[jira] [Comment Edited] (CALCITE-4773) RelDecorrelator's RemoveSingleAggregateRule can produce result with wrong row type

2021-09-15 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17415530#comment-17415530 ] Ruben Q L edited comment on CALCITE-4773 at 9/15/21, 2:23 PM: ---

[jira] [Commented] (CALCITE-4773) RelDecorrelator's RemoveSingleAggregateRule can produce result with wrong row type

2021-09-15 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17415623#comment-17415623 ] Ruben Q L commented on CALCITE-4773: Yes, I manages to reproduce the issue with a s

[jira] [Comment Edited] (CALCITE-4773) RelDecorrelator's RemoveSingleAggregateRule can produce result with wrong row type

2021-09-15 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17415623#comment-17415623 ] Ruben Q L edited comment on CALCITE-4773 at 9/15/21, 4:16 PM: ---

[jira] [Commented] (CALCITE-4773) RelDecorrelator's RemoveSingleAggregateRule can produce result with wrong row type

2021-09-16 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17415933#comment-17415933 ] Ruben Q L commented on CALCITE-4773: Unfortunately, that type of query does not see

[jira] [Commented] (CALCITE-4777) Casting from decimal to boolean throws an exception

2021-09-16 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17416035#comment-17416035 ] Ruben Q L commented on CALCITE-4777: Interestingly, it seems that using scientific

[jira] [Commented] (CALCITE-4777) Casting from decimal to boolean throws an exception

2021-09-16 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17416105#comment-17416105 ] Ruben Q L commented on CALCITE-4777: Thanks for the investigation [~xuyangzhong]. S

[jira] [Commented] (CALCITE-4777) Casting from decimal to boolean throws an exception

2021-09-16 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17416184#comment-17416184 ] Ruben Q L commented on CALCITE-4777: I guess it's a design decision, we should cons

[jira] [Commented] (CALCITE-4773) RelDecorrelator's RemoveSingleAggregateRule can produce result with wrong row type

2021-09-17 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17416539#comment-17416539 ] Ruben Q L commented on CALCITE-4773: Sure, I have committed a refactoring + some co

[jira] [Commented] (CALCITE-4773) RelDecorrelator's RemoveSingleAggregateRule can produce result with wrong row type

2021-09-20 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17417499#comment-17417499 ] Ruben Q L commented on CALCITE-4773: [~julianhyde], do you have further comments ab

[jira] [Commented] (CALCITE-4773) RelDecorrelator's RemoveSingleAggregateRule can produce result with wrong row type

2021-09-21 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17417985#comment-17417985 ] Ruben Q L commented on CALCITE-4773: Comments have been improved, they include now

[jira] [Resolved] (CALCITE-4773) RelDecorrelator's RemoveSingleAggregateRule can produce result with wrong row type

2021-09-24 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L resolved CALCITE-4773. Resolution: Fixed Fixed via https://github.com/apache/calcite/commit/f4db84c3dd1674b929fede53bbd

[jira] [Commented] (CALCITE-4809) Mixed merge join result is incomplete

2021-09-28 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17421268#comment-17421268 ] Ruben Q L commented on CALCITE-4809: Can you provide a unit test? [MergeJoin implem

[jira] [Comment Edited] (CALCITE-4809) Mixed merge join result is incomplete

2021-09-28 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17421268#comment-17421268 ] Ruben Q L edited comment on CALCITE-4809 at 9/28/21, 9:11 AM: ---

[jira] [Commented] (CALCITE-4777) Casting from DECIMAL to BOOLEAN throws an exception

2021-09-30 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17422563#comment-17422563 ] Ruben Q L commented on CALCITE-4777: [~julianhyde], if I understood this correctly,

[jira] [Commented] (CALCITE-4810) Failed to cast a double field (which isn't a literal) to boolean in the test case.

2021-09-30 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17422607#comment-17422607 ] Ruben Q L commented on CALCITE-4810: There are discussions in CALCITE-4777 to decid

[jira] [Created] (CALCITE-4834) JaninoRelMetadataProvider uses hardcoded class name

2021-10-06 Thread Ruben Q L (Jira)
Ruben Q L created CALCITE-4834: -- Summary: JaninoRelMetadataProvider uses hardcoded class name Key: CALCITE-4834 URL: https://issues.apache.org/jira/browse/CALCITE-4834 Project: Calcite Issue Typ

[jira] [Updated] (CALCITE-4834) JaninoRelMetadataProvider uses hardcoded class name

2021-10-06 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-4834: --- Description: This seems caused by CALCITE-4546 ([fbbdf46|https://github.com/apache/calcite/commit/

[jira] [Commented] (CALCITE-4834) JaninoRelMetadataProvider uses hardcoded class name

2021-10-06 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17425047#comment-17425047 ] Ruben Q L commented on CALCITE-4834: FYI [~jamesstarr], [~jcamachorodriguez] > Jan

[jira] [Resolved] (CALCITE-4834) JaninoRelMetadataProvider uses hardcoded class name

2021-10-06 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L resolved CALCITE-4834. Resolution: Fixed Fixed via https://github.com/apache/calcite/commit/50dbd12f14f330f57a321a2402a

[jira] [Commented] (CALCITE-4777) Casting from DECIMAL to BOOLEAN throws an exception

2021-10-07 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17425375#comment-17425375 ] Ruben Q L commented on CALCITE-4777: Just to confirm and to avoid any confusion, wi

[jira] [Updated] (CALCITE-4848) Adding a HAVING condition to a query with a dynamic parameter makes the result empty

2021-10-13 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-4848: --- Fix Version/s: 1.28.0 > Adding a HAVING condition to a query with a dynamic parameter makes the >

[jira] [Resolved] (CALCITE-4848) Adding a HAVING condition to a query with a dynamic parameter makes the result always empty

2021-10-14 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L resolved CALCITE-4848. Resolution: Fixed Fixed via https://github.com/apache/calcite/commit/23e1b1fcae6614fb9b660095125

[jira] [Commented] (CALCITE-3657) EnumerableHashJoin should not use NLogN for costing

2020-01-02 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17006806#comment-17006806 ] Ruben Q L commented on CALCITE-3657: Since this ticket is modifying the computeSelf

[jira] [Created] (CALCITE-3671) Join cost computation should consider join condition (equi vs non-equi)

2020-01-03 Thread Ruben Q L (Jira)
Ruben Q L created CALCITE-3671: -- Summary: Join cost computation should consider join condition (equi vs non-equi) Key: CALCITE-3671 URL: https://issues.apache.org/jira/browse/CALCITE-3671 Project: Calcit

[jira] [Commented] (CALCITE-3657) EnumerableHashJoin should not use NLogN for costing

2020-01-03 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17007326#comment-17007326 ] Ruben Q L commented on CALCITE-3657: Ok [~vladimirsitnikov], I have created CALCITE

[jira] [Updated] (CALCITE-3711) Correlate should override estimateRowCount

2020-01-06 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-3711: --- Description: Currently, Correlate inherits the {{estimateRowCount}} implementation from AbstractRe

[jira] [Created] (CALCITE-3711) Correlate should override estimateRowCount

2020-01-06 Thread Ruben Q L (Jira)
Ruben Q L created CALCITE-3711: -- Summary: Correlate should override estimateRowCount Key: CALCITE-3711 URL: https://issues.apache.org/jira/browse/CALCITE-3711 Project: Calcite Issue Type: Improv

[jira] [Updated] (CALCITE-3711) Correlate should override estimateRowCount

2020-01-06 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-3711: --- Description: Currently, Correlate inherits the {{estimateRowCount}} implementation from AbstractRe

[jira] [Updated] (CALCITE-3711) Correlate should override estimateRowCount

2020-01-06 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-3711: --- Description: Currently, Correlate inherits the {{estimateRowCount}} implementation from AbstractRe

[jira] [Updated] (CALCITE-3711) Correlate should override estimateRowCount

2020-01-06 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-3711: --- Description: Currently, Correlate inherits the {{estimateRowCount}} implementation from AbstractRe

[jira] [Commented] (CALCITE-3671) Join cost computation should consider join condition (equi vs non-equi)

2020-01-06 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17008655#comment-17008655 ] Ruben Q L commented on CALCITE-3671: [~zabetak], (c) is a case that is theoreticall

[jira] [Commented] (CALCITE-3711) Correlate should override estimateRowCount

2020-01-06 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17008670#comment-17008670 ] Ruben Q L commented on CALCITE-3711: [~vladimirsitnikov] that is the override of {{

[jira] [Commented] (CALCITE-3711) Correlate should override estimateRowCount

2020-01-06 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17008681#comment-17008681 ] Ruben Q L commented on CALCITE-3711: I think we could provide a simple implementati

[jira] [Commented] (CALCITE-3711) Correlate should override estimateRowCount

2020-01-06 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17008696#comment-17008696 ] Ruben Q L commented on CALCITE-3711: [~vladimirsitnikov], that was my first intenti

[jira] [Commented] (CALCITE-3671) Join cost computation should consider join condition (equi vs non-equi)

2020-01-06 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17008724#comment-17008724 ] Ruben Q L commented on CALCITE-3671: Yes, we can do that, but in any case (c) could

[jira] [Comment Edited] (CALCITE-3671) Join cost computation should consider join condition (equi vs non-equi)

2020-01-06 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17008724#comment-17008724 ] Ruben Q L edited comment on CALCITE-3671 at 1/6/20 10:55 AM:

[jira] [Comment Edited] (CALCITE-3671) Join cost computation should consider join condition (equi vs non-equi)

2020-01-06 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17008724#comment-17008724 ] Ruben Q L edited comment on CALCITE-3671 at 1/6/20 10:56 AM:

[jira] [Commented] (CALCITE-3711) Correlate should override estimateRowCount

2020-01-06 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17009029#comment-17009029 ] Ruben Q L commented on CALCITE-3711: Thanks [~vladimirsitnikov], that LGTM. I propo

[jira] [Commented] (CALCITE-3711) Correlate should override estimateRowCount

2020-01-07 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17009448#comment-17009448 ] Ruben Q L commented on CALCITE-3711: Thanks for taking care of this [~vladimirsitni

[jira] [Commented] (CALCITE-3285) EnumerableMergeJoin should support non-equi join conditions

2020-01-07 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17009487#comment-17009487 ] Ruben Q L commented on CALCITE-3285: What if we return infinite cost in {{Enumerabl

[jira] [Commented] (CALCITE-2166) Cumulative cost of RelSubset.best RelNode is increased after calling RelSubset.propagateCostImprovements() for input RelNodes

2020-01-08 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17010877#comment-17010877 ] Ruben Q L commented on CALCITE-2166: [~hyuan], it seems that CALCITE-3479 got resol

[jira] [Commented] (CALCITE-2166) Cumulative cost of RelSubset.best RelNode is increased after calling RelSubset.propagateCostImprovements() for input RelNodes

2020-01-08 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17010906#comment-17010906 ] Ruben Q L commented on CALCITE-2166: Thanks for the clarification, [~xndai]. > Cum

[jira] [Commented] (CALCITE-2885) SqlValidatorImpl fails when processing an InferTypes.FIRST_KNOWN function containing a function with a dynamic parameter as first operand

2020-01-30 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17026547#comment-17026547 ] Ruben Q L commented on CALCITE-2885: Thanks for your comment [~jinxing6...@126.com]

[jira] [Created] (CALCITE-3773) Wrong parameter in EnumerableMergeJoin::create method

2020-02-05 Thread Ruben Q L (Jira)
Ruben Q L created CALCITE-3773: -- Summary: Wrong parameter in EnumerableMergeJoin::create method Key: CALCITE-3773 URL: https://issues.apache.org/jira/browse/CALCITE-3773 Project: Calcite Issue T

[jira] [Updated] (CALCITE-3773) Wrong parameter in EnumerableMergeJoin::create method

2020-02-05 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-3773: --- Description: The public {{EnumerableMergeJoin::create}} method takes a {{RexLiteral}} condition as

[jira] [Updated] (CALCITE-3773) Wrong parameter in EnumerableMergeJoin::create method

2020-02-05 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-3773: --- Description: The public {{EnumerableMergeJoin::create}} method takes a {{RexLiteral}} condition as

[jira] [Commented] (CALCITE-3773) Wrong parameter in EnumerableMergeJoin::create method

2020-02-05 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17030736#comment-17030736 ] Ruben Q L commented on CALCITE-3773: Also, this {{EnumerableMergeJoin::create}} met

[jira] [Comment Edited] (CALCITE-3773) Wrong parameter in EnumerableMergeJoin::create method

2020-02-05 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17030736#comment-17030736 ] Ruben Q L edited comment on CALCITE-3773 at 2/5/20 3:24 PM:

[jira] [Commented] (CALCITE-3773) Wrong parameter in EnumerableMergeJoin::create method

2020-02-06 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17031355#comment-17031355 ] Ruben Q L commented on CALCITE-3773: Exactly, [~amaliujia] > Wrong parameter in En

[jira] [Comment Edited] (CALCITE-3773) Wrong parameter in EnumerableMergeJoin::create method

2020-02-06 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17031357#comment-17031357 ] Ruben Q L edited comment on CALCITE-3773 at 2/6/20 8:04 AM:

[jira] [Resolved] (CALCITE-3773) Wrong parameter in EnumerableMergeJoin::create method

2020-02-06 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L resolved CALCITE-3773. Resolution: Fixed Fixed vias https://github.com/apache/calcite/commit/d1e3a97134e4155b3b76a8d803

[jira] [Commented] (CALCITE-3285) EnumerableMergeJoin should support non-equi join conditions

2020-02-06 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17031602#comment-17031602 ] Ruben Q L commented on CALCITE-3285: Hello guys, I have given this another try, wit

[jira] [Commented] (CALCITE-3285) EnumerableMergeJoin should support non-equi join conditions

2020-02-06 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17031633#comment-17031633 ] Ruben Q L commented on CALCITE-3285: Thanks for your reply [~vladimirsitnikov]. The

[jira] [Comment Edited] (CALCITE-3285) EnumerableMergeJoin should support non-equi join conditions

2020-02-06 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17031633#comment-17031633 ] Ruben Q L edited comment on CALCITE-3285 at 2/6/20 2:45 PM:

[jira] [Comment Edited] (CALCITE-3285) EnumerableMergeJoin should support non-equi join conditions

2020-02-06 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17031633#comment-17031633 ] Ruben Q L edited comment on CALCITE-3285 at 2/6/20 3:04 PM:

[jira] [Commented] (CALCITE-3285) EnumerableMergeJoin should support non-equi join conditions

2020-02-06 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17031700#comment-17031700 ] Ruben Q L commented on CALCITE-3285: [~vladimirsitnikov], I understand your point.

[jira] [Created] (CALCITE-3783) Rule to remove Join on top of empty Values

2020-02-11 Thread Ruben Q L (Jira)
Ruben Q L created CALCITE-3783: -- Summary: Rule to remove Join on top of empty Values Key: CALCITE-3783 URL: https://issues.apache.org/jira/browse/CALCITE-3783 Project: Calcite Issue Type: Improv

[jira] [Updated] (CALCITE-3783) Rule to remove Join on top of empty Values

2020-02-11 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-3783: --- Issue Type: Bug (was: Improvement) > Rule to remove Join on top of empty Values >

[jira] [Updated] (CALCITE-3783) PruneEmptyRules#JOIN_RIGHT_INSTANCE wrong behavior for JoinRelType.ANTI

2020-02-11 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-3783: --- Summary: PruneEmptyRules#JOIN_RIGHT_INSTANCE wrong behavior for JoinRelType.ANTI (was: Rule to rem

[jira] [Updated] (CALCITE-3783) PruneEmptyRules#JOIN_RIGHT_INSTANCE wrong behavior for JoinRelType.ANTI

2020-02-11 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-3783: --- Description: {{PruneEmptyRules#JOIN_RIGHT_INSTANCE}} "_converts a Join to empty if its right child

[jira] [Updated] (CALCITE-3783) PruneEmptyRules#JOIN_RIGHT_INSTANCE wrong behavior for JoinRelType.ANTI

2020-02-11 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-3783: --- Description: The rule PruneEmptyRules#JOIN_RIGHT_INSTANCE "_converts a Join to empty if its right

[jira] [Updated] (CALCITE-3783) PruneEmptyRules#JOIN_RIGHT_INSTANCE wrong behavior for JoinRelType.ANTI

2020-02-11 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-3783: --- Description: The rule PruneEmptyRules#JOIN_RIGHT_INSTANCE "_converts a Join to empty if its right

[jira] [Updated] (CALCITE-3783) PruneEmptyRules#JOIN_RIGHT_INSTANCE wrong behavior for JoinRelType.ANTI

2020-02-11 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-3783: --- Affects Version/s: 1.21.0 > PruneEmptyRules#JOIN_RIGHT_INSTANCE wrong behavior for JoinRelType.ANTI

[jira] [Resolved] (CALCITE-3783) PruneEmptyRules#JOIN_RIGHT_INSTANCE wrong behavior for JoinRelType.ANTI

2020-02-12 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L resolved CALCITE-3783. Fix Version/s: 1.22.0 Resolution: Fixed Fixed via https://github.com/apache/calcite/commi

[jira] [Updated] (CALCITE-3783) PruneEmptyRules#JOIN_RIGHT_INSTANCE wrong behavior for JoinRelType.ANTI

2020-02-12 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-3783: --- Description: The rule PruneEmptyRules#JOIN_RIGHT_INSTANCE "_converts a Join to empty if its right

[jira] [Commented] (CALCITE-3783) PruneEmptyRules#JOIN_RIGHT_INSTANCE wrong behavior for JoinRelType.ANTI

2020-02-13 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17036015#comment-17036015 ] Ruben Q L commented on CALCITE-3783: Sorry, [~julianhyde], I did not see your comme

[jira] [Created] (CALCITE-3804) Use RelCollation interface in RelCollationImpl compareTo and satisfies methods

2020-02-17 Thread Ruben Q L (Jira)
Ruben Q L created CALCITE-3804: -- Summary: Use RelCollation interface in RelCollationImpl compareTo and satisfies methods Key: CALCITE-3804 URL: https://issues.apache.org/jira/browse/CALCITE-3804 Project:

[jira] [Resolved] (CALCITE-3804) Use RelCollation interface in RelCollationImpl compareTo and satisfies methods

2020-02-21 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L resolved CALCITE-3804. Resolution: Won't Fix > Use RelCollation interface in RelCollationImpl compareTo and satisfies me

[jira] [Commented] (CALCITE-3804) Use RelCollation interface in RelCollationImpl compareTo and satisfies methods

2020-02-21 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17041756#comment-17041756 ] Ruben Q L commented on CALCITE-3804: After the discussion on the [PR|https://github

[jira] [Comment Edited] (CALCITE-3804) Use RelCollation interface in RelCollationImpl compareTo and satisfies methods

2020-02-21 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17041756#comment-17041756 ] Ruben Q L edited comment on CALCITE-3804 at 2/21/20 10:44 AM: ---

[jira] [Closed] (CALCITE-3804) Use RelCollation interface in RelCollationImpl compareTo and satisfies methods

2020-02-21 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L closed CALCITE-3804. -- > Use RelCollation interface in RelCollationImpl compareTo and satisfies methods > --

<    1   2   3   4   5   6   7   8   9   10   >