[jira] [Commented] (CALCITE-2662) Planner: allow parsing directly a stream instead of a java.lang.String

2018-11-07 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16679378#comment-16679378 ] Vladimir Sitnikov commented on CALCITE-2662: Would you probably add a test case to

[jira] [Commented] (CALCITE-2662) Planner: allow parsing directly a stream instead of a java.lang.String

2018-11-07 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16679377#comment-16679377 ] Vladimir Sitnikov commented on CALCITE-2662: [~eolivelli], have you seen

[jira] [Created] (CALCITE-2662) Planner: allow parsing directly a stream instead of a java.lang.String

2018-11-07 Thread Enrico Olivelli (JIRA)
Enrico Olivelli created CALCITE-2662: Summary: Planner: allow parsing directly a stream instead of a java.lang.String Key: CALCITE-2662 URL: https://issues.apache.org/jira/browse/CALCITE-2662

[jira] [Commented] (CALCITE-563) JDBC adapter fails to execute a prepared statement with a bind variable

2018-11-07 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16678880#comment-16678880 ] Piotr Bojko commented on CALCITE-563: - Here is a working POC

[jira] [Commented] (CALCITE-2659) Wrong plan In natural left/right join

2018-11-07 Thread Haisheng Yuan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16678856#comment-16678856 ] Haisheng Yuan commented on CALCITE-2659: The plan produces correct result in that within

[jira] [Commented] (CALCITE-2542) SqlNode AtomicRowExpression + DOT operation does not work for constructed ROWs

2018-11-07 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16678858#comment-16678858 ] Julian Hyde commented on CALCITE-2542: -- If we implemented types with member functions we'd need

[jira] [Comment Edited] (CALCITE-2659) Wrong plan In natural left/right join

2018-11-07 Thread Haisheng Yuan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16678837#comment-16678837 ] Haisheng Yuan edited comment on CALCITE-2659 at 11/7/18 9:58 PM: - Here

[jira] [Commented] (CALCITE-2655) Enable Travis to test against JDK 12

2018-11-07 Thread Kevin Risden (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16678812#comment-16678812 ] Kevin Risden commented on CALCITE-2655: --- Adding allow failures for 3-jdk-12 for now. Will create

[jira] [Resolved] (CALCITE-2655) Enable Travis to test against JDK 12

2018-11-07 Thread Kevin Risden (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Risden resolved CALCITE-2655. --- Resolution: Fixed > Enable Travis to test against JDK 12 >

[jira] [Assigned] (CALCITE-2660) OsAdapterTest should check if required commands are available

2018-11-07 Thread Kevin Risden (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Risden reassigned CALCITE-2660: - Assignee: (was: Julian Hyde) > OsAdapterTest should check if required commands

[jira] [Comment Edited] (CALCITE-2660) OsAdapterTest should check if required commands are available

2018-11-07 Thread Kevin Risden (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16678816#comment-16678816 ] Kevin Risden edited comment on CALCITE-2660 at 11/7/18 9:42 PM: For

[jira] [Commented] (CALCITE-2660) OsAdapterTest should check if required commands are available

2018-11-07 Thread Kevin Risden (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16678816#comment-16678816 ] Kevin Risden commented on CALCITE-2660: --- For reference the failures from

[jira] [Created] (CALCITE-2660) OsAdapterTest should check if required commands are available

2018-11-07 Thread Kevin Risden (JIRA)
Kevin Risden created CALCITE-2660: - Summary: OsAdapterTest should check if required commands are available Key: CALCITE-2660 URL: https://issues.apache.org/jira/browse/CALCITE-2660 Project: Calcite

[jira] [Commented] (CALCITE-2542) SqlNode AtomicRowExpression + DOT operation does not work for constructed ROWs

2018-11-07 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16678780#comment-16678780 ] Shuyi Chen commented on CALCITE-2542: - Thanks for the work, Rong! I think you need to also add test

[jira] [Commented] (CALCITE-2655) Enable Travis to test against JDK 12

2018-11-07 Thread Kevin Risden (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16678654#comment-16678654 ] Kevin Risden commented on CALCITE-2655: --- maven:3-jdk-12 doesn't have ps or git installed. This

[jira] [Commented] (CALCITE-2658) Introducing more ReduceExpressionRules

2018-11-07 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16678584#comment-16678584 ] Julian Hyde commented on CALCITE-2658: -- Yes, more rules are welcome. (We can argue about how they

[jira] [Commented] (CALCITE-2657) use RexCall#clone instead of constructor to make a new RexCall in RexShuttle for more scalability

2018-11-07 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16678576#comment-16678576 ] Julian Hyde commented on CALCITE-2657: -- I don't have any problem with this PR in principle. If you

[jira] [Commented] (CALCITE-2655) Enable Travis to test against JDK 12

2018-11-07 Thread Kevin Risden (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16678520#comment-16678520 ] Kevin Risden commented on CALCITE-2655: --- Calcite PR: https://github.com/apache/calcite/pull/904

[jira] [Commented] (CALCITE-563) JDBC adapter fails to execute a prepared statement with a bind variable

2018-11-07 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16678498#comment-16678498 ] Vladimir Sitnikov commented on CALCITE-563: ---

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

2018-11-07 Thread Kevin Risden (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16678470#comment-16678470 ] Kevin Risden commented on CALCITE-2266: --- I am looking into the Travis issues as part of 

[jira] [Commented] (CALCITE-2655) Enable Travis to test against JDK 12

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

[jira] [Comment Edited] (CALCITE-563) JDBC adapter fails to execute a prepared statement with a bind variable

2018-11-07 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16678384#comment-16678384 ] Piotr Bojko edited comment on CALCITE-563 at 11/7/18 3:28 PM: -- I've taken

[jira] [Commented] (CALCITE-563) JDBC adapter fails to execute a prepared statement with a bind variable

2018-11-07 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16678384#comment-16678384 ] Piotr Bojko commented on CALCITE-563: - I've taken the branch from [~vladimirsitnikov]. As for now

[jira] [Commented] (CALCITE-2609) Dynamic parameters ? pushed to underlying jdbc schema

2018-11-07 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16678382#comment-16678382 ] Piotr Bojko commented on CALCITE-2609: -- [~vladimirsitnikov] I am on track with this. Will comment

[jira] [Updated] (CALCITE-2659) Wrong plan In natural left/right join

2018-11-07 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2659: -- Description: The following is the code: {code:java} public static void main(String[] args) {

[jira] [Updated] (CALCITE-2659) Wrong plan In natural left/right join

2018-11-07 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2659: -- Description: The following is the code: {code:java} public static void main(String[] args) {

[jira] [Updated] (CALCITE-2659) Wrong plan In natural left/right join

2018-11-07 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2659: -- Description: The following is the code: {code:java} public static void main(String[] args) {

[jira] [Updated] (CALCITE-2659) Wrong plan In natural left/right join

2018-11-07 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2659: -- Description: The following is the code: {code:java} public static void main(String[] args) {

[jira] [Updated] (CALCITE-2659) Wrong plan In natural left/right join

2018-11-07 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2659: -- Description: The following is the code: {code:java} public static void main(String[] args) {

[jira] [Updated] (CALCITE-2659) Wrong plan In natural left/right join

2018-11-07 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2659: -- Description: public static void main(String[] args) { try {

[jira] [Created] (CALCITE-2659) Wrong plan In natural left/right join

2018-11-07 Thread yuqi (JIRA)
yuqi created CALCITE-2659: - Summary: Wrong plan In natural left/right join Key: CALCITE-2659 URL: https://issues.apache.org/jira/browse/CALCITE-2659 Project: Calcite Issue Type: Bug

[jira] [Updated] (CALCITE-2659) Wrong plan In natural left/right join

2018-11-07 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2659: -- Environment: (was: {code:java} public static void main(String[] args) { try {

[jira] [Closed] (CALCITE-2657) use RexCall#clone instead of constructor to make a new RexCall in RexShuttle for more scalability

2018-11-07 Thread Chunwei Lei (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chunwei Lei closed CALCITE-2657. Resolution: Not A Bug > use RexCall#clone instead of constructor to make a new RexCall in

[jira] [Comment Edited] (CALCITE-2657) use RexCall#clone instead of constructor to make a new RexCall in RexShuttle for more scalability

2018-11-07 Thread Chunwei Lei (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16677938#comment-16677938 ] Chunwei Lei edited comment on CALCITE-2657 at 11/7/18 9:59 AM: --- Got it!

[jira] [Commented] (CALCITE-2657) use RexCall#clone instead of constructor to make a new RexCall in RexShuttle for more scalability

2018-11-07 Thread Chunwei Lei (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16677938#comment-16677938 ] Chunwei Lei commented on CALCITE-2657: -- Thanks [~julianhyde] > use RexCall#clone instead of

[jira] [Commented] (CALCITE-2657) use RexCall#clone instead of constructor to make a new RexCall in RexShuttle for more scalability

2018-11-07 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16677891#comment-16677891 ] Julian Hyde commented on CALCITE-2657: -- Note the comment in RexCall: {code} * It's not often

[jira] [Commented] (CALCITE-2658) Introducing more ReduceExpressionRules

2018-11-07 Thread Chunwei Lei (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16677838#comment-16677838 ] Chunwei Lei commented on CALCITE-2658: -- Thanks Stamatis Zampetakis. SortRemoveConstantKeysRule

[jira] [Commented] (CALCITE-2657) use RexCall#clone instead of constructor to make a new RexCall in RexShuttle for more scalability

2018-11-07 Thread Chunwei Lei (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16677826#comment-16677826 ] Chunwei Lei commented on CALCITE-2657: -- It is not a performance issue. In our use case, we use

[jira] [Commented] (CALCITE-2658) Introducing more ReduceExpressionRules

2018-11-07 Thread Stamatis Zampetakis (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16677799#comment-16677799 ] Stamatis Zampetakis commented on CALCITE-2658: -- I am not sure about adding more