[jira] [Updated] (CALCITE-3173) RexNode Code Generation Problem

2019-08-16 Thread Stamatis Zampetakis (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stamatis Zampetakis updated CALCITE-3173: - Priority: Critical (was: Major) > RexNode Code Generation Problem >

[jira] [Updated] (CALCITE-2302) Implicit type cast support

2019-08-16 Thread Stamatis Zampetakis (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stamatis Zampetakis updated CALCITE-2302: - Priority: Critical (was: Major) > Implicit type cast support >

[jira] [Commented] (CALCITE-2302) Implicit type cast support

2019-08-16 Thread Stamatis Zampetakis (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16909601#comment-16909601 ] Stamatis Zampetakis commented on CALCITE-2302: -- I think we agreed that it should be

[jira] [Commented] (CALCITE-3257) Need to clear RelMetaDataQuery cache after dumping RelNodes and Graphviz

2019-08-16 Thread Stamatis Zampetakis (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16909599#comment-16909599 ] Stamatis Zampetakis commented on CALCITE-3257: -- This is exactly the same problem with

[jira] [Updated] (CALCITE-3259) Align 'Property' in the serialized xml string of RelXmlWriter.

2019-08-16 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-3259: Labels: pull-request-available (was: ) > Align 'Property' in the serialized xml string

[jira] [Created] (CALCITE-3259) Align 'Property' in the serialized xml string of RelXmlWriter.

2019-08-16 Thread Wang Yanlin (JIRA)
Wang Yanlin created CALCITE-3259: Summary: Align 'Property' in the serialized xml string of RelXmlWriter. Key: CALCITE-3259 URL: https://issues.apache.org/jira/browse/CALCITE-3259 Project: Calcite

[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=16909567#comment-16909567 ] jin xing edited comment on CALCITE-3226 at 8/17/19 4:06 AM: Thanks a lot

[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=16909567#comment-16909567 ] jin xing commented on CALCITE-3226: --- Thanks a lot for clarify [~rubenql] I think [~julianhyde]

[jira] [Commented] (CALCITE-3213) Support complex type expressions for SqlDataTypeSpec

2019-08-16 Thread Danny Chan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16909552#comment-16909552 ] Danny Chan commented on CALCITE-3213: - Let me summarize the broad changes: * Support row type *

[jira] [Resolved] (CALCITE-3255) CannotPlanException: There are not enough rules to produce a node with desired properties

2019-08-16 Thread Danny Chan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Danny Chan resolved CALCITE-3255. - Resolution: Invalid Assignee: Danny Chan > CannotPlanException: There are not enough

[jira] [Commented] (CALCITE-3255) CannotPlanException: There are not enough rules to produce a node with desired properties

2019-08-16 Thread Danny Chan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16909539#comment-16909539 ] Danny Chan commented on CALCITE-3255: - Thanks, [~Water Cut Off], this is an expected behavior, The

[jira] [Commented] (CALCITE-3250) Support nested collection type for SqlDataTypeSpec

2019-08-16 Thread Danny Chan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16909535#comment-16909535 ] Danny Chan commented on CALCITE-3250: - Indeed, very sorry about that, i should have made the issue

[jira] [Commented] (CALCITE-3257) Need to clear RelMetaDataQuery cache after dumping RelNodes and Graphviz

2019-08-16 Thread Xiening Dai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16909486#comment-16909486 ] Xiening Dai commented on CALCITE-3257: -- I agree with your assumption. Current cost propagation

[jira] [Commented] (CALCITE-3254) AssertionError while deserializing of interval type.

2019-08-16 Thread Wang Yanlin (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16909481#comment-16909481 ] Wang Yanlin commented on CALCITE-3254: -- OK, I update the descritpion in pr. Thanks for reviewing.

[jira] [Commented] (CALCITE-3258) Upgrade jackson-databind from 2.9.9 to 2.9.9.2

2019-08-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16909460#comment-16909460 ] Julian Hyde commented on CALCITE-3258: -- I'll try 2.9.9.3. > Upgrade jackson-databind from 2.9.9

[jira] [Commented] (CALCITE-3257) Need to clear RelMetaDataQuery cache after dumping RelNodes and Graphviz

2019-08-16 Thread Volodymyr Vysotskyi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16909448#comment-16909448 ] Volodymyr Vysotskyi commented on CALCITE-3257: -- I don't know the exact reason for adding

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

2019-08-16 Thread Haisheng Yuan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Haisheng Yuan resolved CALCITE-3214. Resolution: Fixed Fix Version/s: 1.21.0 Fixed in

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

2019-08-16 Thread Haisheng Yuan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Haisheng Yuan resolved CALCITE-3249. Resolution: Fixed Fix Version/s: 1.21.0 Fixed in

[jira] [Commented] (CALCITE-2018) Queries failed with AssertionError: rel has lower cost than best cost of subset

2019-08-16 Thread Xiening Dai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16909415#comment-16909415 ] Xiening Dai commented on CALCITE-2018: -- Hi [~julianhyde], [~vvysotskyi] also has some questions.

[jira] [Commented] (CALCITE-3258) Upgrade jackson-databind from 2.9.9 to 2.9.9.2

2019-08-16 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16909408#comment-16909408 ] Vladimir Sitnikov commented on CALCITE-3258: I would suggest going with 2.9.9.3. Is there a

[jira] [Commented] (CALCITE-3257) Need to clear RelMetaDataQuery cache after dumping RelNodes and Graphviz

2019-08-16 Thread Xiening Dai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16909402#comment-16909402 ] Xiening Dai commented on CALCITE-3257: -- I believe CALCITE-2018 is a separate issue while this one

[jira] [Created] (CALCITE-3258) Upgrade jackson-databind from 2.9.9 to 2.9.9.2

2019-08-16 Thread Julian Hyde (JIRA)
Julian Hyde created CALCITE-3258: Summary: Upgrade jackson-databind from 2.9.9 to 2.9.9.2 Key: CALCITE-3258 URL: https://issues.apache.org/jira/browse/CALCITE-3258 Project: Calcite Issue

[jira] [Commented] (CALCITE-3257) Need to clear RelMetaDataQuery cache after dumping RelNodes and Graphviz

2019-08-16 Thread Volodymyr Vysotskyi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16909375#comment-16909375 ] Volodymyr Vysotskyi commented on CALCITE-3257: -- I don't think that adding a call to

[jira] [Updated] (CALCITE-3257) Need to clear RelMetaDataQuery cache after dumping RelNodes and Graphviz

2019-08-16 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-3257: Labels: pull-request-available (was: ) > Need to clear RelMetaDataQuery cache after

[jira] [Updated] (CALCITE-3257) Need to clear RelMetaDataQuery cache after dumping RelNodes and Graphviz

2019-08-16 Thread Xiening Dai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiening Dai updated CALCITE-3257: - Description: To repro - 1. Set Log4J log level to TRACE. So planner will dump rel node info

[jira] [Commented] (CALCITE-3250) Support nested collection type for SqlDataTypeSpec

2019-08-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16909307#comment-16909307 ] Julian Hyde commented on CALCITE-3250: -- Also, this is an extension to SQL grammar, right? Lead

[jira] [Updated] (CALCITE-3246) RelJsonReader throws NullPointerException while deserializing from JSON a call to a user-defined function (UDF)

2019-08-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde updated CALCITE-3246: - Summary: RelJsonReader throws NullPointerException while deserializing from JSON a call to a

[jira] [Commented] (CALCITE-3246) NullPointerException while deserializing of udf.

2019-08-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16909287#comment-16909287 ] Julian Hyde commented on CALCITE-3246: -- I force-pushed to master to remove your commit. Let's

[jira] [Commented] (CALCITE-2018) Queries failed with AssertionError: rel has lower cost than best cost of subset

2019-08-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16909209#comment-16909209 ] Julian Hyde commented on CALCITE-2018: -- I saw the issue just logged for this workaround. But it

[jira] [Commented] (CALCITE-3254) AssertionError while deserializing of interval type.

2019-08-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16909202#comment-16909202 ] Julian Hyde commented on CALCITE-3254: -- Can you improve the description? Think about whether you

[jira] [Updated] (CALCITE-3257) Need to clear RelMetaDataQuery cache after dumping RelNodes and Graphviz

2019-08-16 Thread Xiening Dai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiening Dai updated CALCITE-3257: - Description: To repro - 1. Set Log4J log level to TRACE. So planner will dump rel node info

[jira] [Comment Edited] (CALCITE-3257) Need to clear RelMetaDataQuery cache after dumping RelNodes and Graphviz

2019-08-16 Thread Xiening Dai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16909156#comment-16909156 ] Xiening Dai edited comment on CALCITE-3257 at 8/16/19 4:05 PM: --- Based on

[jira] [Updated] (CALCITE-3257) Need to clear RelMetaDataQuery cache after dumping RelNodes and Graphviz

2019-08-16 Thread Xiening Dai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiening Dai updated CALCITE-3257: - Description: To repro - 1. Set Log4J log level to TRACE. So planner will dump rel node info

[jira] [Created] (CALCITE-3257) Need to clear RelMetaDataQuery cache after dumping RelNodes and Graphviz

2019-08-16 Thread Xiening Dai (JIRA)
Xiening Dai created CALCITE-3257: Summary: Need to clear RelMetaDataQuery cache after dumping RelNodes and Graphviz Key: CALCITE-3257 URL: https://issues.apache.org/jira/browse/CALCITE-3257 Project:

[jira] [Commented] (CALCITE-3257) Need to clear RelMetaDataQuery cache after dumping RelNodes and Graphviz

2019-08-16 Thread Xiening Dai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16909156#comment-16909156 ] Xiening Dai commented on CALCITE-3257: -- Based on current design, RelMetadataQuery.map needs to be

[jira] [Commented] (CALCITE-3246) NullPointerException while deserializing of udf.

2019-08-16 Thread Wang Yanlin (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16909016#comment-16909016 ] Wang Yanlin commented on CALCITE-3246: -- The class name is put into the json string in [to json

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

2019-08-16 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-3256: Labels: pull-request-available (was: ) > Add ProjectOnProjectToProjectUnifyRule for

[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-3255) CannotPlanException: There are not enough rules to produce a node with desired properties

2019-08-16 Thread Water Cut Off (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Water Cut Off updated CALCITE-3255: --- Description: I want to use calcite volcano planner to estimate sql cost,but it doesn't

[jira] [Created] (CALCITE-3255) CannotPlanException: There are not enough rules to produce a node with desired properties

2019-08-16 Thread Water Cut Off (JIRA)
Water Cut Off created CALCITE-3255: -- Summary: CannotPlanException: There are not enough rules to produce a node with desired properties Key: CALCITE-3255 URL: https://issues.apache.org/jira/browse/CALCITE-3255

[jira] [Updated] (CALCITE-3254) AssertionError while deserializing of interval type.

2019-08-16 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-3254: Labels: pull-request-available (was: ) > AssertionError while deserializing of interval

[jira] [Created] (CALCITE-3254) AssertionError while deserializing of interval type.

2019-08-16 Thread Wang Yanlin (JIRA)
Wang Yanlin created CALCITE-3254: Summary: AssertionError while deserializing of interval type. Key: CALCITE-3254 URL: https://issues.apache.org/jira/browse/CALCITE-3254 Project: Calcite

[jira] [Comment Edited] (CALCITE-2302) Implicit type cast support

2019-08-16 Thread Danny Chan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16908903#comment-16908903 ] Danny Chan edited comment on CALCITE-2302 at 8/16/19 9:45 AM: -- Thanks so

[jira] [Commented] (CALCITE-2302) Implicit type cast support

2019-08-16 Thread Danny Chan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16908903#comment-16908903 ] Danny Chan commented on CALCITE-2302: - Thanks so much for your review [~hyuan] ! I have add a new