[jira] [Commented] (CALCITE-2641) DATE and TIMESTAMP arguments to user-defined table function

2019-01-06 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16735187#comment-16735187 ] Piotr Bojko commented on CALCITE-2641: -- [~vladimirsitnikov] yeah - the PR 900 was created just a

[jira] [Commented] (CALCITE-2742) Update RexImpTable to user DataContext to retrieve USER and SYSTEM_USER

2018-12-15 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16722316#comment-16722316 ] Piotr Bojko commented on CALCITE-2742: -- Hello, I have partly implemented this on CALCITE-2194. >

[jira] [Commented] (CALCITE-2697) Better handling bindable params pushed down to JDBC schema

2018-12-10 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16714650#comment-16714650 ] Piotr Bojko commented on CALCITE-2697: -- I have changed a type of the ticket because for some types

[jira] [Updated] (CALCITE-2697) Better handling bindable params pushed down to JDBC schema

2018-12-10 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Piotr Bojko updated CALCITE-2697: - Issue Type: Bug (was: Improvement) > Better handling bindable params pushed down to JDBC

[jira] [Assigned] (CALCITE-2697) Better handling bindable params pushed down to JDBC schema

2018-12-10 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Piotr Bojko reassigned CALCITE-2697: Assignee: Julian Hyde (was: Piotr Bojko) I have created a pull for this.

[jira] [Commented] (CALCITE-2719) MySQL does not support cast to bigint type

2018-12-03 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16706975#comment-16706975 ] Piotr Bojko commented on CALCITE-2719: -- I've pushed the suggested change for CAST to INTEGER >

[jira] [Comment Edited] (CALCITE-2719) MySQL does not support cast to bigint type

2018-12-03 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16706859#comment-16706859 ] Piotr Bojko edited comment on CALCITE-2719 at 12/3/18 9:16 AM: ---

[jira] [Comment Edited] (CALCITE-2719) MySQL does not support cast to bigint type

2018-12-03 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16706859#comment-16706859 ] Piotr Bojko edited comment on CALCITE-2719 at 12/3/18 9:16 AM: ---

[jira] [Commented] (CALCITE-2719) MySQL does not support cast to bigint type

2018-12-03 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16706859#comment-16706859 ] Piotr Bojko commented on CALCITE-2719: -- [~julianhyde] I am afraid MySQL - as far I have read the

[jira] [Updated] (CALCITE-2719) MySQL does not support cast to bigint type

2018-12-02 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Piotr Bojko updated CALCITE-2719: - Description: Cast to BIGING is not supported in MySQL. The trick is to use CAST to SIGNED

[jira] [Commented] (CALCITE-2719) MySQL does not support cast to bigint type

2018-12-02 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16706490#comment-16706490 ] Piotr Bojko commented on CALCITE-2719: -- Here is a pull -

[jira] [Updated] (CALCITE-2719) MySQL does not support cast to bigint type

2018-11-29 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Piotr Bojko updated CALCITE-2719: - Description: Cast to BIGING is not supported in MySQL. The trick is to use CAST to UNSIGNED

[jira] [Commented] (CALCITE-2715) MS SQL Server does not support character set as part of data type

2018-11-29 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16703195#comment-16703195 ] Piotr Bojko commented on CALCITE-2715: -- I have added a test case. I haven't really checked

[jira] [Created] (CALCITE-2719) MySQL does not support cast to bigint type

2018-11-29 Thread Piotr Bojko (JIRA)
Piotr Bojko created CALCITE-2719: Summary: MySQL does not support cast to bigint type Key: CALCITE-2719 URL: https://issues.apache.org/jira/browse/CALCITE-2719 Project: Calcite Issue Type:

[jira] [Commented] (CALCITE-2715) MS SQL Server does not support character set as part of data type

2018-11-28 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16701729#comment-16701729 ] Piotr Bojko commented on CALCITE-2715: -- Here is a pull https://github.com/apache/calcite/pull/945

[jira] [Commented] (CALCITE-2667) sql2rel fails on join between table function and other table

2018-11-22 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16695970#comment-16695970 ] Piotr Bojko commented on CALCITE-2667: -- [~julianhyde], as for the your first comment (this one

[jira] [Created] (CALCITE-2697) Better handling bindable params pushed down to JDBC schema

2018-11-22 Thread Piotr Bojko (JIRA)
Piotr Bojko created CALCITE-2697: Summary: Better handling bindable params pushed down to JDBC schema Key: CALCITE-2697 URL: https://issues.apache.org/jira/browse/CALCITE-2697 Project: Calcite

[jira] [Comment Edited] (CALCITE-2667) sql2rel fails on join between table function and other table

2018-11-21 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16694642#comment-16694642 ] Piotr Bojko edited comment on CALCITE-2667 at 11/21/18 1:24 PM: I have

[jira] [Commented] (CALCITE-2667) sql2rel fails on join between table function and other table

2018-11-21 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16694642#comment-16694642 ] Piotr Bojko commented on CALCITE-2667: -- I have found two solutions *Solution 1* This one is based

[jira] [Commented] (CALCITE-2667) sql2rel fails on join between table function and other table

2018-11-20 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16693119#comment-16693119 ] Piotr Bojko commented on CALCITE-2667: -- [~julianhyde] ok I have discovered that

[jira] [Closed] (CALCITE-2613) NPE when Avatica used as JDBC transport for Calcite and dynamic param ? used

2018-11-20 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Piotr Bojko closed CALCITE-2613. Resolution: Fixed Fix Version/s: 1.18.0 [~elserj] [~julianhyde] I am closing this,

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

2018-11-20 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Piotr Bojko closed CALCITE-2609. Resolution: Fixed [~julianhyde] I am closing this, because it was patched in CALCITE-563 >

[jira] [Commented] (CALCITE-2667) sql2rel fails on join between table function and other table

2018-11-19 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16691689#comment-16691689 ] Piotr Bojko commented on CALCITE-2667: -- [~julianhyde] do you have any hints on this? > sql2rel

[jira] [Comment Edited] (CALCITE-2667) sql2rel fails on join between table function and other table

2018-11-19 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16691621#comment-16691621 ] Piotr Bojko edited comment on CALCITE-2667 at 11/19/18 12:10 PM: - When

[jira] [Commented] (CALCITE-2667) sql2rel fails on join between table function and other table

2018-11-19 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16691621#comment-16691621 ] Piotr Bojko commented on CALCITE-2667: -- When RelOptUtil.pushDownJoinConditions is called then new

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

2018-11-15 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16687724#comment-16687724 ] Piotr Bojko commented on CALCITE-563: - Hey [~julianhyde] kindly reminder about this :) > JDBC

[jira] [Commented] (CALCITE-2667) sql2rel fails on join between table function and other table

2018-11-15 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16687673#comment-16687673 ] Piotr Bojko commented on CALCITE-2667: -- Hello, any thoughts how this can be fixed? I would fix

[jira] [Commented] (CALCITE-2667) sql2rel fails on join between table function and other table

2018-11-14 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16686359#comment-16686359 ] Piotr Bojko commented on CALCITE-2667: -- It seems that SqlToRelConverter.leaves does not contain

[jira] [Commented] (CALCITE-2667) sql2rel fails on join between table function and other table

2018-11-14 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16686210#comment-16686210 ] Piotr Bojko commented on CALCITE-2667: -- I have pushed the last commit now, sorry for that. >

[jira] [Commented] (CALCITE-2667) sql2rel fails on join between table function and other table

2018-11-13 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16685875#comment-16685875 ] Piotr Bojko commented on CALCITE-2667: -- I've added another test case, see

[jira] [Commented] (CALCITE-2667) sql2rel fails on join between table function and other table

2018-11-13 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16685341#comment-16685341 ] Piotr Bojko commented on CALCITE-2667: -- It seems that o previous calcite 1.18 snapshots this bug

[jira] [Updated] (CALCITE-2667) sql2rel fails on join between table function and other table

2018-11-13 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Piotr Bojko updated CALCITE-2667: - Description: Bug reproduction is here -

[jira] [Updated] (CALCITE-2667) sql2rel fails on join between table function and other table

2018-11-13 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Piotr Bojko updated CALCITE-2667: - Description: Bug reproduction is here -

[jira] [Created] (CALCITE-2667) sql2rel fails on join between table function and other table

2018-11-13 Thread Piotr Bojko (JIRA)
Piotr Bojko created CALCITE-2667: Summary: sql2rel fails on join between table function and other table Key: CALCITE-2667 URL: https://issues.apache.org/jira/browse/CALCITE-2667 Project: Calcite

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

2018-11-12 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16684430#comment-16684430 ] Piotr Bojko commented on CALCITE-563: - Hey, any thoughts on the pull? > JDBC adapter fails to

[jira] [Commented] (CALCITE-2663) CREATE FUNCTION SQL statement

2018-11-12 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16683494#comment-16683494 ] Piotr Bojko commented on CALCITE-2663: -- I wonder whether "AS class_name" is a valid use an "as"

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

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

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

2018-11-08 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16679630#comment-16679630 ] Piotr Bojko commented on CALCITE-2609: -- Another fix is here

[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] [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] [Commented] (CALCITE-2609) Dynamic parameters ? pushed to underlying jdbc schema

2018-11-06 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16676694#comment-16676694 ] Piotr Bojko commented on CALCITE-2609: -- Let me check this and have some moment to push the

[jira] [Commented] (CALCITE-2641) DATE and TIMESTAMP arguments to user-defined table function

2018-11-05 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16674927#comment-16674927 ] Piotr Bojko commented on CALCITE-2641: -- I've created a pull

[jira] [Comment Edited] (CALCITE-2641) DATE and TIMESTAMP arguments to user-defined table function

2018-11-05 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16674927#comment-16674927 ] Piotr Bojko edited comment on CALCITE-2641 at 11/5/18 10:29 AM: I've

[jira] [Commented] (CALCITE-2641) DATE and TIMESTAMP arguments to user-defined table function

2018-10-30 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16668439#comment-16668439 ] Piotr Bojko commented on CALCITE-2641: -- I've scratched a little patch to RexLixTranslator just to

[jira] [Commented] (CALCITE-2641) DATE and TIMESTAMP arguments to user-defined table function

2018-10-29 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16667843#comment-16667843 ] Piotr Bojko commented on CALCITE-2641: -- [~vladimirsitnikov] Thanks for clarification and hints!

[jira] [Commented] (CALCITE-2641) DATE and TIMESTAMP arguments to user-defined table function

2018-10-29 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16667808#comment-16667808 ] Piotr Bojko commented on CALCITE-2641: -- I've created a pull request for this -

[jira] [Commented] (CALCITE-2641) DATE and TIMESTAMP arguments to user-defined table function

2018-10-29 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16667331#comment-16667331 ] Piotr Bojko commented on CALCITE-2641: -- I would like to have a hint on this. I am willing to ship

[jira] [Comment Edited] (CALCITE-2641) DATE and TIMESTAMP arguments to user-defined table function

2018-10-25 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16664268#comment-16664268 ] Piotr Bojko edited comment on CALCITE-2641 at 10/25/18 8:59 PM: It

[jira] [Commented] (CALCITE-2641) DATE and TIMESTAMP arguments to user-defined table function

2018-10-25 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16664268#comment-16664268 ] Piotr Bojko commented on CALCITE-2641: -- It seems that TimeString, DateString and Timestring are

[jira] [Commented] (CALCITE-2641) DATE and TIMESTAMP arguments to user-defined table function

2018-10-25 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16664255#comment-16664255 ] Piotr Bojko commented on CALCITE-2641: -- Suggestion from [~vladimirsitnikov] about

[jira] [Commented] (CALCITE-2641) DATE and TIMESTAMP arguments to user-defined table function

2018-10-25 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16664250#comment-16664250 ] Piotr Bojko commented on CALCITE-2641: -- Here is a [test

[jira] [Created] (CALCITE-2641) DATE and TIMESTAMP arguments to user-defined table function

2018-10-25 Thread Piotr Bojko (JIRA)
Piotr Bojko created CALCITE-2641: Summary: DATE and TIMESTAMP arguments to user-defined table function Key: CALCITE-2641 URL: https://issues.apache.org/jira/browse/CALCITE-2641 Project: Calcite

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

2018-10-08 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16641763#comment-16641763 ] Piotr Bojko commented on CALCITE-2609: -- I've seen it now. Thank you. I understand that you want

[jira] [Commented] (CALCITE-2613) NPE when Avatica used as JDBC transport for Calcite and dynamic param ? used

2018-10-08 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16641697#comment-16641697 ] Piotr Bojko commented on CALCITE-2613: -- I've pushed the fix in

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

2018-10-08 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16641699#comment-16641699 ] Piotr Bojko commented on CALCITE-2609: -- I've pushed the proposed fix here -

[jira] [Comment Edited] (CALCITE-2613) NPE when Avatica used as JDBC transport for Calcite and dynamic param ? used

2018-10-08 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16641567#comment-16641567 ] Piotr Bojko edited comment on CALCITE-2613 at 10/8/18 9:13 AM: --- [~elserj]

[jira] [Commented] (CALCITE-2613) NPE when Avatica used as JDBC transport for Calcite and dynamic param ? used

2018-10-08 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16641567#comment-16641567 ] Piotr Bojko commented on CALCITE-2613: -- [~elserj] I've the issue, probably in Calcite as you have

[jira] [Comment Edited] (CALCITE-2613) NPE when Avatica used as JDBC transport for Calcite and dynamic param ? used

2018-10-05 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16639919#comment-16639919 ] Piotr Bojko edited comment on CALCITE-2613 at 10/5/18 2:58 PM: --- I am not

[jira] [Comment Edited] (CALCITE-2613) NPE when Avatica used as JDBC transport for Calcite and dynamic param ? used

2018-10-05 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16639919#comment-16639919 ] Piotr Bojko edited comment on CALCITE-2613 at 10/5/18 3:00 PM: --- I am not

[jira] [Comment Edited] (CALCITE-2613) NPE when Avatica used as JDBC transport for Calcite and dynamic param ? used

2018-10-05 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16639919#comment-16639919 ] Piotr Bojko edited comment on CALCITE-2613 at 10/5/18 2:59 PM: --- I am not

[jira] [Commented] (CALCITE-2613) NPE when Avatica used as JDBC transport for Calcite and dynamic param ? used

2018-10-05 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16639919#comment-16639919 ] Piotr Bojko commented on CALCITE-2613: -- I am not judging where the problem is placed :) It is even

[jira] [Commented] (CALCITE-2613) NPE when Avatica used as JDBC transport for Calcite and dynamic param ? used

2018-10-05 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16639804#comment-16639804 ] Piotr Bojko commented on CALCITE-2613: -- Note that even this bug is resolved - the second one

[jira] [Commented] (CALCITE-2613) NPE when Avatica used as JDBC transport for Calcite and dynamic param ? used

2018-10-05 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16639796#comment-16639796 ] Piotr Bojko commented on CALCITE-2613: -- [Branch with a test

[jira] [Created] (CALCITE-2613) NPE when Avatica used as JDBC transport for Calcite and dynamic param ? used

2018-10-05 Thread Piotr Bojko (JIRA)
Piotr Bojko created CALCITE-2613: Summary: NPE when Avatica used as JDBC transport for Calcite and dynamic param ? used Key: CALCITE-2613 URL: https://issues.apache.org/jira/browse/CALCITE-2613

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

2018-10-04 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16638280#comment-16638280 ] Piotr Bojko commented on CALCITE-2609: -- There is JdbcTest.testUpdateBind which is failing but I

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

2018-10-04 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16638216#comment-16638216 ] Piotr Bojko commented on CALCITE-2609: -- I've added a proposal of a fix. But have one existing test

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

2018-10-04 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16638188#comment-16638188 ] Piotr Bojko commented on CALCITE-2609: -- I've added a test case straight in core. I am looking for

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

2018-10-04 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16638003#comment-16638003 ] Piotr Bojko commented on CALCITE-2609: -- Here is a reproduction -

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

2018-10-04 Thread Piotr Bojko (JIRA)
Piotr Bojko created CALCITE-2609: Summary: Dynamic parameters ? pushed to underlying jdbc schema Key: CALCITE-2609 URL: https://issues.apache.org/jira/browse/CALCITE-2609 Project: Calcite

[jira] [Commented] (CALCITE-2511) Possible bug in parsing implementation of rown_num select

2018-10-03 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16636780#comment-16636780 ] Piotr Bojko commented on CALCITE-2511: -- [~vladimirsitnikov] it works now! Thank you. This issue

[jira] [Commented] (CALCITE-2511) Possible bug in parsing implementation of rown_num select

2018-10-03 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16636613#comment-16636613 ] Piotr Bojko commented on CALCITE-2511: -- I will check this. > Possible bug in parsing

[jira] [Commented] (CALCITE-2541) Calcite core is vulnerable to exposing through OSGI

2018-09-07 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16606829#comment-16606829 ] Piotr Bojko commented on CALCITE-2541: -- Having appropriate setup of two osgi bundles would require

[jira] [Created] (CALCITE-2541) Calcite core is vulnerable to exposing through OSGI

2018-09-06 Thread Piotr Bojko (JIRA)
Piotr Bojko created CALCITE-2541: Summary: Calcite core is vulnerable to exposing through OSGI Key: CALCITE-2541 URL: https://issues.apache.org/jira/browse/CALCITE-2541 Project: Calcite

[jira] [Commented] (CALCITE-2511) Possible bug in parsing implementation of rown_num select

2018-08-30 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16597349#comment-16597349 ] Piotr Bojko commented on CALCITE-2511: -- I'm not sure how to reproduce this in calcite as test case

[jira] [Updated] (CALCITE-2511) Possible bug in parsing implementation of rown_num select

2018-08-30 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Piotr Bojko updated CALCITE-2511: - Description: I've found a possible bug. With following view: {code:json} { "name":

[jira] [Created] (CALCITE-2511) Possible bug in parsing implementation of rown_num select

2018-08-30 Thread Piotr Bojko (JIRA)
Piotr Bojko created CALCITE-2511: Summary: Possible bug in parsing implementation of rown_num select Key: CALCITE-2511 URL: https://issues.apache.org/jira/browse/CALCITE-2511 Project: Calcite

[jira] [Commented] (CALCITE-2446) Lateral joins not work when saved as custom views

2018-08-09 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16575329#comment-16575329 ] Piotr Bojko commented on CALCITE-2446: -- I've squashed commits and make new comment for a commit.

[jira] [Assigned] (CALCITE-2446) Lateral joins not work when saved as custom views

2018-08-09 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Piotr Bojko reassigned CALCITE-2446: Assignee: Julian Hyde (was: Piotr Bojko) > Lateral joins not work when saved as custom

[jira] [Assigned] (CALCITE-2446) Lateral joins not work when saved as custom views

2018-08-09 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Piotr Bojko reassigned CALCITE-2446: Assignee: Piotr Bojko (was: Julian Hyde) > Lateral joins not work when saved as custom

[jira] [Commented] (CALCITE-2446) Lateral joins not work when saved as custom views

2018-08-07 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16571430#comment-16571430 ] Piotr Bojko commented on CALCITE-2446: -- I've pushed the pull with a fix. It removes validation

[jira] [Comment Edited] (CALCITE-2446) Lateral joins not work when saved as custom views

2018-08-06 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16570247#comment-16570247 ] Piotr Bojko edited comment on CALCITE-2446 at 8/6/18 2:16 PM: -- I'm not

[jira] [Comment Edited] (CALCITE-2446) Lateral joins not work when saved as custom views

2018-08-06 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16570222#comment-16570222 ] Piotr Bojko edited comment on CALCITE-2446 at 8/6/18 2:15 PM: -- I've found

[jira] [Commented] (CALCITE-2446) Lateral joins not work when saved as custom views

2018-08-06 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16570247#comment-16570247 ] Piotr Bojko commented on CALCITE-2446: -- I'm not sure on how to fix the mentioned bug. I've have

[jira] [Commented] (CALCITE-2446) Lateral joins not work when saved as custom views

2018-08-06 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16570222#comment-16570222 ] Piotr Bojko commented on CALCITE-2446: -- I've found that SqlValidatorImpl during view expansion is

[jira] [Comment Edited] (CALCITE-2446) Lateral joins not work when saved as custom views

2018-08-06 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16570111#comment-16570111 ] Piotr Bojko edited comment on CALCITE-2446 at 8/6/18 1:03 PM: -- After

[jira] [Commented] (CALCITE-2446) Lateral joins not work when saved as custom views

2018-08-06 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16570111#comment-16570111 ] Piotr Bojko commented on CALCITE-2446: -- After messing with debug, some maybe faulty thought is

[jira] [Updated] (CALCITE-2446) Lateral joins not work when saved as custom views

2018-08-03 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Piotr Bojko updated CALCITE-2446: - Description: See https://github.com/ptrbojko/calcite/tree/bug/CALCITE-2446 for reproduction

[jira] [Created] (CALCITE-2446) Lateral joins not work when saved as custom views

2018-08-03 Thread Piotr Bojko (JIRA)
Piotr Bojko created CALCITE-2446: Summary: Lateral joins not work when saved as custom views Key: CALCITE-2446 URL: https://issues.apache.org/jira/browse/CALCITE-2446 Project: Calcite Issue

[jira] [Commented] (CALCITE-2420) Aggregate functions MIN/MAX does not work for Timestamp

2018-07-21 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16551619#comment-16551619 ] Piotr Bojko commented on CALCITE-2420: -- This ticket can be rejected. > Aggregate functions

[jira] [Commented] (CALCITE-2420) Aggregate functions MIN/MAX does not work for Timestamp

2018-07-19 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16548939#comment-16548939 ] Piotr Bojko commented on CALCITE-2420: -- Thx, after changing to SqlType and switching to Long at

[jira] [Updated] (CALCITE-2420) Aggregate functions MIN/MAX does not work for Timestamp

2018-07-18 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Piotr Bojko updated CALCITE-2420: - Description: See https://github.com/ptrbojko/calcite/tree/CALCITE-2420 for reproduction. >

[jira] [Created] (CALCITE-2420) Aggregate functions MIN/MAX does not work for Timestamp

2018-07-18 Thread Piotr Bojko (JIRA)
Piotr Bojko created CALCITE-2420: Summary: Aggregate functions MIN/MAX does not work for Timestamp Key: CALCITE-2420 URL: https://issues.apache.org/jira/browse/CALCITE-2420 Project: Calcite

[jira] [Assigned] (CALCITE-2320) UDF in WHERE expression incorrectly pushed down to jdbc schema

2018-05-22 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Piotr Bojko reassigned CALCITE-2320: Assignee: Piotr Bojko (was: Julian Hyde) > UDF in WHERE expression incorrectly pushed

[jira] [Commented] (CALCITE-2320) UDF in WHERE expression incorrectly pushed down to jdbc schema

2018-05-21 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16482431#comment-16482431 ] Piotr Bojko commented on CALCITE-2320: -- [~julianhyde] I'm in need to patch this so I will try on my

[jira] [Created] (CALCITE-2320) UDF in WHERE expression incorrectly pushed down to jdbc schema

2018-05-21 Thread Piotr Bojko (JIRA)
Piotr Bojko created CALCITE-2320: Summary: UDF in WHERE expression incorrectly pushed down to jdbc schema Key: CALCITE-2320 URL: https://issues.apache.org/jira/browse/CALCITE-2320 Project: Calcite

[jira] [Commented] (CALCITE-2264) User defined function in json schema pushed to jdbc subschema.

2018-04-25 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16451938#comment-16451938 ] Piotr Bojko commented on CALCITE-2264: -- [~julianhyde] could you review the patch? :) > User

[jira] [Closed] (CALCITE-1993) Possible bug - NPE when using H2

2018-04-24 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Piotr Bojko closed CALCITE-1993. Resolution: Cannot Reproduce [~julianhyde] I am closing this. > Possible bug - NPE when using H2

[jira] [Commented] (CALCITE-2264) User defined function in json schema pushed to jdbc subschema.

2018-04-23 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16448189#comment-16448189 ] Piotr Bojko commented on CALCITE-2264: -- [~julianhyde] I've patched the bug here -

  1   2   >