[jira] [Created] (CALCITE-3177) Deserialize from json of + operator cause exception

2019-07-07 Thread Wang Yanlin (JIRA)
Wang Yanlin created CALCITE-3177: Summary: Deserialize from json of + operator cause exception Key: CALCITE-3177 URL: https://issues.apache.org/jira/browse/CALCITE-3177 Project: Calcite

[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-3260) Add support of evaluate method with default Evaluator.

2019-08-17 Thread Wang Yanlin (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin updated CALCITE-3260: - Summary: Add support of evaluate method with default Evaluator. (was: Add support of evaluate

[jira] [Updated] (CALCITE-3260) Add support of evaluate method with default Evaluator.

2019-08-17 Thread Wang Yanlin (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin updated CALCITE-3260: - Description: Currently, the public method *evaluate* of AbstractNode need a Evaluator object

[jira] [Created] (CALCITE-3260) Add support of evaluate with default Evaluator.

2019-08-17 Thread Wang Yanlin (JIRA)
Wang Yanlin created CALCITE-3260: Summary: Add support of evaluate with default Evaluator. Key: CALCITE-3260 URL: https://issues.apache.org/jira/browse/CALCITE-3260 Project: Calcite Issue

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

2019-08-12 Thread Wang Yanlin (JIRA)
Wang Yanlin created CALCITE-3246: Summary: NullPointerException while deserializing of udf. Key: CALCITE-3246 URL: https://issues.apache.org/jira/browse/CALCITE-3246 Project: Calcite Issue

[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] [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] [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] [Commented] (CALCITE-3278) Simplify the use to translate RexNode to Expression for evaluating

2019-08-21 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16912870#comment-16912870 ] Wang Yanlin commented on CALCITE-3278: -- [~rubenql], thanks for reminding. This one is a small

[jira] [Updated] (CALCITE-3281) Support mixed Primitive types for BinaryExpression evaluate method.

2019-08-21 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin updated CALCITE-3281: - Description: Currently, the value of [expression0 and expression1

[jira] [Commented] (CALCITE-3281) Support mixed Primitive types for BinaryExpression evaluate method.

2019-08-22 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16913298#comment-16913298 ] Wang Yanlin commented on CALCITE-3281: -- OK. I will update the PR. > Support mixed Primitive

[jira] [Comment Edited] (CALCITE-3260) Add support of evaluate method with default Evaluator.

2019-08-20 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16911351#comment-16911351 ] Wang Yanlin edited comment on CALCITE-3260 at 8/20/19 1:31 PM: --- Well,

[jira] [Commented] (CALCITE-3260) Add support of evaluate method with default Evaluator.

2019-08-20 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16911351#comment-16911351 ] Wang Yanlin commented on CALCITE-3260: -- Well, then can we make class *Evaluator* public, so that,

[jira] [Created] (CALCITE-3313) AssertionError for an invalid type when using REGEXP_REPLACE

2019-08-30 Thread Wang Yanlin (Jira)
Wang Yanlin created CALCITE-3313: Summary: AssertionError for an invalid type when using REGEXP_REPLACE Key: CALCITE-3313 URL: https://issues.apache.org/jira/browse/CALCITE-3313 Project: Calcite

[jira] [Updated] (CALCITE-3313) AssertionError for using an invalid type parameter in REGEXP_REPLACE

2019-08-30 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin updated CALCITE-3313: - Summary: AssertionError for using an invalid type parameter in REGEXP_REPLACE (was:

[jira] [Commented] (CALCITE-3306) Add REGEXP_SPLIT_TO_ARRAY function

2019-08-30 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16919285#comment-16919285 ] Wang Yanlin commented on CALCITE-3306: -- OK, I'll update the PR. > Add REGEXP_SPLIT_TO_ARRAY

[jira] [Created] (CALCITE-3316) Exception while deserializing LogicalCorrelate from json string

2019-09-01 Thread Wang Yanlin (Jira)
Wang Yanlin created CALCITE-3316: Summary: Exception while deserializing LogicalCorrelate from json string Key: CALCITE-3316 URL: https://issues.apache.org/jira/browse/CALCITE-3316 Project: Calcite

[jira] [Created] (CALCITE-3317) Add public constructor for creating LogicalCalc with RelInput type parameter

2019-09-03 Thread Wang Yanlin (Jira)
Wang Yanlin created CALCITE-3317: Summary: Add public constructor for creating LogicalCalc with RelInput type parameter Key: CALCITE-3317 URL: https://issues.apache.org/jira/browse/CALCITE-3317

[jira] [Created] (CALCITE-3319) AssertionError for ReduceDecimalsRule

2019-09-03 Thread Wang Yanlin (Jira)
Wang Yanlin created CALCITE-3319: Summary: AssertionError for ReduceDecimalsRule Key: CALCITE-3319 URL: https://issues.apache.org/jira/browse/CALCITE-3319 Project: Calcite Issue Type: Bug

[jira] [Updated] (CALCITE-3306) Add REGEXP_SPLIT_TO_ARRAY function

2019-08-29 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin updated CALCITE-3306: - Description: In work, I need to split a string into array. But I found there is no

[jira] [Updated] (CALCITE-3306) Add REGEXP_SPLIT_TO_ARRAY function

2019-08-29 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin updated CALCITE-3306: - Description: In work, I found there is no coresponding *split* function in calcite like the

[jira] [Created] (CALCITE-3306) Add REGEXP_SPLIT_TO_ARRAY function

2019-08-29 Thread Wang Yanlin (Jira)
Wang Yanlin created CALCITE-3306: Summary: Add REGEXP_SPLIT_TO_ARRAY function Key: CALCITE-3306 URL: https://issues.apache.org/jira/browse/CALCITE-3306 Project: Calcite Issue Type: New

[jira] [Commented] (CALCITE-3290) evaluate in AbstractNode

2019-08-29 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16918564#comment-16918564 ] Wang Yanlin commented on CALCITE-3290: -- Already implemented, please refer to   

[jira] [Comment Edited] (CALCITE-3290) evaluate in AbstractNode

2019-08-29 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16918564#comment-16918564 ] Wang Yanlin edited comment on CALCITE-3290 at 8/29/19 12:34 PM: Already

[jira] [Updated] (CALCITE-3306) Add REGEXP_SPLIT_TO_ARRAY function

2019-08-29 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin updated CALCITE-3306: - Description: In work, I need to split a string into array. But I found there is no

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

2019-08-21 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16912199#comment-16912199 ] Wang Yanlin commented on CALCITE-3246: -- OK. And, any suggestion for update? > RelJsonReader

[jira] [Commented] (CALCITE-3260) Add support of evaluate method with default Evaluator.

2019-08-21 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16912194#comment-16912194 ] Wang Yanlin commented on CALCITE-3260: -- Yes, that's better. I will update the PR. > Add support

[jira] [Created] (CALCITE-3295) Aggregate call name lost in serialized json string.

2019-08-26 Thread Wang Yanlin (Jira)
Wang Yanlin created CALCITE-3295: Summary: Aggregate call name lost in serialized json string. Key: CALCITE-3295 URL: https://issues.apache.org/jira/browse/CALCITE-3295 Project: Calcite

[jira] [Created] (CALCITE-3278) Simplify the use to translate RexNode to Expression for evaluating

2019-08-21 Thread Wang Yanlin (Jira)
Wang Yanlin created CALCITE-3278: Summary: Simplify the use to translate RexNode to Expression for evaluating Key: CALCITE-3278 URL: https://issues.apache.org/jira/browse/CALCITE-3278 Project:

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

2019-08-21 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16912199#comment-16912199 ] Wang Yanlin edited comment on CALCITE-3246 at 8/21/19 2:39 PM: --- OK. And,

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

2019-09-04 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin updated CALCITE-3254: - Description: case 1: When deserializing of logical rel haveing interval type, AssertionError

[jira] [Updated] (CALCITE-3254) Exception while deserializing of interval type or with empty partition key for RexOver.

2019-09-04 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin updated CALCITE-3254: - Summary: Exception while deserializing of interval type or with empty partition key for

[jira] [Created] (CALCITE-3346) able some ignored tests in RelOptRuleTests

2019-09-14 Thread Wang Yanlin (Jira)
Wang Yanlin created CALCITE-3346: Summary: able some ignored tests in RelOptRuleTests Key: CALCITE-3346 URL: https://issues.apache.org/jira/browse/CALCITE-3346 Project: Calcite Issue Type:

[jira] [Updated] (CALCITE-3346) Enable some ignored tests in RelOptRuleTests

2019-09-14 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin updated CALCITE-3346: - Summary: Enable some ignored tests in RelOptRuleTests (was: able some ignored tests in

[jira] [Commented] (CALCITE-3347) IndexOutOfBoundsException in FixNullabilityShuttle when using FilterIntoJoinRule

2019-09-16 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16931042#comment-16931042 ] Wang Yanlin commented on CALCITE-3347: -- I create a PR tries to fix this,

[jira] [Commented] (CALCITE-3334) Refinement for Substitution-Based MV Matching

2019-09-16 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16931033#comment-16931033 ] Wang Yanlin commented on CALCITE-3334: -- Looking forward to this refinement. > Refinement for

[jira] [Commented] (CALCITE-3319) AssertionError for ReduceDecimalsRule

2019-09-05 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16923158#comment-16923158 ] Wang Yanlin commented on CALCITE-3319: -- OK. > AssertionError for ReduceDecimalsRule >

[jira] [Commented] (CALCITE-3313) AssertionError for using an invalid type parameter in REGEXP_REPLACE

2019-09-05 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16923172#comment-16923172 ] Wang Yanlin commented on CALCITE-3313: -- oh, my bad. I will update the PR, override the

[jira] [Updated] (CALCITE-3348) AssertionError while determining distribution of Calc

2019-09-15 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin updated CALCITE-3348: - Issue Type: Bug (was: Improvement) > AssertionError while determining distribution of Calc >

[jira] [Created] (CALCITE-3348) AssertionError while determining distribution of Calc

2019-09-15 Thread Wang Yanlin (Jira)
Wang Yanlin created CALCITE-3348: Summary: AssertionError while determining distribution of Calc Key: CALCITE-3348 URL: https://issues.apache.org/jira/browse/CALCITE-3348 Project: Calcite

[jira] [Commented] (CALCITE-3347) IndexOutOfBoundsException in FixNullabilityShuttle when using FilterIntoJoinRule

2019-09-16 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16930348#comment-16930348 ] Wang Yanlin commented on CALCITE-3347: -- I add a

[jira] [Commented] (CALCITE-3347) IndexOutOfBoundsException in FixNullabilityShuttle when using FilterIntoJoinRule

2019-09-16 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16930306#comment-16930306 ] Wang Yanlin commented on CALCITE-3347: -- In the original case of "TestCalcite.java", when

[jira] [Comment Edited] (CALCITE-3347) IndexOutOfBoundsException in FixNullabilityShuttle when using FilterIntoJoinRule

2019-09-16 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16930348#comment-16930348 ] Wang Yanlin edited comment on CALCITE-3347 at 9/16/19 9:27 AM: --- I add a

[jira] [Created] (CALCITE-3350) Keep origin type for RexLiteral when deserialized from json string

2019-09-16 Thread Wang Yanlin (Jira)
Wang Yanlin created CALCITE-3350: Summary: Keep origin type for RexLiteral when deserialized from json string Key: CALCITE-3350 URL: https://issues.apache.org/jira/browse/CALCITE-3350 Project:

[jira] [Updated] (CALCITE-3350) Keep origin type for RexLiteral when deserialized from json string

2019-09-16 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin updated CALCITE-3350: - Issue Type: Bug (was: Improvement) > Keep origin type for RexLiteral when deserialized from

[jira] [Updated] (CALCITE-3346) Enable some ignored tests in RelOptRuleTests

2019-09-18 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin updated CALCITE-3346: - Issue Type: Test (was: Improvement) > Enable some ignored tests in RelOptRuleTests >

[jira] [Commented] (CALCITE-3363) JoinUnionTransposeRule.RIGHT_UNION should not match SEMI/ANTI Join

2019-09-18 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933072#comment-16933072 ] Wang Yanlin commented on CALCITE-3363: -- Can you give some more specific examples, I cannot see why

[jira] [Commented] (CALCITE-3363) JoinUnionTransposeRule.RIGHT_UNION should not match ANTI Join

2019-09-19 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933107#comment-16933107 ] Wang Yanlin commented on CALCITE-3363: -- OK, I see. for *A anti join (B union C)* is not equals to

[jira] [Commented] (CALCITE-3177) Deserialize from json of + operator cause exception

2019-08-05 Thread Wang Yanlin (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16900027#comment-16900027 ] Wang Yanlin commented on CALCITE-3177: -- OK. I will pay attention to that in future. And thanks for

[jira] [Created] (CALCITE-3362) Implementation for some empty tests of Lattice

2019-09-18 Thread Wang Yanlin (Jira)
Wang Yanlin created CALCITE-3362: Summary: Implementation for some empty tests of Lattice Key: CALCITE-3362 URL: https://issues.apache.org/jira/browse/CALCITE-3362 Project: Calcite Issue

[jira] [Closed] (CALCITE-3350) Keep origin type for RexLiteral when deserialized from json string

2019-09-26 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin closed CALCITE-3350. Resolution: Not A Problem > Keep origin type for RexLiteral when deserialized from json string >

[jira] [Created] (CALCITE-3378) AssertionError for checking RexNode implify

2019-09-29 Thread Wang Yanlin (Jira)
Wang Yanlin created CALCITE-3378: Summary: AssertionError for checking RexNode implify Key: CALCITE-3378 URL: https://issues.apache.org/jira/browse/CALCITE-3378 Project: Calcite Issue Type:

[jira] [Commented] (CALCITE-3373) Decorrelate boolean context IN or existential subquery directly into SEMI/ANTI join

2019-09-25 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16938218#comment-16938218 ] Wang Yanlin commented on CALCITE-3373: -- I think this is a more direct way to generate semi-join.

[jira] [Created] (CALCITE-3374) Error format check result for explain plan as json

2019-09-25 Thread Wang Yanlin (Jira)
Wang Yanlin created CALCITE-3374: Summary: Error format check result for explain plan as json Key: CALCITE-3374 URL: https://issues.apache.org/jira/browse/CALCITE-3374 Project: Calcite Issue

[jira] [Updated] (CALCITE-3374) Error format check result for explain plan as json

2019-09-25 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin updated CALCITE-3374: - Description: The format check result of explain plan as json is incorrect, as {code:java}

[jira] [Created] (CALCITE-3175) Serialize to json of trim function cause exception

2019-07-06 Thread Wang Yanlin (JIRA)
Wang Yanlin created CALCITE-3175: Summary: Serialize to json of trim function cause exception Key: CALCITE-3175 URL: https://issues.apache.org/jira/browse/CALCITE-3175 Project: Calcite Issue

[jira] [Commented] (CALCITE-3459) AssertionError for using Timestamp/Time/Date in user defined table function

2019-11-04 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16967241#comment-16967241 ] Wang Yanlin commented on CALCITE-3459: -- how about set default time zone to UTC before parsing the

[jira] [Commented] (CALCITE-3473) Getting unique result for table scan should contain key column(s)

2019-11-04 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16967190#comment-16967190 ] Wang Yanlin commented on CALCITE-3473: -- # Yes, using powerSet will have performance issue if

[jira] [Commented] (CALCITE-3459) AssertionError for using Timestamp/Time/Date in user defined table function

2019-11-04 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16967252#comment-16967252 ] Wang Yanlin commented on CALCITE-3459: -- I update the PR, set time zone to UTC before parsing the

[jira] [Commented] (CALCITE-3467) Fix PartialMapping mistake

2019-11-04 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16967266#comment-16967266 ] Wang Yanlin commented on CALCITE-3467: -- oh, I see. > Fix PartialMapping mistake >

[jira] [Created] (CALCITE-3481) Support convert TableFunctionScan to SqlNode

2019-11-07 Thread Wang Yanlin (Jira)
Wang Yanlin created CALCITE-3481: Summary: Support convert TableFunctionScan to SqlNode Key: CALCITE-3481 URL: https://issues.apache.org/jira/browse/CALCITE-3481 Project: Calcite Issue Type:

[jira] [Assigned] (CALCITE-3481) Support convert TableFunctionScan to SqlNode

2019-11-07 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin reassigned CALCITE-3481: Assignee: Wang Yanlin > Support convert TableFunctionScan to SqlNode >

[jira] [Comment Edited] (CALCITE-3463) Parse SQL Query - Non-query expression encountered in illegal context

2019-10-31 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16963985#comment-16963985 ] Wang Yanlin edited comment on CALCITE-3463 at 10/31/19 1:43 PM: I tried

[jira] [Updated] (CALCITE-3463) Parse SQL Query - Non-query expression encountered in illegal context

2019-10-31 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin updated CALCITE-3463: - Attachment: image-2019-10-31-21-11-41-225.png > Parse SQL Query - Non-query expression

[jira] [Commented] (CALCITE-3463) Parse SQL Query - Non-query expression encountered in illegal context

2019-10-31 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16963985#comment-16963985 ] Wang Yanlin commented on CALCITE-3463: -- I tried on mysql, it really works, at least no parsing

[jira] [Comment Edited] (CALCITE-3463) Parse SQL Query - Non-query expression encountered in illegal context

2019-10-31 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16963985#comment-16963985 ] Wang Yanlin edited comment on CALCITE-3463 at 10/31/19 1:41 PM: I tried

[jira] [Commented] (CALCITE-3463) Parse SQL Query - Non-query expression encountered in illegal context

2019-10-31 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16964566#comment-16964566 ] Wang Yanlin commented on CALCITE-3463: -- [~yunpengn] I think you can update your sql like this

[jira] [Commented] (CALCITE-3466) JDBC adapter dropped group by statement in subquery

2019-11-01 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16964647#comment-16964647 ] Wang Yanlin commented on CALCITE-3466: -- [~wangweidong], I see. Yes, the deduction is incorrect.  

[jira] [Commented] (CALCITE-3467) Fix PartialMapping mistake

2019-10-31 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16964557#comment-16964557 ] Wang Yanlin commented on CALCITE-3467: -- I don't get what the mistake is. Any more details? > Fix

[jira] [Commented] (CALCITE-3492) Exception thrown when terms has 1 RexNode in RexUtil.simplifyOrs()

2019-11-11 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16971943#comment-16971943 ] Wang Yanlin commented on CALCITE-3492: -- Just wonder, how the sql would be like, for *OR* with 1

[jira] [Commented] (CALCITE-3492) Exception thrown when terms has 1 RexNode in RexUtil.simplifyOrs()

2019-11-11 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16971949#comment-16971949 ] Wang Yanlin commented on CALCITE-3492: -- Yes, then how do we have "terms has 1 RexNode for

[jira] [Commented] (CALCITE-3466) JDBC adapter dropped group by statement in subquery

2019-11-05 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16967380#comment-16967380 ] Wang Yanlin commented on CALCITE-3466: -- I think the problem lies in [Builder

[jira] [Commented] (CALCITE-3476) ParameterScope should override resolveColumn interface

2019-11-07 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16969749#comment-16969749 ] Wang Yanlin commented on CALCITE-3476: -- hi, [~jark], are you working on it? If not, I can create a

[jira] [Created] (CALCITE-3567) UNNEST(RECORDTYPE(MAP)) not supported

2019-12-04 Thread Wang Yanlin (Jira)
Wang Yanlin created CALCITE-3567: Summary: UNNEST(RECORDTYPE(MAP)) not supported Key: CALCITE-3567 URL: https://issues.apache.org/jira/browse/CALCITE-3567 Project: Calcite Issue Type: Bug

[jira] [Assigned] (CALCITE-3567) UNNEST(RECORDTYPE(MAP)) not supported

2019-12-04 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin reassigned CALCITE-3567: Assignee: Wang Yanlin > UNNEST(RECORDTYPE(MAP)) not supported >

[jira] [Created] (CALCITE-3557) ClassCastException for using nested multiset or array inside multiset

2019-12-03 Thread Wang Yanlin (Jira)
Wang Yanlin created CALCITE-3557: Summary: ClassCastException for using nested multiset or array inside multiset Key: CALCITE-3557 URL: https://issues.apache.org/jira/browse/CALCITE-3557 Project:

[jira] [Closed] (CALCITE-3554) NullPointerException when deserializing LogicalTableFunctionScan from json

2019-12-02 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin closed CALCITE-3554. Resolution: Duplicate > NullPointerException when deserializing LogicalTableFunctionScan from

[jira] [Created] (CALCITE-3554) NullPointerException when deserializing LogicalTableFunctionScan from json

2019-12-02 Thread Wang Yanlin (Jira)
Wang Yanlin created CALCITE-3554: Summary: NullPointerException when deserializing LogicalTableFunctionScan from json Key: CALCITE-3554 URL: https://issues.apache.org/jira/browse/CALCITE-3554

[jira] [Commented] (CALCITE-3554) NullPointerException when deserializing LogicalTableFunctionScan from json

2019-12-02 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16986676#comment-16986676 ] Wang Yanlin commented on CALCITE-3554: -- The same cause of

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

2019-12-04 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16988383#comment-16988383 ] Wang Yanlin commented on CALCITE-3246: -- What to do next ? Should I create another PR or you can

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

2019-12-04 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16988407#comment-16988407 ] Wang Yanlin commented on CALCITE-3246: -- I rebase master, and create a new PR: 

[jira] [Commented] (CALCITE-3571) RelBuilder#shouldMergeProject throws an exception for JOIN with complex conditions

2019-12-09 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16991417#comment-16991417 ] Wang Yanlin commented on CALCITE-3571: -- Same with

[jira] [Commented] (CALCITE-3587) RexBuilder may lose decimal fraction for creating literal with DECIMAL type

2019-12-12 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16995424#comment-16995424 ] Wang Yanlin commented on CALCITE-3587: -- DECIMAL is fixed point type, when creating RexLiteral with

[jira] [Closed] (CALCITE-3278) Simplify the use to translate RexNode to Expression for evaluating

2019-12-10 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin closed CALCITE-3278. Assignee: Wang Yanlin Resolution: Won't Fix Use {{RexExecutor}} to evaluate constant

[jira] [Created] (CALCITE-3587) RexBuilder may lose decimal fraction for creating literal with DECIMAL type

2019-12-11 Thread Wang Yanlin (Jira)
Wang Yanlin created CALCITE-3587: Summary: RexBuilder may lose decimal fraction for creating literal with DECIMAL type Key: CALCITE-3587 URL: https://issues.apache.org/jira/browse/CALCITE-3587

[jira] [Assigned] (CALCITE-3587) RexBuilder may lose decimal fraction for creating literal with DECIMAL type

2019-12-11 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin reassigned CALCITE-3587: Assignee: Wang Yanlin > RexBuilder may lose decimal fraction for creating literal with

[jira] [Closed] (CALCITE-3596) Sql query in javadoc of OverScope class has syntax error

2019-12-16 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin closed CALCITE-3596. Resolution: Not A Problem > Sql query in javadoc of OverScope class has syntax error >

[jira] [Commented] (CALCITE-3596) Sql query in javadoc of OverScope class has syntax error

2019-12-16 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16997776#comment-16997776 ] Wang Yanlin commented on CALCITE-3596: -- [~julianhyde]  Thans for your detail explanation, now I

[jira] [Commented] (CALCITE-3605) Semantics of relation operator changed after decorrelated

2019-12-16 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16997858#comment-16997858 ] Wang Yanlin commented on CALCITE-3605: -- Yes, same with CALCITE-3495, I'll close this jira. Let's

[jira] [Closed] (CALCITE-3605) Semantics of relation operator changed after decorrelated

2019-12-16 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin closed CALCITE-3605. Resolution: Duplicate > Semantics of relation operator changed after decorrelated >

[jira] [Commented] (CALCITE-3605) Semantics of relation operator changed after decorrelated

2019-12-16 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16997762#comment-16997762 ] Wang Yanlin commented on CALCITE-3605: -- {code:java} // RelOptRulesTest @Test public void

[jira] [Commented] (CALCITE-3495) RelDecorrelator generate plan with different semantics when handle Aggregate

2019-12-17 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16998023#comment-16998023 ] Wang Yanlin commented on CALCITE-3495: -- In this case, I think *SUM* is fine, when no input, it

[jira] [Commented] (CALCITE-3595) Test infrastructure overwrites reference log with wrong results

2019-12-17 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16998208#comment-16998208 ] Wang Yanlin commented on CALCITE-3595: -- I came across this problem very often when debug, it's a

[jira] [Commented] (CALCITE-3495) RelDecorrelator generate plan with different semantics when handle Aggregate

2019-12-17 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16998030#comment-16998030 ] Wang Yanlin commented on CALCITE-3495: -- Thanks [~jinxing6...@126.com], I create a PR tries to fail

[jira] [Assigned] (CALCITE-3557) ClassCastException for using nested multiset or array inside multiset

2019-12-04 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Yanlin reassigned CALCITE-3557: Assignee: (was: Wang Yanlin) > ClassCastException for using nested multiset or

[jira] [Commented] (CALCITE-3557) ClassCastException for using nested multiset or array inside multiset

2019-12-05 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16989371#comment-16989371 ] Wang Yanlin commented on CALCITE-3557: -- I tried to fix, and array inside multiset is easy to fix, 

[jira] [Commented] (CALCITE-3575) JOIN pushDownJoinConditions BUG

2019-12-06 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16989522#comment-16989522 ] Wang Yanlin commented on CALCITE-3575: -- {code:java} // JdbcTest @Test public void

[jira] [Commented] (CALCITE-3575) JOIN pushDownJoinConditions BUG

2019-12-06 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16989524#comment-16989524 ] Wang Yanlin commented on CALCITE-3575: -- We'd better communicate in english, there are many

[jira] [Commented] (CALCITE-3587) RexBuilder may lose decimal fraction for creating literal with DECIMAL type

2019-12-16 Thread Wang Yanlin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16997117#comment-16997117 ] Wang Yanlin commented on CALCITE-3587: -- Thanks for detail description [~danny0405] [~julianhyde]

  1   2   3   >