[jira] [Commented] (CALCITE-5070) Upgrade Jekyll and ruby gems for site generation

2022-03-31 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17515330#comment-17515330 ] Ruben Q L commented on CALCITE-5070: [~francischuang], [~libenchao], I have created a dedicated

[jira] [Assigned] (CALCITE-5075) Build fails due to rat check on Gemfile.lock

2022-03-31 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L reassigned CALCITE-5075: -- Assignee: Ruben Q L > Build fails due to rat check on Gemfile.lock >

[jira] [Created] (CALCITE-5075) Build fails due to rat check on Gemfile.lock

2022-03-31 Thread Ruben Q L (Jira)
Ruben Q L created CALCITE-5075: -- Summary: Build fails due to rat check on Gemfile.lock Key: CALCITE-5075 URL: https://issues.apache.org/jira/browse/CALCITE-5075 Project: Calcite Issue Type: Bug

[jira] [Commented] (CALCITE-5060) SqlTypeUtil#canAssignFrom cover Map/Row/Multiset

2022-03-23 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1757#comment-1757 ] Ruben Q L commented on CALCITE-5060: [~lam167] could you please add a small description in Jira

[jira] [Commented] (CALCITE-5048) Query crashes `not a literal` for dynamic parameter

2022-03-16 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17507692#comment-17507692 ] Ruben Q L commented on CALCITE-5048: If I am not mistaken, there are parts of the code inside

[jira] [Resolved] (CALCITE-5019) Avoid multiple scans when table is ProjectableFilterableTable

2022-03-03 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L resolved CALCITE-5019. Resolution: Fixed Fixed via

[jira] [Updated] (CALCITE-5019) Avoid multiple scans when table is ProjectableFilterableTable

2022-03-03 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-5019: --- Fix Version/s: 1.30.0 > Avoid multiple scans when table is ProjectableFilterableTable >

[jira] [Updated] (CALCITE-5019) Avoid multiple scans when table is ProjectableFilterableTable

2022-03-03 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-5019: --- Affects Version/s: 1.29.0 (was: 1.30.0) > Avoid multiple scans when

[jira] [Resolved] (CALCITE-4054) RepeatUnion containing a Correlate with a transientScan on its RHS causes NPE

2022-02-18 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L resolved CALCITE-4054. Resolution: Fixed > RepeatUnion containing a Correlate with a transientScan on its RHS causes

[jira] [Resolved] (CALCITE-3673) ListTransientTable should not leave tables in the schema

2022-02-18 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L resolved CALCITE-3673. Resolution: Fixed > ListTransientTable should not leave tables in the schema >

[jira] [Commented] (CALCITE-3673) ListTransientTable should not leave tables in the schema

2022-02-18 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17494660#comment-17494660 ] Ruben Q L commented on CALCITE-3673: Fixed via

[jira] [Commented] (CALCITE-4054) RepeatUnion containing a Correlate with a transientScan on its RHS causes NPE

2022-02-18 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17494661#comment-17494661 ] Ruben Q L commented on CALCITE-4054: Fixed via

[jira] [Commented] (CALCITE-4999) `least restrictive` type inference does not work when one operand is scalar and another is row with one field

2022-02-17 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17493757#comment-17493757 ] Ruben Q L commented on CALCITE-4999: bq. So I think the solution is to return an array of scalars

[jira] [Commented] (CALCITE-4999) `least restrictive` type inference does not work when one operand is scalar and another is row with one field

2022-02-16 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17493206#comment-17493206 ] Ruben Q L commented on CALCITE-4999: [~dmsysolyatin] you can find some draft versions of the

[jira] [Resolved] (CALCITE-4995) AssertionError caused by RelFieldTrimmer on SEMI/ANTI join

2022-02-15 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L resolved CALCITE-4995. Resolution: Fixed > AssertionError caused by RelFieldTrimmer on SEMI/ANTI join >

[jira] [Commented] (CALCITE-4995) AssertionError caused by RelFieldTrimmer on SEMI/ANTI join

2022-02-15 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17492710#comment-17492710 ] Ruben Q L commented on CALCITE-4995: Fixed via

[jira] [Commented] (CALCITE-4999) `least restrictive` type inference does not work when one operand is scalar and another is row with one field

2022-02-15 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17492473#comment-17492473 ] Ruben Q L commented on CALCITE-4999: If I an not mistaken, the current Calcite implementation seems

[jira] [Commented] (CALCITE-4995) AssertionError caused by RelFieldTrimmer on SEMI/ANTI join

2022-02-08 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17488808#comment-17488808 ] Ruben Q L commented on CALCITE-4995: Thanks for the feedback [~wojustme]. I'm not very familiar

[jira] [Created] (CALCITE-5003) MergeUnion on types with different collators produces wrong result

2022-02-08 Thread Ruben Q L (Jira)
Ruben Q L created CALCITE-5003: -- Summary: MergeUnion on types with different collators produces wrong result Key: CALCITE-5003 URL: https://issues.apache.org/jira/browse/CALCITE-5003 Project: Calcite

[jira] [Updated] (CALCITE-4999) `least restrictive` type inference does not work when one operand is scalar and another is row with one field

2022-02-04 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-4999: --- Labels: pull-request-available (was: ) > `least restrictive` type inference does not work when

[jira] [Commented] (CALCITE-4995) AssertionError caused by RelFieldTrimmer on SEMI/ANTI join

2022-02-03 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17486524#comment-17486524 ] Ruben Q L commented on CALCITE-4995: [~julianhyde], I think you were the initial contributor to the

[jira] [Updated] (CALCITE-4995) AssertionError caused by RelFieldTrimmer on SEMI/ANTI join

2022-01-31 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-4995: --- Fix Version/s: 1.30.0 > AssertionError caused by RelFieldTrimmer on SEMI/ANTI join >

[jira] [Commented] (CALCITE-4995) AssertionError caused by RelFieldTrimmer on SEMI/ANTI join

2022-01-31 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17484634#comment-17484634 ] Ruben Q L commented on CALCITE-4995: Problem can be reproduced with the following test (to be added

[jira] [Updated] (CALCITE-4995) AssertionError caused by RelFieldTrimmer on SEMI/ANTI join

2022-01-31 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-4995: --- Description: It seems {{RelFieldTrimmer}} can cause an {{AssertionError}} (or later an

[jira] [Updated] (CALCITE-4995) AssertionError caused by RelFieldTrimmer on SEMI/ANTI join

2022-01-31 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-4995: --- Description: (Unit test to be provided) It seems {{RelFieldTrimmer}} can cause an

[jira] [Updated] (CALCITE-4995) AssertionError caused by RelFieldTrimmer on SEMI/ANTI join

2022-01-31 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-4995: --- Summary: AssertionError caused by RelFieldTrimmer on SEMI/ANTI join (was:

[jira] [Created] (CALCITE-4995) ArrayIndexOutOfBoundsException caused by RelFieldTrimmer on SEMI/ANTI join

2022-01-31 Thread Ruben Q L (Jira)
Ruben Q L created CALCITE-4995: -- Summary: ArrayIndexOutOfBoundsException caused by RelFieldTrimmer on SEMI/ANTI join Key: CALCITE-4995 URL: https://issues.apache.org/jira/browse/CALCITE-4995 Project:

[jira] [Updated] (CALCITE-4054) RepeatUnion containing a Correlate with a transientScan on its RHS causes NPE

2022-01-13 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-4054: --- Labels: pull-request-available (was: ) > RepeatUnion containing a Correlate with a transientScan

[jira] [Updated] (CALCITE-3673) ListTransientTable should not leave tables in the schema

2022-01-13 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-3673: --- Fix Version/s: 1.30.0 > ListTransientTable should not leave tables in the schema >

[jira] [Updated] (CALCITE-4054) RepeatUnion containing a Correlate with a transientScan on its RHS causes NPE

2022-01-13 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-4054: --- Fix Version/s: 1.30.0 > RepeatUnion containing a Correlate with a transientScan on its RHS causes

[jira] [Assigned] (CALCITE-3673) ListTransientTable should not leave tables in the schema

2022-01-13 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L reassigned CALCITE-3673: -- Assignee: Ruben Q L > ListTransientTable should not leave tables in the schema >

[jira] [Assigned] (CALCITE-4054) RepeatUnion containing a Correlate with a transientScan on its RHS causes NPE

2022-01-13 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L reassigned CALCITE-4054: -- Assignee: Ruben Q L > RepeatUnion containing a Correlate with a transientScan on its RHS

[jira] [Resolved] (CALCITE-4737) Add RelOptPlanner visualizer for debugging

2021-12-17 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L resolved CALCITE-4737. Resolution: Fixed Fixed via

[jira] [Commented] (CALCITE-4737) Add Volcano visualizer for debugging

2021-12-16 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17460721#comment-17460721 ] Ruben Q L commented on CALCITE-4737: [~zabetak], I agree to postpone the property discussion into a

[jira] [Commented] (CALCITE-4737) Add Volcano visualizer for debugging

2021-12-16 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17460648#comment-17460648 ] Ruben Q L commented on CALCITE-4737: In {{org/apache/calcite/config/CalciteSystemProperty.java}}

[jira] [Resolved] (CALCITE-4941) SemiJoinRule loses hints

2021-12-15 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L resolved CALCITE-4941. Resolution: Fixed Fixed via

[jira] [Created] (CALCITE-4941) SemiJoinRule loses hints

2021-12-14 Thread Ruben Q L (Jira)
Ruben Q L created CALCITE-4941: -- Summary: SemiJoinRule loses hints Key: CALCITE-4941 URL: https://issues.apache.org/jira/browse/CALCITE-4941 Project: Calcite Issue Type: Bug

[jira] [Updated] (CALCITE-4930) Update log4j2 version to 2.15.0

2021-12-10 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-4930: --- Fix Version/s: 1.29.0 > Update log4j2 version to 2.15.0 > --- > >

[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

[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] [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=17425375#comment-17425375 ] Ruben Q L commented on CALCITE-4777: Just to confirm and to avoid any confusion, with the proposed

[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

[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=17425047#comment-17425047 ] Ruben Q L commented on CALCITE-4834: FYI [~jamesstarr], [~jcamachorodriguez] >

[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

[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

[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=17422607#comment-17422607 ] Ruben Q L commented on CALCITE-4810: There are discussions in CALCITE-4777 to decide whether or not

[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=17422563#comment-17422563 ] Ruben Q L commented on CALCITE-4777: [~julianhyde], if I understood this correctly, the purpose of

[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=17421268#comment-17421268 ] Ruben Q L edited comment on CALCITE-4809 at 9/28/21, 9:11 AM: -- Can you

[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=17421268#comment-17421268 ] Ruben Q L commented on CALCITE-4809: Can you provide a unit test? [MergeJoin implementation has a

[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

[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=17417985#comment-17417985 ] Ruben Q L commented on CALCITE-4773: Comments have been improved, they include now an example of

[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=17417499#comment-17417499 ] Ruben Q L commented on CALCITE-4773: [~julianhyde], do you have further comments about this ticket?

[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=17416539#comment-17416539 ] Ruben Q L commented on CALCITE-4773: Sure, I have committed a refactoring + some comment

[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=17416184#comment-17416184 ] Ruben Q L commented on CALCITE-4777: I guess it's a design decision, we should consider: - From

[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=17416105#comment-17416105 ] Ruben Q L commented on CALCITE-4777: Thanks for the investigation [~xuyangzhong]. So it seems we

[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=17416035#comment-17416035 ] Ruben Q L commented on CALCITE-4777: Interestingly, it seems that using scientific notation e.g.

[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=17415933#comment-17415933 ] Ruben Q L commented on CALCITE-4773: Unfortunately, that type of query does not seem to generate a

[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=17415623#comment-17415623 ] Ruben Q L edited comment on CALCITE-4773 at 9/15/21, 4:16 PM: -- Yes, I

[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=17415623#comment-17415623 ] Ruben Q L commented on CALCITE-4773: Yes, I manages to reproduce the issue with a simpler test:

[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=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=17415530#comment-17415530 ] Ruben Q L commented on CALCITE-4773: [~julianhyde], sorry to insist, but it seems to me that the

[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=17415431#comment-17415431 ] Ruben Q L commented on CALCITE-4777: Is casting decimal to boolean something standard? I just tried

[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=17414767#comment-17414767 ] Ruben Q L edited comment on CALCITE-4773 at 9/14/21, 7:16 AM: -- {quote}No,

[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=17414767#comment-17414767 ] Ruben Q L commented on CALCITE-4773: {quote}No, it always produces a nullable type ... {quote} But

[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] [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

[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

[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

[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

[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

[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

[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

[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=17413972#comment-17413972 ] Ruben Q L commented on CALCITE-4772: [~qianshen] Please set a more specific Jira title, it should

[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

[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=17402078#comment-17402078 ] Ruben Q L commented on CALCITE-4741: Thanks [~hyuan] for pointing it out! I will link that ticket

[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 >

[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

[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] [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:

[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] [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] [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=17365567#comment-17365567 ] Ruben Q L commented on CALCITE-4621: FYI [~julianhyde] I have created a

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

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

[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=17354350#comment-17354350 ] Ruben Q L commented on CALCITE-4617: [~sylvaincrozon] I have the impression that your original

[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=17353694#comment-17353694 ] Ruben Q L commented on CALCITE-4617: [~julianhyde], if I am not mistaken, your proposed query 0

[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=17353095#comment-17353095 ] Ruben Q L edited comment on CALCITE-4617 at 5/28/21, 9:06 AM: -- [~zabetak]

[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=17353106#comment-17353106 ] Ruben Q L commented on CALCITE-4621: Thanks for the feedback [~julianhyde]. Those are valid points

[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=17353095#comment-17353095 ] Ruben Q L commented on CALCITE-4617: [~zabetak] IMO ready to go, I'll proceed with the merge. >

[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

[jira] [Commented] (CALCITE-4608) Fix NullPointerException in SqlNumericLiteral.isInteger()

2021-05-26 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17351928#comment-17351928 ] Ruben Q L commented on CALCITE-4608: bq. Wouldn't it be better to just set the SqlTypeName in

[jira] [Updated] (CALCITE-4623) Review if SemiJoinRule shall / shall not match SEMI join

2021-05-26 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-4623: --- Description: Issue pointed out by [~zabetak] during the review of CALCITE-4621. Currently,

[jira] [Created] (CALCITE-4623) Review if SemiJoinRule shall / shall not match SEMI join

2021-05-26 Thread Ruben Q L (Jira)
Ruben Q L created CALCITE-4623: -- Summary: Review if SemiJoinRule shall / shall not match SEMI join Key: CALCITE-4623 URL: https://issues.apache.org/jira/browse/CALCITE-4623 Project: Calcite

[jira] [Commented] (CALCITE-4608) Fix NullPointerException in SqlNumericLiteral.isInteger()

2021-05-26 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17351681#comment-17351681 ] Ruben Q L commented on CALCITE-4608: +1 on changing {{prec}} and {{scale}} fields to {{public final

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

2021-05-26 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17351616#comment-17351616 ] Ruben Q L commented on CALCITE-4617: Thanks for the clear explanation, [~julianhyde]. Just

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

2021-05-25 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17351139#comment-17351139 ] Ruben Q L edited comment on CALCITE-4617 at 5/25/21, 3:39 PM: -- Ok, let's

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

2021-05-25 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17351139#comment-17351139 ] Ruben Q L commented on CALCITE-4617: Ok, let's keep the fetch out of the scope of the current

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

2021-05-25 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17351062#comment-17351062 ] Ruben Q L commented on CALCITE-4617: Thanks for the clarification [~sylvaincrozon], it makes sense.

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

2021-05-25 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17351045#comment-17351045 ] Ruben Q L commented on CALCITE-4621: [~zabetak] the rule uses the "new" interface

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

2021-05-25 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 updated CALCITE-4621: --- Description: Credits to [~thomas.rebele] for discovering the issue. When SemiJoinRule (both

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

2021-05-25 Thread Ruben Q L (Jira)
Ruben Q L created CALCITE-4621: -- Summary: SemiJoinRule throws AssertionError on ANTI join Key: CALCITE-4621 URL: https://issues.apache.org/jira/browse/CALCITE-4621 Project: Calcite Issue Type:

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