[GitHub] stutigupta028 closed pull request #1052: CALCITE-2833- Select without from support & CALCITE-2834-Support for values clause for dialects which neither have values clause nor dual table

2019-02-25 Thread GitBox
stutigupta028 closed pull request #1052: CALCITE-2833- Select without from support & CALCITE-2834-Support for values clause for dialects which neither have values clause nor dual table URL: https://github.com/apache/calcite/pull/1052

[GitHub] chunweilei opened a new pull request #1069: [CALCITE-2875] fix some misspellings in RelOptListener

2019-02-25 Thread GitBox
chunweilei opened a new pull request #1069: [CALCITE-2875] fix some misspellings in RelOptListener URL: https://github.com/apache/calcite/pull/1069 This is an automated message from the Apache Git Service. To respond to the

[jira] [Created] (CALCITE-2875) Some misspellings in RelOptListener

2019-02-25 Thread Chunwei Lei (JIRA)
Chunwei Lei created CALCITE-2875: Summary: Some misspellings in RelOptListener Key: CALCITE-2875 URL: https://issues.apache.org/jira/browse/CALCITE-2875 Project: Calcite Issue Type: Bug

[jira] [Created] (CALCITE-2874) NOT IN correlated subquery has un-necessary join

2019-02-25 Thread Vineet Garg (JIRA)
Vineet Garg created CALCITE-2874: Summary: NOT IN correlated subquery has un-necessary join Key: CALCITE-2874 URL: https://issues.apache.org/jira/browse/CALCITE-2874 Project: Calcite Issue

[GitHub] asereda-gs opened a new pull request #1068: [CALCITE-2863] ElasticSearch Adapter. "select *" may return empty tionary

2019-02-25 Thread GitBox
asereda-gs opened a new pull request #1068: [CALCITE-2863] ElasticSearch Adapter. "select *" may return empty tionary URL: https://github.com/apache/calcite/pull/1068 In some circumstances (eg. order by clause) `select *` would return `{}`.

[GitHub] XuQianJin-Stars opened a new pull request #1067: [CALCITE-2864]Add the JSON_DEPTH function

2019-02-25 Thread GitBox
XuQianJin-Stars opened a new pull request #1067: [CALCITE-2864]Add the JSON_DEPTH function URL: https://github.com/apache/calcite/pull/1067 Returns the maximum depth of a JSON document. Returns NULL if the argument is NULL. An error occurs if the argument is not a valid JSON document.

Re: Would you please give me the contributor permission?

2019-02-25 Thread Francis Chuang
Hey Qianjin, I've added you as a contributor to JIRA. Francis On 26/02/2019 12:42 pm, ForwardXu wrote: Hi, I want to contribute to Apache Calcite. Would you please give me the contributor permission? My JIRA ID is x1q1j1. best qianjin

Re: Selectivity of BETWEEN predicates

2019-02-25 Thread Aman Sinha
Yes, it would make sense to have this logic reside in Calcite - at least the core part that does not depend on the histogram. I will capture some thoughts on this in a JIRA. Thanks for your input. Aman On Mon, Feb 25, 2019 at 3:48 PM Julian Hyde wrote: > Many of the default selectivity

Would you please give me the contributor permission?

2019-02-25 Thread ForwardXu
Hi, I want to contribute to Apache Calcite. Would you please give me the contributor permission? My JIRA ID is x1q1j1. best qianjin

[GitHub] hsyuan commented on a change in pull request #1048: [CALCITE-2722] Rewrite createLeftCall in iterative way instead of recursive way

2019-02-25 Thread GitBox
hsyuan commented on a change in pull request #1048: [CALCITE-2722] Rewrite createLeftCall in iterative way instead of recursive way URL: https://github.com/apache/calcite/pull/1048#discussion_r260093386 ## File path:

Re: Selectivity of BETWEEN predicates

2019-02-25 Thread Julian Hyde
Many of the default selectivity formulas are simple but poor. I totally agree that your approach - treating BETWEEN as one range condition rather than an AND of two independent conditions - is superior. Of course you can override it in your class but it would be better if you could contribute

Error using prepared statement when connecting to druid

2019-02-25 Thread Puneet Jaiswal
Hi, I am using avatica 1.13.0 to connect to druid 1.12.0. I get this error when using Prepared Statement to run a query. It works fine when I use Statement instead of Prepared Statements. Please take a look and suggest how to fix this? Test code String sql = "SELECT __time, host FROM canarytest

Re: [jira] [Assigned] (CALCITE-2838) Simplification: Remove redundant IS TRUE checks

2019-02-25 Thread Zoltan Haindrich
No worries; I sometimes also do it by mistake. Jira even have a hotkey(i) for "assign to me" which is very annoying cheers, Zoltan On 2/25/19 4:15 PM, Hongze Zhang wrote: Sorry for making the wrong operation, Zoltan. I’ve reassigned the issue to you. Hongze On Feb 25, 2019, at 23:09,

[jira] [Created] (CALCITE-2871) Implement JSON_TABLE function

2019-02-25 Thread Hongze Zhang (JIRA)
Hongze Zhang created CALCITE-2871: - Summary: Implement JSON_TABLE function Key: CALCITE-2871 URL: https://issues.apache.org/jira/browse/CALCITE-2871 Project: Calcite Issue Type: Sub-task

[jira] [Created] (CALCITE-2872) Support for specifying encoding in JSON representation clause

2019-02-25 Thread Hongze Zhang (JIRA)
Hongze Zhang created CALCITE-2872: - Summary: Support for specifying encoding in JSON representation clause Key: CALCITE-2872 URL: https://issues.apache.org/jira/browse/CALCITE-2872 Project: Calcite

[jira] [Created] (CALCITE-2870) Support for JSON query quotes behavior

2019-02-25 Thread Hongze Zhang (JIRA)
Hongze Zhang created CALCITE-2870: - Summary: Support for JSON query quotes behavior Key: CALCITE-2870 URL: https://issues.apache.org/jira/browse/CALCITE-2870 Project: Calcite Issue Type:

Re: [jira] [Assigned] (CALCITE-2838) Simplification: Remove redundant IS TRUE checks

2019-02-25 Thread Hongze Zhang
Sorry for making the wrong operation, Zoltan. I’ve reassigned the issue to you. Hongze > On Feb 25, 2019, at 23:09, Hongze Zhang (JIRA) wrote: > > > [ > https://issues.apache.org/jira/browse/CALCITE-2838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > ] > > Hongze

[jira] [Created] (CALCITE-2868) Support for JSON key uniqueness constraint

2019-02-25 Thread Hongze Zhang (JIRA)
Hongze Zhang created CALCITE-2868: - Summary: Support for JSON key uniqueness constraint Key: CALCITE-2868 URL: https://issues.apache.org/jira/browse/CALCITE-2868 Project: Calcite Issue Type:

[jira] [Created] (CALCITE-2867) JSON support

2019-02-25 Thread Hongze Zhang (JIRA)
Hongze Zhang created CALCITE-2867: - Summary: JSON support Key: CALCITE-2867 URL: https://issues.apache.org/jira/browse/CALCITE-2867 Project: Calcite Issue Type: Task Components:

[GitHub] kgyrtkirk merged pull request #1064: [CALCITE-2839] Simplify comparisions against boolean literals

2019-02-25 Thread GitBox
kgyrtkirk merged pull request #1064: [CALCITE-2839] Simplify comparisions against boolean literals URL: https://github.com/apache/calcite/pull/1064 This is an automated message from the Apache Git Service. To respond to the

[GitHub] kgyrtkirk closed pull request #1048: [CALCITE-2722] Rewrite createLeftCall in iterative way instead of recursive way

2019-02-25 Thread GitBox
kgyrtkirk closed pull request #1048: [CALCITE-2722] Rewrite createLeftCall in iterative way instead of recursive way URL: https://github.com/apache/calcite/pull/1048 This is an automated message from the Apache Git Service.

[jira] [Created] (CALCITE-2866) Allow passing custom SqlValidator / SqlToRelConverter implementations into FrameworkConfig

2019-02-25 Thread Hongze Zhang (JIRA)
Hongze Zhang created CALCITE-2866: - Summary: Allow passing custom SqlValidator / SqlToRelConverter implementations into FrameworkConfig Key: CALCITE-2866 URL: https://issues.apache.org/jira/browse/CALCITE-2866

[jira] [Created] (CALCITE-2865) FilterProjectTransposeRule generates different traitSet depending on copyFilter / copyProject flags

2019-02-25 Thread Ruben Quesada Lopez (JIRA)
Ruben Quesada Lopez created CALCITE-2865: Summary: FilterProjectTransposeRule generates different traitSet depending on copyFilter / copyProject flags Key: CALCITE-2865 URL:

[GitHub] jh3507 commented on a change in pull request #1058: [CALCITE-2827] Allow Convention.NONE planning with VolcanoPlanner

2019-02-25 Thread GitBox
jh3507 commented on a change in pull request #1058: [CALCITE-2827] Allow Convention.NONE planning with VolcanoPlanner URL: https://github.com/apache/calcite/pull/1058#discussion_r259709165 ## File path: core/src/main/java/org/apache/calcite/plan/volcano/VolcanoPlanner.java