[jira] [Closed] (CALCITE-4955) Release Calcite 1.29.0

2022-01-04 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4955. - Resolution: Fixed > Release Calcite 1.29.0 > -- > > Key:

[jira] [Closed] (CALCITE-4704) Log produced plan after rule application using explain formatting

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4704. - > Log produced plan after rule application using explain formatting >

[jira] [Closed] (CALCITE-4700) AggregateUnionTransposeRule produces wrong group sets for the top Aggregate

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4700. - > AggregateUnionTransposeRule produces wrong group sets for the top Aggregate >

[jira] [Closed] (CALCITE-4131) the XmlFunctions exception handled by System.out

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4131. - > the XmlFunctions exception handled by System.out > > >

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

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4737. - > Add RelOptPlanner visualizer for debugging > -- > >

[jira] [Closed] (CALCITE-4841) Support decimal column type in CSV and File adapter

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4841. - > Support decimal column type in CSV and File adapter >

[jira] [Closed] (CALCITE-4822) Add ARRAY_CONCAT, ARRAY_REVERSE, ARRAY_LENGTH for BigQuery dialect

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4822. - > Add ARRAY_CONCAT, ARRAY_REVERSE, ARRAY_LENGTH for BigQuery dialect >

[jira] [Closed] (CALCITE-4839) Remove remnants of ImmutableBeans post 1.28 release

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4839. - > Remove remnants of ImmutableBeans post 1.28 release >

[jira] [Closed] (CALCITE-4846) IN-list that includes NULL converted to Values throws exception

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4846. - > IN-list that includes NULL converted to Values throws exception >

[jira] [Closed] (CALCITE-4795) In class SqlBasicCall, make the "operands" field private

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4795. - > In class SqlBasicCall, make the "operands" field private >

[jira] [Closed] (CALCITE-4768) Upgrade DataStax Driver for Apache Cassandra® version to latest 4.x

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4768. - > Upgrade DataStax Driver for Apache Cassandra® version to latest 4.x >

[jira] [Closed] (CALCITE-4818) AggregateExpandDistinctAggregatesRule must infer correct data type for top aggregate calls

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4818. - > AggregateExpandDistinctAggregatesRule must infer correct data type for top > aggregate calls >

[jira] [Closed] (CALCITE-4856) Gradle prepareVote fails with 'not authorized'

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4856. - > Gradle prepareVote fails with 'not authorized' > -- > >

[jira] [Closed] (CALCITE-4844) IN-list that references columns is wrongly converted to Values, and gives incorrect results

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4844. - > IN-list that references columns is wrongly converted to Values, and gives > incorrect results >

[jira] [Closed] (CALCITE-4799) SqlXmlFunctionsTest testXmlTransform unit test failed caused by NPE

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4799. - > SqlXmlFunctionsTest testXmlTransform unit test failed caused by NPE >

[jira] [Closed] (CALCITE-4783) RelFieldTrimmer incorrectly drops filter condition

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4783. - > RelFieldTrimmer incorrectly drops filter condition > --

[jira] [Closed] (CALCITE-4851) Build gives lots of 'Execution optimizations have been disabled' warnings

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4851. - > Build gives lots of 'Execution optimizations have been disabled' warnings >

[jira] [Closed] (CALCITE-4858) Use Log4j2 instead of unsupported Log4j (1.x) in tests

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4858. - > Use Log4j2 instead of unsupported Log4j (1.x) in tests >

[jira] [Closed] (CALCITE-4875) NVL Function Incorrectly changes nullability field of its operands

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4875. - > NVL Function Incorrectly changes nullability field of its operands >

[jira] [Closed] (CALCITE-4917) Add test for 'a IS NOT NULL AND a = b' simplification

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4917. - > Add test for 'a IS NOT NULL AND a = b' simplification >

[jira] [Closed] (CALCITE-4894) MV rewriting fails for conjunctive top expressions in SELECT clause

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4894. - > MV rewriting fails for conjunctive top expressions in SELECT clause >

[jira] [Closed] (CALCITE-4876) Converting RelNode to SQL with CalciteSqlDialect gets wrong result while EnumerableIntersect is followed by EnumerableLimit

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4876. - > Converting RelNode to SQL with CalciteSqlDialect gets wrong result while > EnumerableIntersect is

[jira] [Closed] (CALCITE-4884) Provide a new constructor for RelJsonWriter to allow customized JsonBuilder

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4884. - > Provide a new constructor for RelJsonWriter to allow customized JsonBuilder >

[jira] [Closed] (CALCITE-4925) AggregateReduceFunctionsRule should accept arbitrary predicates

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4925. - > AggregateReduceFunctionsRule should accept arbitrary predicates >

[jira] [Closed] (CALCITE-4906) Wrong result for scalar subquery (single value aggregation) from empty input

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4906. - > Wrong result for scalar subquery (single value aggregation) from empty input >

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

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4930. - > Update log4j2 version to 2.15.0 > --- > > Key: CALCITE-4930

[jira] [Closed] (CALCITE-4895) MAP type in UDF cannot be externalized from json correctly

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4895. - > MAP type in UDF cannot be externalized from json correctly >

[jira] [Closed] (CALCITE-4883) The traitset of Exchange operator losses the distribution when externalizing Exchange operator from JSON

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4883. - > The traitset of Exchange operator losses the distribution when externalizing > Exchange operator from

[jira] [Closed] (CALCITE-4937) Upgrade Calcite to Avatica 1.20

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4937. - > Upgrade Calcite to Avatica 1.20 > --- > > Key: CALCITE-4937

[jira] [Closed] (CALCITE-4928) Decouple Janino from RelMetadataQuery

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4928. - > Decouple Janino from RelMetadataQuery > - > > Key:

[jira] [Closed] (CALCITE-4932) Deprecate JdbcCalc and remove JdbcCalcRule

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4932. - > Deprecate JdbcCalc and remove JdbcCalcRule > -- > >

[jira] [Closed] (CALCITE-4927) Remove deprecated RelBuilder#groupKey(ImmutableBitSet, ImmutableList) clashing with new replacement API

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4927. - > Remove deprecated RelBuilder#groupKey(ImmutableBitSet, ImmutableList) > clashing with new replacement

[jira] [Closed] (CALCITE-4898) Upgrading Elasticsearch version from 7.0.1 to 7.15 in Elasticsearch Adapter

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4898. - > Upgrading Elasticsearch version from 7.0.1 to 7.15 in Elasticsearch Adapter >

[jira] [Closed] (CALCITE-4929) Add default methods for getDef on metadata handlers

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4929. - > Add default methods for getDef on metadata handlers >

[jira] [Closed] (CALCITE-4938) Upgrade SQLLine to 1.12.0

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4938. - > Upgrade SQLLine to 1.12.0 > - > > Key: CALCITE-4938 >

[jira] [Closed] (CALCITE-4946) Add method RelBuilder.size()

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4946. - > Add method RelBuilder.size() > > > Key: CALCITE-4946 >

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

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4941. - > SemiJoinRule loses hints > > > Key: CALCITE-4941 >

[jira] [Closed] (CALCITE-4939) Upgrade log4j2 version to 2.16.0

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4939. - > Upgrade log4j2 version to 2.16.0 > > > Key:

[jira] [Closed] (CALCITE-4948) Revert Elasticsearch to 7.10.2 to avoid extra repo and category X license

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4948. - > Revert Elasticsearch to 7.10.2 to avoid extra repo and category X license >

[jira] [Closed] (CALCITE-4950) Upgrade log4j2 version 2.17.0

2021-12-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang closed CALCITE-4950. - > Upgrade log4j2 version 2.17.0 > - > > Key: CALCITE-4950 >

[jira] [Created] (CALCITE-4955) Release Calcite 1.29.0

2021-12-20 Thread Rui Wang (Jira)
Rui Wang created CALCITE-4955: - Summary: Release Calcite 1.29.0 Key: CALCITE-4955 URL: https://issues.apache.org/jira/browse/CALCITE-4955 Project: Calcite Issue Type: Task Reporter:

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

2021-12-16 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17461037#comment-17461037 ] Rui Wang edited comment on CALCITE-4737 at 12/16/21, 8:40 PM: -- Please

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

2021-12-16 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17461037#comment-17461037 ] Rui Wang commented on CALCITE-4737: --- Please considering merging this PR soon if you want to be in

[jira] [Resolved] (CALCITE-4927) Remove deprecated RelBuilder#groupKey(ImmutableBitSet, ImmutableList) clashing with new replacement API

2021-12-14 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang resolved CALCITE-4927. --- Resolution: Fixed > Remove deprecated RelBuilder#groupKey(ImmutableBitSet, ImmutableList) >

[jira] [Commented] (CALCITE-4769) Does Dental Care Important? Check This Out!

2021-09-11 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17413591#comment-17413591 ] Rui Wang commented on CALCITE-4769: --- [~hyuan] Is it possible to delete this JIRA completely? Plus

[jira] [Commented] (CALCITE-4636) Wrong RelCollation if a field in GROUP BY appears in ORDER BY of WITHIN GROUP clause

2021-06-21 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17366767#comment-17366767 ] Rui Wang commented on CALCITE-4636: --- No :) I think that was my fault. When I merged the commit I

[jira] [Commented] (CALCITE-4636) Wrong RelCollation if a field in GROUP BY appears in ORDER BY of WITHIN GROUP clause

2021-06-21 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17366729#comment-17366729 ] Rui Wang commented on CALCITE-4636: --- O I see. That makes sense. I think the message starting with

[jira] [Comment Edited] (CALCITE-4616) AggregateUnionTransposeRule causes row type mismatch when some inputs have unique grouping key

2021-06-15 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17363864#comment-17363864 ] Rui Wang edited comment on CALCITE-4616 at 6/15/21, 7:21 PM: - Ah I see it

[jira] [Comment Edited] (CALCITE-4616) AggregateUnionTransposeRule causes row type mismatch when some inputs have unique grouping key

2021-06-15 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17363864#comment-17363864 ] Rui Wang edited comment on CALCITE-4616 at 6/15/21, 7:21 PM: - Ah I see it

[jira] [Comment Edited] (CALCITE-4616) AggregateUnionTransposeRule causes row type mismatch when some inputs have unique grouping key

2021-06-15 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17363864#comment-17363864 ] Rui Wang edited comment on CALCITE-4616 at 6/15/21, 7:20 PM: - Ah I see it

[jira] [Commented] (CALCITE-4616) AggregateUnionTransposeRule causes row type mismatch when some inputs have unique grouping key

2021-06-15 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17363864#comment-17363864 ] Rui Wang commented on CALCITE-4616: --- Ah I see it now: if all inputs on a column has unique key, then

[jira] [Commented] (CALCITE-4616) AggregateUnionTransposeRule causes row type mismatch when some inputs have unique grouping key

2021-06-15 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17363830#comment-17363830 ] Rui Wang commented on CALCITE-4616: --- The PR seems straightforward: pushing down agg when all inputs

[jira] [Resolved] (CALCITE-4636) Wrong RelCollation if a field in Group by appears in Order by of Within Group clause

2021-06-13 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang resolved CALCITE-4636. --- Fix Version/s: 1.28.0 Resolution: Fixed > Wrong RelCollation if a field in Group by appears

[jira] [Commented] (CALCITE-4636) Wrong RelCollation if a field in Group by appears in Order by of Within Group clause

2021-06-13 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17362620#comment-17362620 ] Rui Wang commented on CALCITE-4636: --- Fixed via

[jira] [Commented] (CALCITE-4606) Test case "countStar" throws exception in AggregationTest of elastic-search adapter

2021-06-09 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17360228#comment-17360228 ] Rui Wang commented on CALCITE-4606: --- [~jackyyin] Will you still use this JIRA to track range query

[jira] [Comment Edited] (CALCITE-4568) Tempura: extending Calcite into an incremental query optimizer

2021-05-17 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17345888#comment-17345888 ] Rui Wang edited comment on CALCITE-4568 at 5/17/21, 6:02 AM: - [~botong] I

[jira] [Commented] (CALCITE-4568) Tempura: extending Calcite into an incremental query optimizer

2021-05-17 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17345888#comment-17345888 ] Rui Wang commented on CALCITE-4568: --- [~botong] I started to check

[jira] [Commented] (CALCITE-4538) Make CalcRelSplitter constructor public.

2021-03-16 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17302866#comment-17302866 ] Rui Wang commented on CALCITE-4538: --- cc [~julianhyde] any comment on this JIRA? I see that

[jira] [Commented] (CALCITE-4533) Fix handling of REPLACE and IF NOT EXISTS keywords for CREATE TABLE/SCHEMA commands

2021-03-13 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17300976#comment-17300976 ] Rui Wang commented on CALCITE-4533: --- thanks for the suggestion :) > Fix handling of REPLACE and IF

[jira] [Resolved] (CALCITE-4533) Fix handling of REPLACE and IF NOT EXISTS keywords for CREATE TABLE/SCHEMA commands

2021-03-12 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang resolved CALCITE-4533. --- Resolution: Fixed > Fix handling of REPLACE and IF NOT EXISTS keywords for CREATE TABLE/SCHEMA >

[jira] [Commented] (CALCITE-4533) Fix handling of REPLACE and IF NOT EXISTS keywords for CREATE TABLE/SCHEMA commands

2021-03-12 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17300524#comment-17300524 ] Rui Wang commented on CALCITE-4533: --- fixed via

[jira] [Commented] (CALCITE-4533) Fix handling of REPLACE and IF NOT EXISTS keywords for CREATE TABLE/SCHEMA commands

2021-03-11 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17299891#comment-17299891 ] Rui Wang commented on CALCITE-4533: --- So to confirm: IF NOT EXISTS means do NOT overwrite CREATE OR

[jira] [Commented] (CALCITE-2317) getFunctions() showing empty

2021-03-09 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17298512#comment-17298512 ] Rui Wang commented on CALCITE-2317: --- Merged via

[jira] [Resolved] (CALCITE-2317) getFunctions() showing empty

2021-03-09 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang resolved CALCITE-2317. --- Resolution: Fixed > getFunctions() showing empty > > >

[jira] [Commented] (CALCITE-4426) [CALCITE-4426] Short-circuit evaluating when comparing two "RelTraitSet"s (Jiatao Tao)

2021-02-04 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17279318#comment-17279318 ] Rui Wang commented on CALCITE-4426: --- merged via

[jira] [Resolved] (CALCITE-4426) [CALCITE-4426] Short-circuit evaluating when comparing two "RelTraitSet"s (Jiatao Tao)

2021-02-04 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang resolved CALCITE-4426. --- Fix Version/s: 1.27.0 Resolution: Fixed > [CALCITE-4426] Short-circuit evaluating when

[jira] [Comment Edited] (CALCITE-4484) Add UNIQUE_VALUE(x) aggregate function, that throws if x is not unique

2021-02-02 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17277518#comment-17277518 ] Rui Wang edited comment on CALCITE-4484 at 2/2/21, 11:07 PM: - +1 thanks for

[jira] [Commented] (CALCITE-4484) Add UNIQUE_VALUE(x) aggregate function, that throws if x is not unique

2021-02-02 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17277518#comment-17277518 ] Rui Wang commented on CALCITE-4484: --- +1 thanks for creating this bug [~julianhyde] > Add

[jira] [Resolved] (CALCITE-4482) "ImmutableBeans.create" has performance issue

2021-02-02 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang resolved CALCITE-4482. --- Fix Version/s: 1.27.0 Resolution: Fixed > "ImmutableBeans.create" has performance issue >

[jira] [Commented] (CALCITE-4482) "ImmutableBeans.create" has performance issue

2021-02-02 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17277369#comment-17277369 ] Rui Wang commented on CALCITE-4482: --- Fixed via

[jira] [Commented] (CALCITE-4483) Add WITHIN DISTINCT clause for aggregate functions

2021-02-02 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17276926#comment-17276926 ] Rui Wang commented on CALCITE-4483: --- I am also leaning to SINGLE_VALUE (assuming SINGLE_VALUE means

[jira] [Commented] (CALCITE-4482) "ImmutableBeans.create" has performance issue

2021-02-01 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17276606#comment-17276606 ] Rui Wang commented on CALCITE-4482: --- The fix in SqlPrettyWriter seems good. Also get rid of nameMap

[jira] [Commented] (CALCITE-4483) Add WITHIN DISTINCT clause for aggregate functions

2021-02-01 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17276604#comment-17276604 ] Rui Wang commented on CALCITE-4483: --- Use the example above, I guess there is an ambiguity to me:

[jira] [Commented] (CALCITE-4461) Do not cast to logical node inside Enumerable rules

2021-01-31 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17276063#comment-17276063 ] Rui Wang commented on CALCITE-4461: --- merged via

[jira] [Resolved] (CALCITE-4461) Do not cast to logical node inside Enumerable rules

2021-01-31 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang resolved CALCITE-4461. --- Resolution: Fixed > Do not cast to logical node inside Enumerable rules >

[jira] [Commented] (CALCITE-4481) Replace some self-define methods with jdk methods in order to improve the readability

2021-01-29 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17275261#comment-17275261 ] Rui Wang commented on CALCITE-4481: --- If there are equivalent methods in JDK we can certainly use

[jira] [Commented] (CALCITE-3221) Add a sort-merge union algorithm

2021-01-27 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17273114#comment-17273114 ] Rui Wang commented on CALCITE-3221: --- I am thinking the valid conversion for select * from (select x

[jira] [Resolved] (CALCITE-4474) SqlSimpleParser inner Tokenizer should not recognize the sql of TokenType.ID or some keywords in some case

2021-01-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang resolved CALCITE-4474. --- Resolution: Fixed > SqlSimpleParser inner Tokenizer should not recognize the sql of TokenType.ID

[jira] [Commented] (CALCITE-4474) SqlSimpleParser inner Tokenizer should not recognize the sql of TokenType.ID or some keywords in some case

2021-01-25 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17271784#comment-17271784 ] Rui Wang commented on CALCITE-4474: --- [~wangjie_fourth] fixed via

[jira] [Commented] (CALCITE-4466) Do not RelTraitDef.convert if the "from" trait already satisfies the "to" trait.

2021-01-21 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17269788#comment-17269788 ] Rui Wang commented on CALCITE-4466: --- Merged via https://github.com/apache/calcite/commit/2ee4d.

[jira] [Resolved] (CALCITE-4466) Do not RelTraitDef.convert if the "from" trait already satisfies the "to" trait.

2021-01-21 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang resolved CALCITE-4466. --- Resolution: Fixed > Do not RelTraitDef.convert if the "from" trait already satisfies the "to" >

[jira] [Commented] (CALCITE-3221) Add a sort-merge union algorithm

2021-01-18 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17267578#comment-17267578 ] Rui Wang commented on CALCITE-3221: --- Thanks [~rubenql] Will try to give reviews on your PR. > Add

[jira] [Commented] (CALCITE-4466) Do not RelTraitDef.convert if the "from" trait already satisfies the "to" trait.

2021-01-14 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17265126#comment-17265126 ] Rui Wang commented on CALCITE-4466: --- +1 I think it makes senses. At least based on the javadoc,

[jira] [Commented] (CALCITE-4458) The "rowTypeCoercion" for "SET" operations should be "or" relationship

2021-01-12 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17263792#comment-17263792 ] Rui Wang commented on CALCITE-4458: --- +1 [~Aron.tao] Can you give an concrete example for this JIRA,

[jira] [Commented] (CALCITE-4463) why doesn't dialect.unparseOffsetFetch method apply to SqlOrderBy tree node

2021-01-12 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17263646#comment-17263646 ] Rui Wang commented on CALCITE-4463: --- As Julian suggested, maybe just change your title from a

[jira] [Commented] (CALCITE-4465) Estimate the number of distinct values by filter condition

2021-01-12 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17263645#comment-17263645 ] Rui Wang commented on CALCITE-4465: --- +1 this idea make senses to me! Will be happy to help review if

[jira] [Resolved] (CALCITE-4450) ElasticSearch query with varchar literal projection fails with JsonParseException

2021-01-06 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang resolved CALCITE-4450. --- Resolution: Fixed > ElasticSearch query with varchar literal projection fails with >

[jira] [Commented] (CALCITE-4450) ElasticSearch query with varchar literal projection fails with JsonParseException

2021-01-06 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17260070#comment-17260070 ] Rui Wang commented on CALCITE-4450: --- Fixed in

[jira] [Commented] (CALCITE-4434) Cannot implement 'CASE row WHEN row ...'

2021-01-05 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17259270#comment-17259270 ] Rui Wang commented on CALCITE-4434: --- Sorry I just came back from vocation. Thanks [~zhenw] for your

[jira] [Commented] (CALCITE-4434) Cannot implement 'CASE row WHEN row ...'

2020-12-30 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17256849#comment-17256849 ] Rui Wang commented on CALCITE-4434: --- [~julianhyde] Thanks for your suggestions. I probably should

[jira] [Comment Edited] (CALCITE-4434) Cannot implement 'CASE row WHEN row ...'

2020-12-29 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17256194#comment-17256194 ] Rui Wang edited comment on CALCITE-4434 at 12/29/20, 10:45 PM: --- I see.

[jira] [Commented] (CALCITE-4434) Cannot implement 'CASE row WHEN row ...'

2020-12-29 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17256194#comment-17256194 ] Rui Wang commented on CALCITE-4434: --- I see. Sorry on that I wasn't check the commit message. As Zhen

[jira] [Commented] (CALCITE-4434) Cannot implement 'CASE row WHEN row ...'

2020-12-28 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17255737#comment-17255737 ] Rui Wang commented on CALCITE-4434: --- fixed via

[jira] [Assigned] (CALCITE-4434) Cannot implement 'CASE row WHEN row ...'

2020-12-28 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang reassigned CALCITE-4434: - Assignee: Zhen Wang > Cannot implement 'CASE row WHEN row ...' >

[jira] [Commented] (CALCITE-4375) Merge join condition that has "OR" as much as possible

2020-11-03 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17225593#comment-17225593 ] Rui Wang commented on CALCITE-4375: --- [~Aron.tao]   what would be the benefit of this change?  >

[jira] [Commented] (CALCITE-4341) Support double/float mod

2020-10-16 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17215566#comment-17215566 ] Rui Wang commented on CALCITE-4341: --- Can you add descriptions to this JIRA? > Support double/float

[jira] [Commented] (CALCITE-4337) Supports PARTITION BY clause for table function table argument

2020-10-14 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17214379#comment-17214379 ] Rui Wang commented on CALCITE-4337: --- GROUP BY can pass though group by keys only without aggregation

[jira] [Commented] (CALCITE-4337) Supports PARTITION BY clause for table function table argument

2020-10-14 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17214101#comment-17214101 ] Rui Wang commented on CALCITE-4337: --- O I guess you want partition a table or stream by customer then

[jira] [Commented] (CALCITE-4337) Supports PARTITION BY clause for table function table argument

2020-10-14 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17214093#comment-17214093 ] Rui Wang commented on CALCITE-4337: --- Thanks Danny to file this Jira. also cc [~jark] to move

[jira] [Commented] (CALCITE-3780) SESSION Table-valued Function

2020-10-13 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17213572#comment-17213572 ] Rui Wang commented on CALCITE-3780: --- [~jark] I don't have a plan to support PARTITION BY syntax

  1   2   3   4   5   6   7   8   >