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

2018-05-31 Thread Rong Rong (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16497533#comment-16497533 ] Rong Rong commented on CALCITE-2209: Thanks for the pointer, I added a test for custom

[jira] [Commented] (CALCITE-2302) Implicit type cast support

2018-05-31 Thread Yuzhao Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16497520#comment-16497520 ] Yuzhao Chen commented on CALCITE-2302: -- Hi, committers, can you give me some suggestions? Our

[jira] [Commented] (CALCITE-2336) SqlValidatorImpl throws java.lang.IndexOutOfBoundsException

2018-05-31 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16497488#comment-16497488 ] yuqi commented on CALCITE-2336: --- [~xu fei] You can make a MR about this problem or i do it later >

[jira] [Commented] (CALCITE-2336) SqlValidatorImpl throws java.lang.IndexOutOfBoundsException

2018-05-31 Thread Fei Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16497486#comment-16497486 ] Fei Xu commented on CALCITE-2336: - Thanks, It's more clear > SqlValidatorImpl throws

[jira] [Created] (CALCITE-2347) embedded ElasticSearch node for ES adapter unit tests

2018-05-31 Thread Andrei Sereda (JIRA)
Andrei Sereda created CALCITE-2347: -- Summary: embedded ElasticSearch node for ES adapter unit tests Key: CALCITE-2347 URL: https://issues.apache.org/jira/browse/CALCITE-2347 Project: Calcite

[jira] [Commented] (CALCITE-2022) ConnectionConfigImplTest failing on Jenkins

2018-05-31 Thread Francis Chuang (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16497427#comment-16497427 ] Francis Chuang commented on CALCITE-2022: - I think we can go ahead and make this part of 1.12.

[jira] [Commented] (CALCITE-2022) ConnectionConfigImplTest failing on Jenkins

2018-05-31 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16497425#comment-16497425 ] ASF GitHub Bot commented on CALCITE-2022: - Github user F21 commented on the issue:

[jira] [Commented] (CALCITE-2022) ConnectionConfigImplTest failing on Jenkins

2018-05-31 Thread Josh Elser (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16497423#comment-16497423 ] Josh Elser commented on CALCITE-2022: - Similarly, leaving this open until we figure out if this

[jira] [Commented] (CALCITE-2022) ConnectionConfigImplTest failing on Jenkins

2018-05-31 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16497418#comment-16497418 ] ASF GitHub Bot commented on CALCITE-2022: - Github user asfgit closed the pull request at:

[jira] [Commented] (CALCITE-2022) ConnectionConfigImplTest failing on Jenkins

2018-05-31 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16497420#comment-16497420 ] ASF GitHub Bot commented on CALCITE-2022: - Github user joshelser commented on the issue:

[jira] [Comment Edited] (CALCITE-2285) Support client cert keystore for Avatica Client

2018-05-31 Thread Karan Mehta (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16497154#comment-16497154 ] Karan Mehta edited comment on CALCITE-2285 at 5/31/18 8:55 PM: --- Jetty

[jira] [Commented] (CALCITE-2285) Support client cert keystore for Avatica Client

2018-05-31 Thread Karan Mehta (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16497154#comment-16497154 ] Karan Mehta commented on CALCITE-2285: -- Jetty offers client/server classes which allow dynamic

[jira] [Commented] (CALCITE-2345) add tests using Fongo to Mongo Adapter

2018-05-31 Thread Michael Mior (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496854#comment-16496854 ] Michael Mior commented on CALCITE-2345: --- If they take too long, one option would be to only

[jira] [Commented] (CALCITE-2345) add tests using Fongo to Mongo Adapter

2018-05-31 Thread Andrei Sereda (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496814#comment-16496814 ] Andrei Sereda commented on CALCITE-2345: Hmm. My concern is that unit tests have to be fast.

[jira] [Commented] (CALCITE-2344) Wrong constant reduction over windows function

2018-05-31 Thread Laurent Goujon (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496804#comment-16496804 ] Laurent Goujon commented on CALCITE-2344: - So I guess there are two issues? 1/ the return type

[jira] [Commented] (CALCITE-2345) add tests using Fongo to Mongo Adapter

2018-05-31 Thread Michael Mior (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496775#comment-16496775 ] Michael Mior commented on CALCITE-2345: --- If we're moving towards unifying the integration tests

[jira] [Commented] (CALCITE-2345) add tests using Fongo to Mongo Adapter

2018-05-31 Thread Andrei Sereda (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496758#comment-16496758 ] Andrei Sereda commented on CALCITE-2345: I will work to have a single test for Mongo Adapter.

[jira] [Commented] (CALCITE-2341) ImmutableBitSetTest fails with JDK11

2018-05-31 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496752#comment-16496752 ] Julian Hyde commented on CALCITE-2341: -- I saw some javadoc failures under JDK 11. While you're in

[jira] [Issue Comment Deleted] (CALCITE-2342) use of assert with side-effect in Schemas

2018-05-31 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde updated CALCITE-2342: - Comment: was deleted (was: I saw some javadoc failures under JDK 11. While you're in the code,

[jira] [Commented] (CALCITE-2342) use of assert with side-effect in Schemas

2018-05-31 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496750#comment-16496750 ] Julian Hyde commented on CALCITE-2342: -- I saw some javadoc failures under JDK 11. While you're in

[jira] [Commented] (CALCITE-2345) add tests using Fongo to Mongo Adapter

2018-05-31 Thread Michael Mior (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496739#comment-16496739 ] Michael Mior commented on CALCITE-2345: --- Based on discussion on the mailing list, [~asereda] is

[jira] [Commented] (CALCITE-2345) add tests using Fongo to Mongo Adapter

2018-05-31 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496734#comment-16496734 ] Julian Hyde commented on CALCITE-2345: -- [~michaelmior] I'm not criticizing you. It's a 45:55

[jira] [Commented] (CALCITE-2345) add tests using Fongo to Mongo Adapter

2018-05-31 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496718#comment-16496718 ] Julian Hyde commented on CALCITE-2345: -- {quote}until we manage to unify these tests {quote} Who is

[jira] [Commented] (CALCITE-2344) Wrong constant reduction over windows function

2018-05-31 Thread Laurent Goujon (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496714#comment-16496714 ] Laurent Goujon commented on CALCITE-2344: - Attaching pull request with 2 test cases added to

[jira] [Commented] (CALCITE-2344) Wrong constant reduction over windows function

2018-05-31 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496711#comment-16496711 ] Julian Hyde commented on CALCITE-2344: -- If an aggregate function is applied over 0 rows - i.e. an

[jira] [Commented] (CALCITE-2344) Wrong constant reduction over windows function

2018-05-31 Thread Laurent Goujon (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496708#comment-16496708 ] Laurent Goujon commented on CALCITE-2344: - I tried the following query: {code:sql} select

[jira] [Commented] (CALCITE-2345) add tests using Fongo to Mongo Adapter

2018-05-31 Thread Michael Mior (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496704#comment-16496704 ] Michael Mior commented on CALCITE-2345: --- Agreed that it is added complexity, which is far from

[jira] [Commented] (CALCITE-2345) add tests using Fongo to Mongo Adapter

2018-05-31 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496699#comment-16496699 ] Julian Hyde commented on CALCITE-2345: -- After this change, we have both MongoAdapterIT and

[jira] [Commented] (CALCITE-2022) ConnectionConfigImplTest failing on Jenkins

2018-05-31 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496691#comment-16496691 ] ASF GitHub Bot commented on CALCITE-2022: - Github user snuyanzin commented on the issue:

[jira] [Commented] (CALCITE-2022) ConnectionConfigImplTest failing on Jenkins

2018-05-31 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496670#comment-16496670 ] ASF GitHub Bot commented on CALCITE-2022: - Github user joshelser commented on the issue:

[jira] [Updated] (CALCITE-2346) UNION results with different column types can cause ClassCastException

2018-05-31 Thread Marc Prud'hommeaux (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marc Prud'hommeaux updated CALCITE-2346: Description: Trying to union results from two separate data types is throwing:

[jira] [Comment Edited] (CALCITE-2346) UNION results with different column types can cause ClassCastException

2018-05-31 Thread Marc Prud'hommeaux (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496624#comment-16496624 ] Marc Prud'hommeaux edited comment on CALCITE-2346 at 5/31/18 2:37 PM:

[jira] [Comment Edited] (CALCITE-2346) UNION results with different column types can cause ClassCastException

2018-05-31 Thread Marc Prud'hommeaux (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496630#comment-16496630 ] Marc Prud'hommeaux edited comment on CALCITE-2346 at 5/31/18 2:36 PM:

[jira] [Comment Edited] (CALCITE-2346) UNION results with different column types can cause ClassCastException

2018-05-31 Thread Marc Prud'hommeaux (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496624#comment-16496624 ] Marc Prud'hommeaux edited comment on CALCITE-2346 at 5/31/18 2:36 PM:

[jira] [Comment Edited] (CALCITE-2346) UNION results with different column types can cause ClassCastException

2018-05-31 Thread Marc Prud'hommeaux (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496639#comment-16496639 ] Marc Prud'hommeaux edited comment on CALCITE-2346 at 5/31/18 2:35 PM:

[jira] [Comment Edited] (CALCITE-2346) UNION results with different column types can cause ClassCastException

2018-05-31 Thread Marc Prud'hommeaux (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496639#comment-16496639 ] Marc Prud'hommeaux edited comment on CALCITE-2346 at 5/31/18 2:35 PM:

[jira] [Comment Edited] (CALCITE-2346) UNION results with different column types can cause ClassCastException

2018-05-31 Thread Marc Prud'hommeaux (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496639#comment-16496639 ] Marc Prud'hommeaux edited comment on CALCITE-2346 at 5/31/18 2:35 PM:

[jira] [Resolved] (CALCITE-2345) add tests using Fongo to Mongo Adapter

2018-05-31 Thread Michael Mior (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Mior resolved CALCITE-2345. --- Resolution: Fixed Assignee: Michael Mior (was: Julian Hyde) > add tests using Fongo

[jira] [Commented] (CALCITE-2346) UNION results with different column types can cause ClassCastException

2018-05-31 Thread Marc Prud'hommeaux (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496639#comment-16496639 ] Marc Prud'hommeaux commented on CALCITE-2346: - And I will lastly add that this issue can be

[jira] [Commented] (CALCITE-2346) UNION results with different column types can cause ClassCastException

2018-05-31 Thread Marc Prud'hommeaux (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496630#comment-16496630 ] Marc Prud'hommeaux commented on CALCITE-2346: - Also, a much simpler query can more easily

[jira] [Comment Edited] (CALCITE-2346) UNION results with different column types can cause ClassCastException

2018-05-31 Thread Marc Prud'hommeaux (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496624#comment-16496624 ] Marc Prud'hommeaux edited comment on CALCITE-2346 at 5/31/18 2:23 PM:

[jira] [Commented] (CALCITE-2346) UNION results with different column types can cause ClassCastException

2018-05-31 Thread Marc Prud'hommeaux (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496624#comment-16496624 ] Marc Prud'hommeaux commented on CALCITE-2346: - I should mention that the two columns in

[jira] [Created] (CALCITE-2346) UNION results with different column types can cause ClassCastException

2018-05-31 Thread Marc Prud'hommeaux (JIRA)
Marc Prud'hommeaux created CALCITE-2346: --- Summary: UNION results with different column types can cause ClassCastException Key: CALCITE-2346 URL: https://issues.apache.org/jira/browse/CALCITE-2346

[jira] [Comment Edited] (CALCITE-2336) SqlValidatorImpl throws java.lang.IndexOutOfBoundsException

2018-05-31 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496548#comment-16496548 ] yuqi edited comment on CALCITE-2336 at 5/31/18 1:43 PM: [~xu fei] I suggest you

[jira] [Commented] (CALCITE-2336) SqlValidatorImpl throws java.lang.IndexOutOfBoundsException

2018-05-31 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496548#comment-16496548 ] yuqi commented on CALCITE-2336: --- [~xu fei] I suggest you check column size in function `validateInsert `,

[jira] [Updated] (CALCITE-2336) SqlValidatorImpl throws java.lang.IndexOutOfBoundsException

2018-05-31 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2336: -- Attachment: 1.patch > SqlValidatorImpl throws java.lang.IndexOutOfBoundsException >

[jira] [Commented] (CALCITE-2022) ConnectionConfigImplTest failing on Jenkins

2018-05-31 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496395#comment-16496395 ] ASF GitHub Bot commented on CALCITE-2022: - GitHub user snuyanzin opened a pull request:

[jira] [Updated] (CALCITE-2302) Implicit type cast support

2018-05-31 Thread Yuzhao Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuzhao Chen updated CALCITE-2302: - Description: Now many DBs have support implicit type cast, eg: SqlServer, Oracle, Hive.

[jira] [Updated] (CALCITE-2302) Implicit type cast support

2018-05-31 Thread Yuzhao Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuzhao Chen updated CALCITE-2302: - Description: Now many DBs have support implicit type cast, eg: SqlServer, Oracle, Hive.

[jira] [Issue Comment Deleted] (CALCITE-2302) Implicit type cast support

2018-05-31 Thread Yuzhao Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuzhao Chen updated CALCITE-2302: - Comment: was deleted (was: hi, [~julianhyde] I have made a PR here

[jira] [Commented] (CALCITE-2336) SqlValidatorImpl throws java.lang.IndexOutOfBoundsException

2018-05-31 Thread Fei Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496143#comment-16496143 ] Fei Xu commented on CALCITE-2336: - Well, would you please execute the following unit test in