[jira] [Created] (CALCITE-3351) calcite mysql utf8中文查询报错

2019-09-16 Thread cui (Jira)
cui created CALCITE-3351: Summary: calcite mysql utf8中文查询报错 Key: CALCITE-3351 URL: https://issues.apache.org/jira/browse/CALCITE-3351 Project: Calcite Issue Type: Bug Components: core

[jira] [Updated] (CALCITE-3351) calcite mysql utf8 throws exception in Chinese

2019-09-16 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang updated CALCITE-3351: -- Environment: Happened on both Windows and MacOS. (was: 无论是windows还是mac,都会出同样的错误) > calcite mysql

[jira] [Updated] (CALCITE-3351) calcite mysql utf8 throws exception in Chinese

2019-09-16 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang updated CALCITE-3351: -- Description: Exception was thrown when connecting with mySQL to query Chinese. The following SQL

[jira] [Updated] (CALCITE-3351) calcite mysql utf8 throws exception in Chinese

2019-09-16 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang updated CALCITE-3351: -- Summary: calcite mysql utf8 throws exception in Chinese (was: calcite mysql utf8中文查询报错) > calcite

[jira] [Commented] (CALCITE-2772) Support varargs for user-defined functions (UDFs)

2019-09-16 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16930771#comment-16930771 ] Julian Hyde commented on CALCITE-2772: -- Reviewing the PR. * Can you do a "git diff" and remove the

[jira] [Commented] (CALCITE-3340) Make TUMBLE be accepted as an operand for COLLECTION_TABLE(TABLE syntax) in validator

2019-09-16 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16930838#comment-16930838 ] Julian Hyde commented on CALCITE-3340: -- I don't really understand any of this case. Let's start

[jira] [Commented] (CALCITE-3340) Make TUMBLE be accepted as an operand for COLLECTION_TABLE(TABLE syntax) in validator

2019-09-16 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16930845#comment-16930845 ] Rui Wang commented on CALCITE-3340: --- I see. Thanks for bringing it up. To clarify, I am aiming to

[jira] [Updated] (CALCITE-3340) Make TUMBLE be accepted as an operand for "FROM TABLE()" in validator

2019-09-16 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang updated CALCITE-3340: -- Summary: Make TUMBLE be accepted as an operand for "FROM TABLE()" in validator (was: Make TUMBLE be

[jira] [Commented] (CALCITE-3351) calcite mysql utf8 throws exception in Chinese

2019-09-16 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16930750#comment-16930750 ] Rui Wang commented on CALCITE-3351: --- I translated this JIRA to English for better communication.

[jira] [Commented] (CALCITE-3340) Make TUMBLE be accepted as an operand for COLLECTION_TABLE(TABLE syntax) in validator

2019-09-16 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16930783#comment-16930783 ] Julian Hyde commented on CALCITE-3340: -- Well, the PR doesn't do quite what the JIRA case promises.

[jira] [Comment Edited] (CALCITE-3340) Make TUMBLE be accepted as an operand for "FROM TABLE()" in validator

2019-09-16 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16930845#comment-16930845 ] Rui Wang edited comment on CALCITE-3340 at 9/16/19 8:30 PM: I see. Thanks

[jira] [Comment Edited] (CALCITE-3340) Make TUMBLE be accepted as an operand for "FROM TABLE()" in validator

2019-09-16 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16930845#comment-16930845 ] Rui Wang edited comment on CALCITE-3340 at 9/16/19 8:30 PM: I see. Thanks

[jira] [Commented] (CALCITE-3340) Make TUMBLE be accepted as an operand for "FROM TABLE()" in validator

2019-09-16 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16930897#comment-16930897 ] Rui Wang commented on CALCITE-3340: --- [~julianhyde] I have updated this JIRA to clarify my goal and

[jira] [Updated] (CALCITE-3340) Make TUMBLE be accepted as an operand for COLLECTION_TABLE(TABLE syntax) in validator

2019-09-16 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-3340: Labels: pull-request-available (was: ) > Make TUMBLE be accepted as an operand for

[jira] [Updated] (CALCITE-3272) TUMBLE Table Value Function

2019-09-16 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-3272: Labels: pull-request-available (was: ) > TUMBLE Table Value Function >

[jira] [Updated] (CALCITE-3340) Make TUMBLE be accepted as an operand for "FROM TABLE()" in validator

2019-09-16 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang updated CALCITE-3340: -- Description: The goal of this JIRA is to generate a logical plan for the following query:

[jira] [Commented] (CALCITE-3345) Implement time_bucket function

2019-09-16 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16930847#comment-16930847 ] Julian Hyde commented on CALCITE-3345: -- We could follow the same approach as for other function

[jira] [Commented] (CALCITE-3340) Make TUMBLE be accepted as an operand for COLLECTION_TABLE(TABLE syntax) in validator

2019-09-16 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16930789#comment-16930789 ] Rui Wang commented on CALCITE-3340: --- "TUMBLE_TABLE_FUNCTION" was a quick decision to skip some

[jira] [Commented] (CALCITE-3340) Make TUMBLE be accepted as an operand for COLLECTION_TABLE(TABLE syntax) in validator

2019-09-16 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16930758#comment-16930758 ] Rui Wang commented on CALCITE-3340: --- [~julianhyde] Could you please give some feedback on this

[jira] [Commented] (CALCITE-3340) Make TUMBLE be accepted as an operand for "FROM TABLE()" in validator

2019-09-16 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16930915#comment-16930915 ] Julian Hyde commented on CALCITE-3340: -- * Is it required that table-valued functions extend 

[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-3349) Add Function DDL into SqlKind DDL enum

2019-09-16 Thread Zhenqiu Huang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16931052#comment-16931052 ] Zhenqiu Huang commented on CALCITE-3349: [~lishuming] It is true. As the goal of PR is limited

[jira] [Commented] (CALCITE-3349) Add Function DDL into SqlKind DDL enum

2019-09-16 Thread Zhenqiu Huang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16931053#comment-16931053 ] Zhenqiu Huang commented on CALCITE-3349: [~danny0405] Agree. But I don't find any good way to

[jira] [Commented] (CALCITE-3351) calcite mysql utf8 throws exception in Chinese

2019-09-16 Thread Danny Chan (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16931072#comment-16931072 ] Danny Chan commented on CALCITE-3351: - The exception is thrown from avatica, and it seems that it

[jira] [Commented] (CALCITE-3351) calcite mysql utf8 throws exception in Chinese

2019-09-16 Thread cui (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16931018#comment-16931018 ] cui commented on CALCITE-3351: -- Thanks for translating,this is the first to commit JIRA,next I will commit

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

2019-09-16 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-3347: Labels: pull-request-available (was: ) > IndexOutOfBoundsException in

[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] [Created] (CALCITE-3349) Add Function DDL into SqlKind DDL enum

2019-09-16 Thread Zhenqiu Huang (Jira)
Zhenqiu Huang created CALCITE-3349: -- Summary: Add Function DDL into SqlKind DDL enum Key: CALCITE-3349 URL: https://issues.apache.org/jira/browse/CALCITE-3349 Project: Calcite Issue Type:

[jira] [Updated] (CALCITE-3349) Add Function DDL into SqlKind DDL enum

2019-09-16 Thread Zhenqiu Huang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhenqiu Huang updated CALCITE-3349: --- External issue URL: https://github.com/apache/calcite/pull/1455 Labels:

[jira] [Commented] (CALCITE-3349) Add Function DDL into SqlKind DDL enum

2019-09-16 Thread Zhenqiu Huang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16930256#comment-16930256 ] Zhenqiu Huang commented on CALCITE-3349: The Pull request is

[jira] [Updated] (CALCITE-3349) Add Function DDL into SqlKind DDL enum

2019-09-16 Thread Zhenqiu Huang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhenqiu Huang updated CALCITE-3349: --- External issue URL: (was: https://github.com/apache/calcite/pull/1455) > Add Function

[jira] [Commented] (CALCITE-3349) Add Function DDL into SqlKind DDL enum

2019-09-16 Thread Danny Chan (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16930257#comment-16930257 ] Danny Chan commented on CALCITE-3349: - I'm kind of considering if we can add some tests for these

[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] [Commented] (CALCITE-3349) Add Function DDL into SqlKind DDL enum

2019-09-16 Thread ShuMing Li (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16930486#comment-16930486 ] ShuMing Li commented on CALCITE-3349: - Just be curious, `SqlCreateFunction` is not implemented of

[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] [Commented] (CALCITE-2772) Support varargs for user-defined functions (UDFs)

2019-09-16 Thread Stamatis Zampetakis (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16930469#comment-16930469 ] Stamatis Zampetakis commented on CALCITE-2772: -- Thanks for looking into this [~danny0405].

[jira] [Commented] (CALCITE-2772) Support varargs for user-defined functions (UDFs)

2019-09-16 Thread Danny Chan (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16930390#comment-16930390 ] Danny Chan commented on CALCITE-2772: - Let me repeat the review comments again: Before the review

[jira] [Commented] (CALCITE-2772) Support varargs for user-defined functions (UDFs)

2019-09-16 Thread Danny Chan (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16930393#comment-16930393 ] Danny Chan commented on CALCITE-2772: - The change is breaking, because the user defined function

[jira] [Updated] (CALCITE-3282) HiveSqlDialect unparse Interger type as Int in order to be compatible with Hive1.x

2019-09-16 Thread Danny Chan (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Danny Chan updated CALCITE-3282: Summary: HiveSqlDialect unparse Interger type as Int in order to be compatible with Hive1.x

[jira] [Commented] (CALCITE-2166) Cumulative cost of RelSubset.best RelNode is increased after calling RelSubset.propagateCostImprovements() for input RelNodes

2019-09-16 Thread Xiening Dai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16930395#comment-16930395 ] Xiening Dai commented on CALCITE-2166: -- hi [~danny0405], sorry I just saw your comments here in

[jira] [Resolved] (CALCITE-3282) HiveSqlDialect unparse Interger type as Int in order to be compatible with Hive1.x

2019-09-16 Thread Danny Chan (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Danny Chan resolved CALCITE-3282. - Fix Version/s: 1.22.0 Assignee: Danny Chan Resolution: Fixed Fixed in

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

2019-09-16 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-3350: Labels: pull-request-available (was: ) > Keep origin type for RexLiteral when

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

2019-09-16 Thread jin xing (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16930535#comment-16930535 ] jin xing commented on CALCITE-3334: --- Thanks for comment [~lishuming] I raised a PR as above and