[jira] [Resolved] (CALCITE-3167) Remove overriding equals and hashCode methods in EnumerableTableScan

2019-08-20 Thread jin xing (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing resolved CALCITE-3167. --- Resolution: Fixed > Remove overriding equals and hashCode methods in EnumerableTableScan >

[jira] [Commented] (CALCITE-3167) Remove overriding equals and hashCode methods in EnumerableTableScan

2019-08-20 Thread jin xing (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16911878#comment-16911878 ] jin xing commented on CALCITE-3167: --- Fixed in https://github.com/apache/calcite/comm

[jira] [Commented] (CALCITE-3167) Remove overriding equals and hashCode methods in EnumerableTableScan

2019-08-20 Thread jin xing (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16911877#comment-16911877 ] jin xing commented on CALCITE-3167: --- [~julianhyde] Thanks a lot for merging ! > Remo

[jira] [Created] (CALCITE-3262) Refine doc of SubstitutionVisitor.java

2019-08-18 Thread jin xing (JIRA)
jin xing created CALCITE-3262: - Summary: Refine doc of SubstitutionVisitor.java Key: CALCITE-3262 URL: https://issues.apache.org/jira/browse/CALCITE-3262 Project: Calcite Issue Type: Improvement

[jira] [Updated] (CALCITE-3262) Refine doc of SubstitutionVisitor.java

2019-08-18 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3262: -- Description: Current doc of {{SubstitutionVisitor.java}} says the supported core relational operator

[jira] [Assigned] (CALCITE-3226) RelBuilder doesn't keep the alias when scan from an expanded view

2019-08-16 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing reassigned CALCITE-3226: - Assignee: jin xing > RelBuilder doesn't keep the alias when scan from an expanded view > -

[jira] [Comment Edited] (CALCITE-3226) RelBuilder doesn't keep the alias when scan from an expanded view

2019-08-16 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16909567#comment-16909567 ] jin xing edited comment on CALCITE-3226 at 8/17/19 4:06 AM:

[jira] [Commented] (CALCITE-3226) RelBuilder doesn't keep the alias when scan from an expanded view

2019-08-16 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16909567#comment-16909567 ] jin xing commented on CALCITE-3226: --- Thanks a lot for clarify [~rubenql] I think [~ju

[jira] [Created] (CALCITE-3256) Add ProjectOnProjectToProjectUnifyRule for materialization matching.

2019-08-16 Thread jin xing (JIRA)
jin xing created CALCITE-3256: - Summary: Add ProjectOnProjectToProjectUnifyRule for materialization matching. Key: CALCITE-3256 URL: https://issues.apache.org/jira/browse/CALCITE-3256 Project: Calcite

[jira] [Updated] (CALCITE-3251) BinaryExpression evaluate method support Long type.

2019-08-14 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3251: -- Issue Type: Bug (was: Wish) > BinaryExpression evaluate method support Long type. >

[jira] [Assigned] (CALCITE-3251) BinaryExpression evaluate method support Long type.

2019-08-14 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing reassigned CALCITE-3251: - Assignee: (was: jin xing) > BinaryExpression evaluate method support Long type. >

[jira] [Assigned] (CALCITE-3251) BinaryExpression evaluate method support Long type.

2019-08-14 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing reassigned CALCITE-3251: - Assignee: jin xing > BinaryExpression evaluate method support Long type. > ---

[jira] [Updated] (CALCITE-3249) Substitution#getRexShuttle does not consider RexLiteral

2019-08-14 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3249: -- Description: Current {{Substitution#getRexShuttle}} does not take {{RexLiteral}} into consideration.

[jira] [Updated] (CALCITE-3249) Substitution#getRexShuttle does not consider RexLiteral

2019-08-14 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3249: -- Description: Current {{Substitution#getRexShuttle}} does not take {{RexLiteral}} into consideration.

[jira] [Created] (CALCITE-3249) Substitution#getRexShuttle does not consider RexLiteral

2019-08-14 Thread jin xing (JIRA)
jin xing created CALCITE-3249: - Summary: Substitution#getRexShuttle does not consider RexLiteral Key: CALCITE-3249 URL: https://issues.apache.org/jira/browse/CALCITE-3249 Project: Calcite Issue T

[jira] [Commented] (CALCITE-3167) Remove overriding equals and hashCode methods in EnumerableTableScan

2019-08-13 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16906923#comment-16906923 ] jin xing commented on CALCITE-3167: --- [~julianhyde] Thanks a lot for approve. I update

[jira] [Commented] (CALCITE-3167) Remove overriding equals and hashCode methods in EnumerableTableScan

2019-08-13 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16906823#comment-16906823 ] jin xing commented on CALCITE-3167: --- [~julianhyde] Gentle ping ~ In current change, I

[jira] [Assigned] (CALCITE-3167) Remove overriding equals and hashCode methods in EnumerableTableScan

2019-08-13 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing reassigned CALCITE-3167: - Assignee: jin xing > Remove overriding equals and hashCode methods in EnumerableTableScan > --

[jira] [Assigned] (CALCITE-3203) When matching materializations, match Project with child of Aggregate

2019-08-13 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing reassigned CALCITE-3203: - Assignee: jin xing > When matching materializations, match Project with child of Aggregate > -

[jira] [Assigned] (CALCITE-3214) Add UnionToUnionRule for materialization matching

2019-08-12 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing reassigned CALCITE-3214: - Assignee: jin xing > Add UnionToUnionRule for materialization matching > -

[jira] [Assigned] (CALCITE-3223) Non-RexInputRef may fails the matching of FilterToProjectUnifyRule during 'invert' by mistake.

2019-08-12 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing reassigned CALCITE-3223: - Assignee: jin xing > Non-RexInputRef may fails the matching of FilterToProjectUnifyRule during

[jira] [Created] (CALCITE-3239) Calc#accept(RexShuttle shuttle) does not update rowType

2019-08-11 Thread jin xing (JIRA)
jin xing created CALCITE-3239: - Summary: Calc#accept(RexShuttle shuttle) does not update rowType Key: CALCITE-3239 URL: https://issues.apache.org/jira/browse/CALCITE-3239 Project: Calcite Issue T

[jira] [Assigned] (CALCITE-3239) Calc#accept(RexShuttle shuttle) does not update rowType

2019-08-11 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing reassigned CALCITE-3239: - Assignee: jin xing > Calc#accept(RexShuttle shuttle) does not update rowType > ---

[jira] [Commented] (CALCITE-3226) RelBuilder doesn't keep the alias when scan from an expanded view

2019-08-06 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16900713#comment-16900713 ] jin xing commented on CALCITE-3226: --- Thanks a lot for looking into this and sorry for

[jira] [Comment Edited] (CALCITE-3228) Error while applying rule ProjectScanRule: interpreter

2019-08-04 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16899594#comment-16899594 ] jin xing edited comment on CALCITE-3228 at 8/4/19 9:33 AM: --- [

[jira] [Comment Edited] (CALCITE-3228) Error while applying rule ProjectScanRule: interpreter

2019-08-04 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16899594#comment-16899594 ] jin xing edited comment on CALCITE-3228 at 8/4/19 9:28 AM: --- [

[jira] [Commented] (CALCITE-3228) Error while applying rule ProjectScanRule: interpreter

2019-08-04 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16899594#comment-16899594 ] jin xing commented on CALCITE-3228: --- [^CALCITE-3228.patch] Hi [~Chunwei Lei] I try t

[jira] [Updated] (CALCITE-3228) Error while applying rule ProjectScanRule: interpreter

2019-08-04 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3228: -- Attachment: CALCITE-3228.patch > Error while applying rule ProjectScanRule: interpreter > ---

[jira] [Updated] (CALCITE-3226) RelBuilder doesn't keep the alias when scan from an expanded view

2019-08-01 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3226: -- Description: In current implementation of {{RelBuilder::scan}} ([https://github.com/apache/calcite/b

[jira] [Created] (CALCITE-3226) RelBuilder doesn't keep the alias when scan from an expanded view

2019-08-01 Thread jin xing (JIRA)
jin xing created CALCITE-3226: - Summary: RelBuilder doesn't keep the alias when scan from an expanded view Key: CALCITE-3226 URL: https://issues.apache.org/jira/browse/CALCITE-3226 Project: Calcite

[jira] [Updated] (CALCITE-3223) Non-RexInputRef may fails the matching of FilterToProjectUnifyRule during 'invert' by mistake.

2019-07-31 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3223: -- Description: In current code of {{FilterToProjectUnifyRule::invert}}(https://github.com/apache/calci

[jira] [Updated] (CALCITE-3223) Non-RexInputRef may fails the matching of FilterToProjectUnifyRule during 'invert' by mistake.

2019-07-31 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3223: -- Description: In current code of {{FilterToProjectUnifyRule::invert}}(https://github.com/apache/calci

[jira] [Created] (CALCITE-3223) Non-RexInputRef may fails the matching of FilterToProjectUnifyRule during 'invert' by mistake.

2019-07-31 Thread jin xing (JIRA)
jin xing created CALCITE-3223: - Summary: Non-RexInputRef may fails the matching of FilterToProjectUnifyRule during 'invert' by mistake. Key: CALCITE-3223 URL: https://issues.apache.org/jira/browse/CALCITE-3223

[jira] [Commented] (CALCITE-3211) List of MutableRel may fail to be identified by SubstitutionVisitor during matching

2019-07-29 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16895748#comment-16895748 ] jin xing commented on CALCITE-3211: --- Thanks a lot [~julianhyde] "People should not ca

[jira] [Updated] (CALCITE-3211) List of MutableRel may fail to be identified by SubstitutionVisitor during matching

2019-07-29 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3211: -- Summary: List of MutableRel may fail to be identified by SubstitutionVisitor during matching (was: M

[jira] [Updated] (CALCITE-3211) MutableRel returned from MutableRels::toMutables may fail to be identified by SubstitutionVisitor during matching

2019-07-29 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3211: -- Issue Type: Bug (was: Improvement) > MutableRel returned from MutableRels::toMutables may fail to b

[jira] [Updated] (CALCITE-3211) MutableRel returned from MutableRels::toMutables may fail to be identified by SubstitutionVisitor during matching

2019-07-29 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3211: -- Issue Type: Improvement (was: Bug) > MutableRel returned from MutableRels::toMutables may fail to b

[jira] [Comment Edited] (CALCITE-3211) MutableRel returned from MutableRels::toMutables may fail to be identified by SubstitutionVisitor during matching

2019-07-28 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16893336#comment-16893336 ] jin xing edited comment on CALCITE-3211 at 7/29/19 2:33 AM:

[jira] [Updated] (CALCITE-3211) MutableRel returned from MutableRels::toMutables may fail to be identified by SubstitutionVisitor during matching

2019-07-25 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3211: -- Summary: MutableRel returned from MutableRels::toMutables may fail to be identified by SubstitutionV

[jira] [Updated] (CALCITE-3211) MutableRel returned from MutableRels::toMutables may fail to be identified by Subs

2019-07-25 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3211: -- Summary: MutableRel returned from MutableRels::toMutables may fail to be identified by Subs (was: M

[jira] [Comment Edited] (CALCITE-3211) MutableRel returned from MutableRels::toMutables may lose reference to parent

2019-07-25 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16893336#comment-16893336 ] jin xing edited comment on CALCITE-3211 at 7/26/19 5:29 AM:

[jira] [Comment Edited] (CALCITE-3211) MutableRel returned from MutableRels::toMutables may lose reference to parent

2019-07-25 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16893336#comment-16893336 ] jin xing edited comment on CALCITE-3211 at 7/26/19 5:28 AM:

[jira] [Comment Edited] (CALCITE-3211) MutableRel returned from MutableRels::toMutables may lose reference to parent

2019-07-25 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16893336#comment-16893336 ] jin xing edited comment on CALCITE-3211 at 7/26/19 5:28 AM:

[jira] [Commented] (CALCITE-3211) MutableRel returned from MutableRels::toMutables may lose reference to parent

2019-07-25 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16893336#comment-16893336 ] jin xing commented on CALCITE-3211: --- [~julianhyde] Thanks a lot for reply ~ I update

[jira] [Updated] (CALCITE-3211) MutableRel returned from MutableRels::toMutables may lose reference to parent

2019-07-25 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3211: -- Description: Current implementation of {{MutableRels::toMutables}} is as below: {code:java} privat

[jira] [Created] (CALCITE-3214) Add UnionToUnionRule for materialization matching

2019-07-25 Thread jin xing (JIRA)
jin xing created CALCITE-3214: - Summary: Add UnionToUnionRule for materialization matching Key: CALCITE-3214 URL: https://issues.apache.org/jira/browse/CALCITE-3214 Project: Calcite Issue Type: B

[jira] [Updated] (CALCITE-3211) MutableRel returned from MutableRels::toMutables may lose reference to parent

2019-07-25 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3211: -- Description: Current implementation of {{MutableRels::toMutables}} is as below: {code:java} privat

[jira] [Created] (CALCITE-3211) MutableRel returned from MutableRels::toMutables may lose reference to parent

2019-07-25 Thread jin xing (JIRA)
jin xing created CALCITE-3211: - Summary: MutableRel returned from MutableRels::toMutables may lose reference to parent Key: CALCITE-3211 URL: https://issues.apache.org/jira/browse/CALCITE-3211 Project: Ca

[jira] [Updated] (CALCITE-3209) When calling MutableMultiRel::setInput, exception thrown

2019-07-24 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3209: -- Summary: When calling MutableMultiRel::setInput, exception thrown (was: When calling MutableMultiRel

[jira] [Updated] (CALCITE-3209) When calling MutableMultiRel:: setInput, exception thrown

2019-07-24 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3209: -- Summary: When calling MutableMultiRel:: setInput, exception thrown (was: Store inputs of MutableMult

[jira] [Commented] (CALCITE-3209) Store inputs of MutableMultiRel by ArrayList rather than ImmutableList

2019-07-24 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16892356#comment-16892356 ] jin xing commented on CALCITE-3209: --- THX [~julianhyde] I will update the commit-heade

[jira] [Updated] (CALCITE-3209) Store inputs of MutableMultiRel by ArrayList rather than ImmutableList

2019-07-24 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3209: -- Description: When digging code of materialization matching. I found the current implementation of {{

[jira] [Created] (CALCITE-3209) Store inputs of MutableMultiRel by ArrayList rather than ImmutableList

2019-07-24 Thread jin xing (JIRA)
jin xing created CALCITE-3209: - Summary: Store inputs of MutableMultiRel by ArrayList rather than ImmutableList Key: CALCITE-3209 URL: https://issues.apache.org/jira/browse/CALCITE-3209 Project: Calcite

[jira] [Closed] (CALCITE-3206) Better error message when param type incompatibility

2019-07-22 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing closed CALCITE-3206. - Resolution: Duplicate > Better error message when param type incompatibility >

[jira] [Commented] (CALCITE-3206) Better error message when param type incompatibility

2019-07-22 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16890684#comment-16890684 ] jin xing commented on CALCITE-3206: --- THX [~danny0405] I will close this issue > Bet

[jira] [Comment Edited] (CALCITE-3207) Bug of 'JoinRelNode Convert SqlStatement'

2019-07-22 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16890195#comment-16890195 ] jin xing edited comment on CALCITE-3207 at 7/22/19 2:15 PM:

[jira] [Comment Edited] (CALCITE-3207) Bug of 'JoinRelNode Convert SqlStatement'

2019-07-22 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16890195#comment-16890195 ] jin xing edited comment on CALCITE-3207 at 7/22/19 2:15 PM:

[jira] [Commented] (CALCITE-3207) Bug of 'JoinRelNode Convert SqlStatement'

2019-07-22 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16890195#comment-16890195 ] jin xing commented on CALCITE-3207: --- Hi [~wojustme] I create a test like below   {co

[jira] [Updated] (CALCITE-3206) Better error message when param type incompatibility

2019-07-22 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3206: -- Description: In current code, when we query like below {code:java} @Test public void test() {

[jira] [Created] (CALCITE-3206) Better error message when param type incompatibility

2019-07-22 Thread jin xing (JIRA)
jin xing created CALCITE-3206: - Summary: Better error message when param type incompatibility Key: CALCITE-3206 URL: https://issues.apache.org/jira/browse/CALCITE-3206 Project: Calcite Issue Type

[jira] [Closed] (CALCITE-3197) Convert data of Timestamp/Time/Date as original form when enumerating from ArrayTable

2019-07-22 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing closed CALCITE-3197. - Resolution: Invalid > Convert data of Timestamp/Time/Date as original form when enumerating from > Arr

[jira] [Comment Edited] (CALCITE-3197) Convert data of Timestamp/Time/Date as original form when enumerating from ArrayTable

2019-07-22 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16890125#comment-16890125 ] jin xing edited comment on CALCITE-3197 at 7/22/19 12:42 PM:

[jira] [Commented] (CALCITE-3197) Convert data of Timestamp/Time/Date as original form when enumerating from ArrayTable

2019-07-22 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16890125#comment-16890125 ] jin xing commented on CALCITE-3197: --- THX for your shepherd ~ [~julianhyde] Now I can

[jira] [Updated] (CALCITE-3203) When matching materializations, match Project with child of Aggregate

2019-07-20 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3203: -- Description: In current code, {{SubstitutionVisitor}} & {{MaterializedViewSubstitutionVisitor}} fail

[jira] [Updated] (CALCITE-3203) When matching materializations, match Project with child of Aggregate

2019-07-20 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3203: -- Description: In current code, {{SubstitutionVisitor}} & {{MaterializedViewSubstitutionVisitor}} fail

[jira] [Created] (CALCITE-3203) When matching materializations, match Project with child of Aggregate

2019-07-20 Thread jin xing (JIRA)
jin xing created CALCITE-3203: - Summary: When matching materializations, match Project with child of Aggregate Key: CALCITE-3203 URL: https://issues.apache.org/jira/browse/CALCITE-3203 Project: Calcite

[jira] [Commented] (CALCITE-3167) Remove overriding equals and hashCode methods in EnumerableTableScan

2019-07-19 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=1611#comment-1611 ] jin xing commented on CALCITE-3167: --- [~amargoor] Gentle ping ~ ideas on this ? > Rem

[jira] [Commented] (CALCITE-3197) Convert data of Timestamp/Time/Date as original form when enumerating from ArrayTable

2019-07-19 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=1610#comment-1610 ] jin xing commented on CALCITE-3197: --- [~julianhyde] As you shepherded -- it's bad idea

[jira] [Commented] (CALCITE-3197) Convert data of Timestamp/Time/Date as original form when enumerating from ArrayTable

2019-07-15 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16885816#comment-16885816 ] jin xing commented on CALCITE-3197: --- [~julianhyde] THX a lot for comment. “The idea

[jira] [Updated] (CALCITE-3197) Convert data of Timestamp/Time/Date as original form when enumerating from ArrayTable

2019-07-13 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3197: -- Description: In current implementation ColumnLoader, data of {{Rep.JAVA_SQL_TIMESTAMP/Rep.JAVA_SQL_T

[jira] [Created] (CALCITE-3197) Convert data of Timestamp/Time/Date as original form when enumerating from ArrayTable

2019-07-13 Thread jin xing (JIRA)
jin xing created CALCITE-3197: - Summary: Convert data of Timestamp/Time/Date as original form when enumerating from ArrayTable Key: CALCITE-3197 URL: https://issues.apache.org/jira/browse/CALCITE-3197 Pro

[jira] [Commented] (CALCITE-3113) Equivalent MutableAggregates with different row types fail with AssertionError

2019-07-09 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881388#comment-16881388 ] jin xing commented on CALCITE-3113: --- THX a lot [~rubenql], I will refine by your comm

[jira] [Comment Edited] (CALCITE-3113) Equivalent MutableAggregates with different row types fail with AssertionError

2019-07-09 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881286#comment-16881286 ] jin xing edited comment on CALCITE-3113 at 7/9/19 3:02 PM: --- I

[jira] [Commented] (CALCITE-3113) Equivalent MutableAggregates with different row types fail with AssertionError

2019-07-09 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881286#comment-16881286 ] jin xing commented on CALCITE-3113: --- I made a PR to illustrate my idea, I'm not sure

[jira] [Comment Edited] (CALCITE-3113) Equivalent MutableAggregates with different row types fail with AssertionError

2019-07-08 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16880958#comment-16880958 ] jin xing edited comment on CALCITE-3113 at 7/9/19 6:11 AM: --- I

[jira] [Commented] (CALCITE-3113) Equivalent MutableAggregates with different row types fail with AssertionError

2019-07-08 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16880958#comment-16880958 ] jin xing commented on CALCITE-3113: --- In SQLs below, Aggregations operator in both mat

[jira] [Updated] (CALCITE-3182) Trim unused fields for plan of materialized-view before matching.

2019-07-08 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3182: -- Description: In current code, before matching query with materialized-view, unused fields of query i

[jira] [Updated] (CALCITE-3182) Trim unused fields for plan of materialized-view before matching.

2019-07-08 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3182: -- Description: In current code, before matching query with materialized-view, unused fields of query i

[jira] [Updated] (CALCITE-3182) Trim unused fields for plan of materialized-view before matching.

2019-07-08 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3182: -- Issue Type: Bug (was: Improvement) > Trim unused fields for plan of materialized-view before matchin

[jira] [Updated] (CALCITE-3182) Trim unused fields for plan of materialized-view before matching.

2019-07-08 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3182: -- Description: In current code, before matching query with materialized-view, unused fields of query i

[jira] [Created] (CALCITE-3182) Trim unused fields for plan of materialized-view before matching.

2019-07-08 Thread jin xing (JIRA)
jin xing created CALCITE-3182: - Summary: Trim unused fields for plan of materialized-view before matching. Key: CALCITE-3182 URL: https://issues.apache.org/jira/browse/CALCITE-3182 Project: Calcite

[jira] [Commented] (CALCITE-3167) Remove overriding equals and hashCode methods in EnumerableTableScan

2019-07-03 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878284#comment-16878284 ] jin xing commented on CALCITE-3167: --- [~amargoor]  Gentle ping~ It's great if you can

[jira] [Comment Edited] (CALCITE-3167) Remove overriding equals and hashCode methods in EnumerableTableScan

2019-07-03 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16877833#comment-16877833 ] jin xing edited comment on CALCITE-3167 at 7/3/19 1:28 PM: --- T

[jira] [Commented] (CALCITE-3167) Remove overriding equals and hashCode methods in EnumerableTableScan

2019-07-03 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16877833#comment-16877833 ] jin xing commented on CALCITE-3167: --- Thanks a lot for reply [~julianhyde] # I also t

[jira] [Updated] (CALCITE-3167) Remove redundant overriding methods of equals&hashcode in EnumerableTableScan.java

2019-07-02 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-3167: -- Description: In current code of EnumerableTableScan.java, methods of equals&hashCode are overrided f

[jira] [Created] (CALCITE-3167) Remove redundant overriding methods of equals&hashcode in EnumerableTableScan.java

2019-07-02 Thread jin xing (JIRA)
jin xing created CALCITE-3167: - Summary: Remove redundant overriding methods of equals&hashcode in EnumerableTableScan.java Key: CALCITE-3167 URL: https://issues.apache.org/jira/browse/CALCITE-3167 Projec

[jira] [Commented] (CALCITE-2997) Avoid pushing down join condition in SqlToRelConverter

2019-04-14 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16817584#comment-16817584 ] jin xing commented on CALCITE-2997: --- THX a lot for comments ~Chunwei and ~Danny, Our

[jira] [Created] (CALCITE-2997) Avoid pushing down join condition in SqlToRelConverter

2019-04-13 Thread jin xing (JIRA)
jin xing created CALCITE-2997: - Summary: Avoid pushing down join condition in SqlToRelConverter Key: CALCITE-2997 URL: https://issues.apache.org/jira/browse/CALCITE-2997 Project: Calcite Issue Ty

[jira] [Updated] (CALCITE-2997) Avoid pushing down join condition in SqlToRelConverter

2019-04-13 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jin xing updated CALCITE-2997: -- Description: In current code, *SqlToRelConverter:createJoin* is calling *RelOptUtil.pushDownJoinCond

<    1   2   3   4