Calcite-Master - Build # 41 - Still Failing

2017-05-22 Thread Apache Jenkins Server
The Apache Jenkins build system has built Calcite-Master (build #41) Status: Still Failing Check console output at https://builds.apache.org/job/Calcite-Master/41/ to view the results.

Re: Connecting to Druid via JDBC

2017-05-22 Thread Josh Elser
Hi Ben, Can you share the exception accompanying the UnsupportedOperationException? Your first example looks right to me, perhaps Spark is invoking a method we don't have implemented yet (but could easily add before Avatica 1.10). On May 22, 2017 20:28, "Ben Vogan" wrote:

Connecting to Druid via JDBC

2017-05-22 Thread Ben Vogan
Hi all, We are experimenting with Druid's new JDBC functionality provided by Calcite and the Avatica JDBC Driver. I would like to be able to query Druid via Spark (v1.6) and thought that the JDBC Driver would provide our analysts with a familiar mechanism. Is this possible? I am wholly

[jira] [Created] (CALCITE-1803) Add post aggregation support in Druid to optimize druid queries.

2017-05-22 Thread Junxian Wu (JIRA)
Junxian Wu created CALCITE-1803: --- Summary: Add post aggregation support in Druid to optimize druid queries. Key: CALCITE-1803 URL: https://issues.apache.org/jira/browse/CALCITE-1803 Project: Calcite

Re: Connection Pooling for Calcite

2017-05-22 Thread Julian Hyde
This is a known issue: https://issues.apache.org/jira/browse/CALCITE-1520 It would be great if someone could fix for avatica-1.10. > On May 22, 2017, at 11:54 AM, Steven McAllister > wrote: > > Apologies if

Re: RelRunners weird behavior

2017-05-22 Thread Julian Hyde
Thanks! Now, if someone on the list has time to look into it, it would be appreciated… > On May 22, 2017, at 12:03 PM, Laptop huawei wrote: > > I’ve created the jira: https://issues.apache.org/jira/browse/CALCITE-1801 > and attached the test case in RelBuilderTest as

[jira] [Created] (CALCITE-1802) Add post-aggregation step for Union in materialized view rewriting

2017-05-22 Thread Jesus Camacho Rodriguez (JIRA)
Jesus Camacho Rodriguez created CALCITE-1802: Summary: Add post-aggregation step for Union in materialized view rewriting Key: CALCITE-1802 URL: https://issues.apache.org/jira/browse/CALCITE-1802

Re: RelRunners weird behavior

2017-05-22 Thread Laptop huawei
I’ve created the jira: https://issues.apache.org/jira/browse/CALCITE-1801 and attached the test case in RelBuilderTest as suggested. Thanks, -JD > On May 19, 2017, at 8:12 PM, Julian Hyde wrote: > > You can create a bug by clicking the “create” button on Apache JIRA: >

[jira] [Created] (CALCITE-1801) RelRunners connection garbage-collected prematurely

2017-05-22 Thread JD Zheng (JIRA)
JD Zheng created CALCITE-1801: - Summary: RelRunners connection garbage-collected prematurely Key: CALCITE-1801 URL: https://issues.apache.org/jira/browse/CALCITE-1801 Project: Calcite Issue

Connection Pooling for Calcite

2017-05-22 Thread Steven McAllister
Apologies if this question has been asked already. I am experimenting with using Calcite to do a distributed join across two data sources (one Solr and one MongoDB). I have a working example using CalciteConnection with the Solr and MongoDB adapters that executes a simple join, and am

Re: RelBuilder examples

2017-05-22 Thread Laptop huawei
hi, Abbas, You can look at RelBuilderExample.java example4. JD > On May 21, 2017, at 9:35 PM, Abbas Gadhia > wrote: > > Hi,I'm trying to use RelBuilder to do a project and join together, however, > none of the tests in RelBuilderTest.java seem to show an

[jira] [Created] (CALCITE-1800) JDBC adapter fails to SELECT FROM a UNION query

2017-05-22 Thread Viktor Batytskyi (JIRA)
Viktor Batytskyi created CALCITE-1800: - Summary: JDBC adapter fails to SELECT FROM a UNION query Key: CALCITE-1800 URL: https://issues.apache.org/jira/browse/CALCITE-1800 Project: Calcite

Calcite-Master - Build # 38 - Failure

2017-05-22 Thread Apache Jenkins Server
The Apache Jenkins build system has built Calcite-Master (build #38) Status: Failure Check console output at https://builds.apache.org/job/Calcite-Master/38/ to view the results.

Re: Best way to merge a set of Operators in a single Operator

2017-05-22 Thread Γιώργος Θεοδωράκης
In order to make it work, I had to specifically define my rowtype in the core operator I have created: public abstract class AggrCalc extends SingleRel{ ... // constructor protected AggrCalc(...) { super(cluster, traits, child); this.rowType = wantedRowType; } } I am not sure if this

[jira] [Created] (CALCITE-1799) OR IN Subquery conversion wrong

2017-05-22 Thread Gian Merlino (JIRA)
Gian Merlino created CALCITE-1799: - Summary: OR IN Subquery conversion wrong Key: CALCITE-1799 URL: https://issues.apache.org/jira/browse/CALCITE-1799 Project: Calcite Issue Type: Bug