[jira] [Updated] (CALCITE-1856) Add option StructKind.PEEK_FIELDS_NO_EXPAND, similar to PEEK_FIELDS but is not expanded in "SELECT *"

2017-06-28 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen updated CALCITE-1856: Description: In Calcite, StructKind.PEEK_FIELDS allow see its fields without qualifying them

[jira] [Commented] (CALCITE-1856) Add option StructKind.PEEK_FIELDS_NO_EXPAND, similar to PEEK_FIELDS but is not expanded in "SELECT *"

2017-06-28 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16067515#comment-16067515 ] Shuyi Chen commented on CALCITE-1856: - [~julianhyde] Examples included. Can this change get into

[jira] [Updated] (CALCITE-1856) Add option StructKind.PEEK_FIELDS_NO_EXPAND, similar to PEEK_FIELDS but is not expanded in "SELECT *"

2017-06-28 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen updated CALCITE-1856: Description: In Calcite, StructKind.PEEK_FIELDS allow see its fields without qualifying them

[jira] [Updated] (CALCITE-1856) Add option StructKind.PEEK_FIELDS_NO_EXPAND, similar to PEEK_FIELDS but is not expanded in "SELECT *"

2017-06-28 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen updated CALCITE-1856: Description: In Calcite, StructKind.PEEK_FIELDS allow see its fields without qualifying them

[jira] [Updated] (CALCITE-1856) Add option StructKind.PEEK_FIELDS_NO_EXPAND, similar to PEEK_FIELDS but is not expanded in "SELECT *"

2017-06-28 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen updated CALCITE-1856: Description: In Calcite, StructKind.PEEK_FIELDS allow see its fields without qualifying them

[jira] [Updated] (CALCITE-1856) Add option StructKind.PEEK_FIELDS_NO_EXPAND, similar to PEEK_FIELDS but is not expanded in "SELECT *"

2017-06-28 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen updated CALCITE-1856: Description: In Calcite, StructKind.PEEK_FIELDS allow see its fields without qualifying them

[jira] [Created] (CALCITE-1856) Add StructKind.PEEK_FIELDS_NO_FLATTENING option to disable star expansion

2017-06-21 Thread Shuyi Chen (JIRA)
Shuyi Chen created CALCITE-1856: --- Summary: Add StructKind.PEEK_FIELDS_NO_FLATTENING option to disable star expansion Key: CALCITE-1856 URL: https://issues.apache.org/jira/browse/CALCITE-1856 Project:

[jira] [Commented] (CALCITE-1856) Add StructKind.PEEK_FIELDS_NO_FLATTENING option to disable star expansion

2017-06-21 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16058378#comment-16058378 ] Shuyi Chen commented on CALCITE-1856: - PR is here: https://github.com/apache/calcite/pull/479 > Add

[jira] [Commented] (CALCITE-1856) Add StructKind.PEEK_FIELDS_NO_FLATTENING option to disable star expansion

2017-06-26 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16063955#comment-16063955 ] Shuyi Chen commented on CALCITE-1856: - That sounds good. SQL example added in the description. >

[jira] [Updated] (CALCITE-1856) Add StructKind.PEEK_FIELDS_NO_FLATTENING option to disable star expansion

2017-06-26 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen updated CALCITE-1856: Description: We want to use StructKind.PEEK_FIELDS for RecordType. But currently in calcite, a

[jira] [Updated] (CALCITE-1856) Add StructKind.PEEK_FIELDS_NO_FLATTENING option to disable star expansion

2017-06-26 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen updated CALCITE-1856: Description: We want to use StructKind.PEEK_FIELDS for RecordType. But currently in calcite, a

[jira] [Commented] (CALCITE-1856) Add StructKind.PEEK_FIELDS_NO_FLATTENING option to disable star expansion

2017-06-25 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16062553#comment-16062553 ] Shuyi Chen commented on CALCITE-1856: - [~julianhyde] Thanks a lot for reviewing the PR. Could you

[jira] [Commented] (CALCITE-1856) Add StructKind.PEEK_FIELDS_NO_FLATTENING option to disable star expansion

2017-06-26 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16062562#comment-16062562 ] Shuyi Chen commented on CALCITE-1856: - PEEK_FIELDS_NO_EXPAND looks good to me. > Add

[jira] [Created] (CALCITE-2016) ITEM + DOT operator does not work for array

2017-10-18 Thread Shuyi Chen (JIRA)
Shuyi Chen created CALCITE-2016: --- Summary: ITEM + DOT operator does not work for array Key: CALCITE-2016 URL: https://issues.apache.org/jira/browse/CALCITE-2016 Project: Calcite Issue Type:

[jira] [Commented] (CALCITE-2016) ITEM + DOT operator does not work for array

2017-10-18 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16210242#comment-16210242 ] Shuyi Chen commented on CALCITE-2016: - [~julianhyde] I take a look, seems like the problem is in the

[jira] [Comment Edited] (CALCITE-2016) ITEM + DOT operator does not work for array

2017-11-14 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16252733#comment-16252733 ] Shuyi Chen edited comment on CALCITE-2016 at 11/15/17 12:16 AM:

[jira] [Comment Edited] (CALCITE-2016) ITEM + DOT operator does not work for array

2017-11-14 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16252733#comment-16252733 ] Shuyi Chen edited comment on CALCITE-2016 at 11/15/17 12:16 AM:

[jira] [Commented] (CALCITE-707) Built-in support for simple DDL statements

2017-11-14 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16252870#comment-16252870 ] Shuyi Chen commented on CALCITE-707: Do you think this can make it to the 1.15 release? > Built-in

[jira] [Commented] (CALCITE-2016) ITEM + DOT operator does not work for array

2017-11-14 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16252871#comment-16252871 ] Shuyi Chen commented on CALCITE-2016: - Hi [~julianhyde], do you think if we can get this in 1.15

[jira] [Commented] (CALCITE-2045) Support "CREATE TYPE" DDL

2017-11-15 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16253119#comment-16253119 ] Shuyi Chen commented on CALCITE-2045: - Hi [~julianhyde], I think we can start with the following

[jira] [Comment Edited] (CALCITE-2046) Support "CREATE FUNCTION" DDL

2017-11-29 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16272218#comment-16272218 ] Shuyi Chen edited comment on CALCITE-2046 at 11/30/17 6:20 AM: --- Hi

[jira] [Commented] (CALCITE-2045) Support "CREATE TYPE" DDL

2017-11-29 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16272210#comment-16272210 ] Shuyi Chen commented on CALCITE-2045: - Thanks, [~julianhyde]. I saw CALCITE-707 is resolved. I will

[jira] [Commented] (CALCITE-2046) Support "CREATE FUNCTION" DDL

2017-11-29 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16272218#comment-16272218 ] Shuyi Chen commented on CALCITE-2046: - Hi [~julianhyde], any thought on this? > Support "CREATE

[jira] [Updated] (CALCITE-2046) Support "CREATE FUNCTION" DDL

2017-11-29 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen updated CALCITE-2046: Description: We want to add DDL support for creating external function like Apache Drill

[jira] [Commented] (CALCITE-2046) Support "CREATE FUNCTION" DDL

2017-11-10 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16248030#comment-16248030 ] Shuyi Chen commented on CALCITE-2046: - Hi [~julianhyde], what do you think of supporting this in

[jira] [Commented] (CALCITE-2045) Support "CREATE TYPE" DDL

2017-11-10 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16248028#comment-16248028 ] Shuyi Chen commented on CALCITE-2045: - Hi [~julianhyde], what do you think of supporting this in

[jira] [Comment Edited] (CALCITE-2046) Support "CREATE FUNCTION" DDL

2017-11-10 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16248030#comment-16248030 ] Shuyi Chen edited comment on CALCITE-2046 at 11/10/17 9:09 PM: --- Hi

[jira] [Comment Edited] (CALCITE-2045) Support "CREATE TYPE" DDL

2017-11-10 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16248028#comment-16248028 ] Shuyi Chen edited comment on CALCITE-2045 at 11/10/17 9:09 PM: --- Hi

[jira] [Commented] (CALCITE-2016) ITEM + DOT operator does not work for array

2017-11-13 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16250516#comment-16250516 ] Shuyi Chen commented on CALCITE-2016: - Hi [~julianhyde], you are right, I did try to parse 'myfield'

[jira] [Commented] (CALCITE-2045) Support "CREATE TYPE" DDL

2017-11-16 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16256078#comment-16256078 ] Shuyi Chen commented on CALCITE-2045: - Thanks, [~julianhyde]. I think that looks good to me as the

[jira] [Commented] (CALCITE-2016) ITEM + DOT operator does not work for array

2017-11-05 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16240014#comment-16240014 ] Shuyi Chen commented on CALCITE-2016: - [~julianhyde] Could you please help take a look at the PR,

[jira] [Comment Edited] (CALCITE-2016) ITEM + DOT operator does not work for array

2017-11-05 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16240014#comment-16240014 ] Shuyi Chen edited comment on CALCITE-2016 at 11/6/17 7:57 AM: --

[jira] [Commented] (CALCITE-2016) ITEM + DOT operator does not work for array

2017-11-06 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16241599#comment-16241599 ] Shuyi Chen commented on CALCITE-2016: - [~julianhyde] * Yes, I am trying to extend the grammar to

[jira] [Created] (CALCITE-2045) Support "CREATE TYPE" DDL

2017-11-08 Thread Shuyi Chen (JIRA)
Shuyi Chen created CALCITE-2045: --- Summary: Support "CREATE TYPE" DDL Key: CALCITE-2045 URL: https://issues.apache.org/jira/browse/CALCITE-2045 Project: Calcite Issue Type: New Feature

[jira] [Created] (CALCITE-2046) Support "CREATE FUNCTION" DDL

2017-11-08 Thread Shuyi Chen (JIRA)
Shuyi Chen created CALCITE-2046: --- Summary: Support "CREATE FUNCTION" DDL Key: CALCITE-2046 URL: https://issues.apache.org/jira/browse/CALCITE-2046 Project: Calcite Issue Type: New Feature

[jira] [Commented] (CALCITE-2209) Support loading JSON model file through URL

2018-05-22 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16484393#comment-16484393 ] Shuyi Chen commented on CALCITE-2209: - [~walterddr], thanks for the work. Can we dig deeper into how

[jira] [Closed] (CALCITE-2353) Allow user to override SqlSetOption in alterStatementParserMethods

2018-06-07 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen closed CALCITE-2353. --- Resolution: Fixed > Allow user to override SqlSetOption in alterStatementParserMethods >

[jira] [Commented] (CALCITE-2353) Allow user to override SqlSetOption in alterStatementParserMethods

2018-06-07 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16505563#comment-16505563 ] Shuyi Chen commented on CALCITE-2353: - Fixed in

[jira] [Commented] (CALCITE-2209) Support loading JSON model file through URL

2018-05-30 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16495823#comment-16495823 ] Shuyi Chen commented on CALCITE-2209: - Thanks a lot, Rong. Could we add a dummy protocol with a

[jira] [Commented] (CALCITE-2266) Implement SQL 2016 JSON functions

2018-05-30 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16494764#comment-16494764 ] Shuyi Chen commented on CALCITE-2266: - Hi [~michaelmior], when do you think this will be ready? The

[jira] [Commented] (CALCITE-2353) Allow user to override SqlSetOption in alterStatementParserMethods

2018-06-05 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16502690#comment-16502690 ] Shuyi Chen commented on CALCITE-2353: - By swapping the order, the parser will match the user DDL

[jira] [Assigned] (CALCITE-2353) Allow user to override SqlSetOption in alterStatementParserMethods

2018-06-07 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen reassigned CALCITE-2353: --- Assignee: Shuyi Chen (was: Julian Hyde) > Allow user to override SqlSetOption in

[jira] [Commented] (CALCITE-2353) Allow user to override SqlSetOption in alterStatementParserMethods

2018-06-07 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16504306#comment-16504306 ] Shuyi Chen commented on CALCITE-2353: - Hi [~julianhyde], assigning this ticket to me for review.

[jira] [Commented] (CALCITE-2133) Allow SqlGroupedWindowFunction to specify returnTypeInference in its constructor

2018-01-16 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16328182#comment-16328182 ] Shuyi Chen commented on CALCITE-2133: - Thanks a lot for the review, [~julianhyde]. Could you please

[jira] [Created] (CALCITE-2149) RexSimplify throws indexOutOfBoundException

2018-01-24 Thread Shuyi Chen (JIRA)
Shuyi Chen created CALCITE-2149: --- Summary: RexSimplify throws indexOutOfBoundException Key: CALCITE-2149 URL: https://issues.apache.org/jira/browse/CALCITE-2149 Project: Calcite Issue Type:

[jira] [Closed] (CALCITE-2149) RexSimplify throws indexOutOfBoundException

2018-01-24 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen closed CALCITE-2149. --- Resolution: Fixed > RexSimplify throws indexOutOfBoundException >

[jira] [Created] (CALCITE-2133) Allow SqlGroupedWindowFunction to specify returnTypeInference in its constructor

2018-01-12 Thread Shuyi Chen (JIRA)
Shuyi Chen created CALCITE-2133: --- Summary: Allow SqlGroupedWindowFunction to specify returnTypeInference in its constructor Key: CALCITE-2133 URL: https://issues.apache.org/jira/browse/CALCITE-2133

[jira] [Commented] (CALCITE-2133) Allow SqlGroupedWindowFunction to specify returnTypeInference in its constructor

2018-01-12 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16324916#comment-16324916 ] Shuyi Chen commented on CALCITE-2133: - Hi [~julianhyde], please let me know what you think. Here is

[jira] [Commented] (CALCITE-2045) Support "CREATE TYPE" DDL

2018-02-02 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16351203#comment-16351203 ] Shuyi Chen commented on CALCITE-2045: - Hi [~julianhyde], shall we also extend SqlDataTypeSpec and

[jira] [Created] (CALCITE-2162) SqlValidatorImpl.stripDot should be recursive

2018-02-01 Thread Shuyi Chen (JIRA)
Shuyi Chen created CALCITE-2162: --- Summary: SqlValidatorImpl.stripDot should be recursive Key: CALCITE-2162 URL: https://issues.apache.org/jira/browse/CALCITE-2162 Project: Calcite Issue Type:

[jira] [Commented] (CALCITE-2162) SqlValidatorImpl.stripDot should be recursive

2018-02-01 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16349445#comment-16349445 ] Shuyi Chen commented on CALCITE-2162: - Hi [~julianhyde], PR is attached, can you help take a look?

[jira] [Updated] (CALCITE-2162) Exception when accessing subfield of subfield of composite Array element

2018-02-01 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen updated CALCITE-2162: Description: for example, the following expression will throw an exception: {code:java}

[jira] [Commented] (CALCITE-2162) Exception when accessing subfield of subfield of composite Array element

2018-02-01 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16349575#comment-16349575 ] Shuyi Chen commented on CALCITE-2162: - [~julianhyde], done. > Exception when accessing subfield of

[jira] [Commented] (CALCITE-2162) Exception when accessing subfield of subfield of composite Array element

2018-02-02 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16350033#comment-16350033 ] Shuyi Chen commented on CALCITE-2162: - Hi, [~julianhyde], I've fixed the tests, but the jdk9 build

[jira] [Created] (CALCITE-2161) Add "types" collection to the schema element in the JSON model

2018-01-30 Thread Shuyi Chen (JIRA)
Shuyi Chen created CALCITE-2161: --- Summary: Add "types" collection to the schema element in the JSON model Key: CALCITE-2161 URL: https://issues.apache.org/jira/browse/CALCITE-2161 Project: Calcite

[jira] [Commented] (CALCITE-2162) Exception when accessing subfield of subfield of composite Array element

2018-02-04 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16351959#comment-16351959 ] Shuyi Chen commented on CALCITE-2162: - Thanks, I tried to run _mvn test_ on local machine with

[jira] [Assigned] (CALCITE-2161) Add "types" collection to the schema element in the JSON model

2018-02-04 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen reassigned CALCITE-2161: --- Assignee: Shuyi Chen (was: Julian Hyde) > Add "types" collection to the schema element in

[jira] [Assigned] (CALCITE-2045) Support "CREATE TYPE" DDL

2018-02-04 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen reassigned CALCITE-2045: --- Assignee: Shuyi Chen (was: Julian Hyde) > Support "CREATE TYPE" DDL >

[jira] [Assigned] (CALCITE-2046) Support "CREATE FUNCTION" DDL

2018-02-04 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen reassigned CALCITE-2046: --- Assignee: Shuyi Chen (was: Julian Hyde) > Support "CREATE FUNCTION" DDL >

[jira] [Commented] (CALCITE-2161) Add "types" collection to the schema element in the JSON model

2018-02-05 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16353201#comment-16353201 ] Shuyi Chen commented on CALCITE-2161: - Hi [~julianhyde], added a PR. jdk8 test passes, but jdk9 test

[jira] [Created] (CALCITE-2167) Travis JDK9 test always fails

2018-02-05 Thread Shuyi Chen (JIRA)
Shuyi Chen created CALCITE-2167: --- Summary: Travis JDK9 test always fails Key: CALCITE-2167 URL: https://issues.apache.org/jira/browse/CALCITE-2167 Project: Calcite Issue Type: Bug

[jira] [Updated] (CALCITE-2167) Travis JDK9 test always fails

2018-02-05 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen updated CALCITE-2167: Description: The test fails with the following lines at the end.    

[jira] [Comment Edited] (CALCITE-2045) Support "CREATE TYPE" DDL

2018-02-07 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16356429#comment-16356429 ] Shuyi Chen edited comment on CALCITE-2045 at 2/8/18 3:15 AM: - Hi

[jira] [Commented] (CALCITE-2045) Support "CREATE TYPE" DDL

2018-02-07 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16356429#comment-16356429 ] Shuyi Chen commented on CALCITE-2045: - Hi [~julianhyde], I think I'll need to extend SqlDataTypeSpec

[jira] [Closed] (CALCITE-2171) ExampleFunctionTest is not reading model.json

2018-02-06 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen closed CALCITE-2171. --- Resolution: Won't Fix > ExampleFunctionTest is not reading model.json >

[jira] [Created] (CALCITE-2171) [Cleanup] ExampleFunctionTest is not reading model.json

2018-02-06 Thread Shuyi Chen (JIRA)
Shuyi Chen created CALCITE-2171: --- Summary: [Cleanup] ExampleFunctionTest is not reading model.json Key: CALCITE-2171 URL: https://issues.apache.org/jira/browse/CALCITE-2171 Project: Calcite

[jira] [Updated] (CALCITE-2171) ExampleFunctionTest is not reading model.json

2018-02-06 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen updated CALCITE-2171: Summary: ExampleFunctionTest is not reading model.json (was: [Cleanup] ExampleFunctionTest is

[jira] [Commented] (CALCITE-2171) ExampleFunctionTest is not reading model.json

2018-02-06 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16354858#comment-16354858 ] Shuyi Chen commented on CALCITE-2171: - I see, do we leave it there just for demonstration purpose?

[jira] [Created] (CALCITE-2466) RexSimplify incorrectly simplify conjunction statement with null literal

2018-08-14 Thread Shuyi Chen (JIRA)
Shuyi Chen created CALCITE-2466: --- Summary: RexSimplify incorrectly simplify conjunction statement with null literal Key: CALCITE-2466 URL: https://issues.apache.org/jira/browse/CALCITE-2466 Project:

[jira] [Commented] (CALCITE-2466) RexSimplify incorrectly simplify conjunction statement with null literal

2018-08-14 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16580180#comment-16580180 ] Shuyi Chen commented on CALCITE-2466: - Thanks a lot, [~julianhyde], in {code:java} select deptno

[jira] [Commented] (CALCITE-2466) RexSimplify incorrectly simplify conjunction statement with null literal

2018-08-14 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16580184#comment-16580184 ] Shuyi Chen commented on CALCITE-2466: - Also, I've created a PR

[jira] [Commented] (CALCITE-2466) RexSimplify incorrectly simplify conjunction statement with null literal

2018-08-14 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16580246#comment-16580246 ] Shuyi Chen commented on CALCITE-2466: - so does it mean we only support is NULL or IS NOT NULL for

[jira] [Commented] (CALCITE-2466) RexSimplify incorrectly simplify conjunction statement with null literal

2018-08-14 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16580456#comment-16580456 ] Shuyi Chen commented on CALCITE-2466: - i agree, I am thinking of adding or extending some logic in

[jira] [Commented] (CALCITE-2466) RexSimplify incorrectly simplify conjunction statement with null literal

2018-08-16 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16582683#comment-16582683 ] Shuyi Chen commented on CALCITE-2466: - [~julianhyde], [~vladimirsitnikov], thanks for the info.

[jira] [Closed] (CALCITE-2466) RexSimplify incorrectly simplify conjunction statement with null literal

2018-08-16 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen closed CALCITE-2466. --- Resolution: Invalid > RexSimplify incorrectly simplify conjunction statement with null literal >

[jira] [Commented] (CALCITE-2440) SQL with UNNEST fail in volcano planner in some cases

2018-08-16 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16583181#comment-16583181 ] Shuyi Chen commented on CALCITE-2440: - [~vvysotskyi], table "T" does contains column "a". Could you

[jira] [Commented] (CALCITE-2440) SQL with UNNEST fail in volcano planner in some cases

2018-08-21 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16586993#comment-16586993 ] Shuyi Chen commented on CALCITE-2440: - Thanks a lot for the pointer, [~vvysotskyi]. Yes, I found

[jira] [Closed] (CALCITE-2440) SQL with UNNEST fail in volcano planner in some cases

2018-08-21 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen closed CALCITE-2440. --- Resolution: Invalid > SQL with UNNEST fail in volcano planner in some cases >

[jira] [Commented] (CALCITE-2440) SQL with UNNEST fail in volcano planner in some cases

2018-08-19 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16585420#comment-16585420 ] Shuyi Chen commented on CALCITE-2440: - [~vvysotskyi], thanks a lot. There are 52 rules together,

[jira] [Commented] (CALCITE-2211) Type of BigInteger should be BIGINT

2018-03-13 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16397705#comment-16397705 ] Shuyi Chen commented on CALCITE-2211: - It seems we just need to add BigInteger to BIGINT conversion

[jira] [Commented] (CALCITE-2045) Support "CREATE TYPE" DDL

2018-03-13 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16397766#comment-16397766 ] Shuyi Chen commented on CALCITE-2045: - Hi [~julianhyde], do you think if we can get this in 1.16?

[jira] [Commented] (CALCITE-2211) Type of BigInteger should be BIGINT

2018-03-13 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16397750#comment-16397750 ] Shuyi Chen commented on CALCITE-2211: - Good point. java.math.BigInteger has unlimited decision, I

[jira] [Commented] (CALCITE-2046) Support "CREATE FUNCTION" DDL

2018-03-13 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16397769#comment-16397769 ] Shuyi Chen commented on CALCITE-2046: - Also keyword seems to be somehow reserved that I can't use

[jira] [Commented] (CALCITE-2045) Support "CREATE TYPE" DDL

2018-03-09 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16393765#comment-16393765 ] Shuyi Chen commented on CALCITE-2045: - Hi [~julianhyde], I addressed all comments, could you please

[jira] [Created] (CALCITE-2209) Support loading JSON model file through URL

2018-03-09 Thread Shuyi Chen (JIRA)
Shuyi Chen created CALCITE-2209: --- Summary: Support loading JSON model file through URL Key: CALCITE-2209 URL: https://issues.apache.org/jira/browse/CALCITE-2209 Project: Calcite Issue Type:

[jira] [Comment Edited] (CALCITE-2211) Type of BigInteger should be BIGINT

2018-03-13 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16397750#comment-16397750 ] Shuyi Chen edited comment on CALCITE-2211 at 3/14/18 1:39 AM: -- Good point.

[jira] [Comment Edited] (CALCITE-2211) Type of BigInteger should be BIGINT

2018-03-13 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16397750#comment-16397750 ] Shuyi Chen edited comment on CALCITE-2211 at 3/14/18 1:40 AM: -- Good point.

[jira] [Created] (CALCITE-2214) Support CREATE FUNCTION DDL

2018-03-14 Thread Shuyi Chen (JIRA)
Shuyi Chen created CALCITE-2214: --- Summary: Support CREATE FUNCTION DDL Key: CALCITE-2214 URL: https://issues.apache.org/jira/browse/CALCITE-2214 Project: Calcite Issue Type: New Feature

[jira] [Commented] (CALCITE-2046) Support "CREATE FUNCTION" DDL

2018-03-14 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16399432#comment-16399432 ] Shuyi Chen commented on CALCITE-2046: - I think we need another Jira [CREATE

[jira] [Updated] (CALCITE-2046) Support "CREATE LIBRARY" DDL

2018-03-14 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen updated CALCITE-2046: Summary: Support "CREATE LIBRARY" DDL (was: Support "CREATE FUNCTION" DDL) > Support "CREATE

[jira] [Updated] (CALCITE-2214) Support CREATE FUNCTION DDL

2018-03-14 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen updated CALCITE-2214: Description: We want to add function DDL support like this in

[jira] [Comment Edited] (CALCITE-2045) Support "CREATE TYPE" DDL

2018-03-14 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16399352#comment-16399352 ] Shuyi Chen edited comment on CALCITE-2045 at 3/14/18 8:29 PM: -- Hi

[jira] [Commented] (CALCITE-2045) Support "CREATE TYPE" DDL

2018-03-14 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16399352#comment-16399352 ] Shuyi Chen commented on CALCITE-2045: - [~julianhyde], sounds good to me. Can you take another look

[jira] [Created] (CALCITE-2251) Support AS STRUCT syntax to create named STRUCT in SQL similar to Google BigQuery

2018-04-12 Thread Shuyi Chen (JIRA)
Shuyi Chen created CALCITE-2251: --- Summary: Support AS STRUCT syntax to create named STRUCT in SQL similar to Google BigQuery Key: CALCITE-2251 URL: https://issues.apache.org/jira/browse/CALCITE-2251

[jira] [Created] (CALCITE-2252) Add supported SQL Dialects in Calcite website

2018-04-13 Thread Shuyi Chen (JIRA)
Shuyi Chen created CALCITE-2252: --- Summary: Add supported SQL Dialects in Calcite website Key: CALCITE-2252 URL: https://issues.apache.org/jira/browse/CALCITE-2252 Project: Calcite Issue Type:

[jira] [Commented] (CALCITE-2216) Improve extensibility of AggregateReduceFunctionsRule

2018-04-09 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16431019#comment-16431019 ] Shuyi Chen commented on CALCITE-2216: - Merged with

[jira] [Commented] (CALCITE-2216) Improve extensibility of AggregateReduceFunctionsRule

2018-04-09 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16431016#comment-16431016 ] Shuyi Chen commented on CALCITE-2216: - Closed with Thanks a lot for the PR, [~fhueske]! > Improve

[jira] [Issue Comment Deleted] (CALCITE-2216) Improve extensibility of AggregateReduceFunctionsRule

2018-04-09 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen updated CALCITE-2216: Comment: was deleted (was: Closed with Thanks a lot for the PR, [~fhueske]!) > Improve

[jira] [Resolved] (CALCITE-2216) Improve extensibility of AggregateReduceFunctionsRule

2018-04-09 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen resolved CALCITE-2216. - Resolution: Fixed Fix Version/s: 1.17.0 > Improve extensibility of

[jira] [Assigned] (CALCITE-2216) Improve extensibility of AggregateReduceFunctionsRule

2018-04-09 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuyi Chen reassigned CALCITE-2216: --- Assignee: Shuyi Chen (was: Julian Hyde) > Improve extensibility of

  1   2   >