[jira] [Commented] (CALCITE-4241) Some improvements to metadata query

2020-09-22 Thread Chunwei Lei (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17200474#comment-17200474 ] Chunwei Lei commented on CALCITE-4241: -- Fixed in

[jira] [Commented] (CALCITE-4240) SqlTypeUtil#getMaxPrecisionScaleDecimal will create decimal that has the same precision and scale

2020-09-22 Thread Danny Chen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17200468#comment-17200468 ] Danny Chen commented on CALCITE-4240: - [~Aron.tao], can you have a survey about the max precision

[jira] [Commented] (CALCITE-4240) SqlTypeUtil#getMaxPrecisionScaleDecimal will create decimal that has the same precision and scale

2020-09-22 Thread Danny Chen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17200467#comment-17200467 ] Danny Chen commented on CALCITE-4240: - I'm afraid not all the sql engines have the rule that

[jira] [Commented] (CALCITE-3409) Add an interface in MaterializedViewSubstitutionVisitor to allow registering UnifyRule

2020-09-22 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17200286#comment-17200286 ] Julian Hyde commented on CALCITE-3409: -- [~xzh_dz] We should keep the materialization rules

[jira] [Commented] (CALCITE-4223) Introducing column statistics to RelOptTable

2020-09-22 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17200258#comment-17200258 ] Julian Hyde commented on CALCITE-4223: -- And you need to implement the {{unwrap(Class)}} method in

[jira] [Commented] (CALCITE-4223) Introducing column statistics to RelOptTable

2020-09-22 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17200256#comment-17200256 ] Julian Hyde commented on CALCITE-4223: -- [~Chunwei Lei], We don't need to change {{interface

[jira] [Commented] (CALCITE-4176) Key descriptor can be optional in SESSION table function

2020-09-22 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17200211#comment-17200211 ] Rui Wang commented on CALCITE-4176: --- [~liupengcheng] no problem! > Key descriptor can be optional in

[jira] [Commented] (CALCITE-3409) Add an interface in MaterializedViewSubstitutionVisitor to allow registering UnifyRule

2020-09-22 Thread xzh_dz (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17200062#comment-17200062 ] xzh_dz commented on CALCITE-3409: - In some specific scenarios, specific normalization rules are needed,

[jira] [Commented] (CALCITE-3409) Add an interface in MaterializedViewSubstitutionVisitor to allow registering UnifyRule

2020-09-22 Thread xzh_dz (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17200055#comment-17200055 ] xzh_dz commented on CALCITE-3409: - The materialization rules are different from `RelOptRule`. we can

[jira] [Comment Edited] (CALCITE-3409) Add an interface in MaterializedViewSubstitutionVisitor to allow registering UnifyRule

2020-09-22 Thread xzh_dz (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17200032#comment-17200032 ] xzh_dz edited comment on CALCITE-3409 at 9/22/20, 12:09 PM: [~julianhyde] 

[jira] [Commented] (CALCITE-3409) Add an interface in MaterializedViewSubstitutionVisitor to allow registering UnifyRule

2020-09-22 Thread xzh_dz (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17200032#comment-17200032 ] xzh_dz commented on CALCITE-3409: - [~julianhyde]  Thanks, Do you mean we should have a special class

[jira] [Updated] (CALCITE-4273) Support get expression lineage for Calc

2020-09-22 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-4273: Labels: pull-request-available (was: ) > Support get expression lineage for Calc >

[jira] [Assigned] (CALCITE-4273) Support get expression lineage for Calc

2020-09-22 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin reassigned CALCITE-4273: Assignee: Wang Yanlin > Support get expression lineage for Calc >

[jira] [Resolved] (CALCITE-4224) Add a method for RelNode to output its tree digest like RelOptUtil.toString

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

[jira] [Created] (CALCITE-4273) Support get expression lineage for Calc

2020-09-22 Thread Wang Yanlin (Jira)
Wang Yanlin created CALCITE-4273: Summary: Support get expression lineage for Calc Key: CALCITE-4273 URL: https://issues.apache.org/jira/browse/CALCITE-4273 Project: Calcite Issue Type:

[jira] [Comment Edited] (CALCITE-4176) Key descriptor can be optional in SESSION table function

2020-09-22 Thread liupengcheng (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17199887#comment-17199887 ] liupengcheng edited comment on CALCITE-4176 at 9/22/20, 7:42 AM: - hi,

[jira] [Commented] (CALCITE-4176) Key descriptor can be optional in SESSION table function

2020-09-22 Thread liupengcheng (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17199887#comment-17199887 ] liupengcheng commented on CALCITE-4176: --- hi, [~danny0405] [~amaliujia] , I checked the latest

[jira] [Updated] (CALCITE-4272) Incorrect sub-query to JDBC driver

2020-09-22 Thread Roman Churganov (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roman Churganov updated CALCITE-4272: - Description: run  a query  like    {{select t.id, t.c11 from foo t join bar tt on

[jira] [Created] (CALCITE-4272) Incorrect sub-query to JDBC driver

2020-09-22 Thread Roman Churganov (Jira)
Roman Churganov created CALCITE-4272: Summary: Incorrect sub-query to JDBC driver Key: CALCITE-4272 URL: https://issues.apache.org/jira/browse/CALCITE-4272 Project: Calcite Issue Type:

[jira] [Comment Edited] (CALCITE-4240) SqlTypeUtil#getMaxPrecisionScaleDecimal will create decimal that has the same precision and scale

2020-09-22 Thread Jiatao Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17199876#comment-17199876 ] Jiatao Tao edited comment on CALCITE-4240 at 9/22/20, 6:51 AM: --- If you

[jira] [Comment Edited] (CALCITE-4240) SqlTypeUtil#getMaxPrecisionScaleDecimal will create decimal that has the same precision and scale

2020-09-22 Thread Jiatao Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17199876#comment-17199876 ] Jiatao Tao edited comment on CALCITE-4240 at 9/22/20, 6:51 AM: --- If you

[jira] [Commented] (CALCITE-4240) SqlTypeUtil#getMaxPrecisionScaleDecimal will create decimal that has the same precision and scale

2020-09-22 Thread Jiatao Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17199876#comment-17199876 ] Jiatao Tao commented on CALCITE-4240: - If you execute `{{create table test (a decimal(1,3));`}} in 

[jira] [Comment Edited] (CALCITE-4240) SqlTypeUtil#getMaxPrecisionScaleDecimal will create decimal that has the same precision and scale

2020-09-22 Thread Jiatao Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17199876#comment-17199876 ] Jiatao Tao edited comment on CALCITE-4240 at 9/22/20, 6:50 AM: --- If you