lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Bernstein (JIRA)" <>
Subject [jira] [Commented] (SOLR-8593) Integrate Apache Calcite into the SQLHandler
Date Tue, 20 Dec 2016 13:54:58 GMT


Joel Bernstein commented on SOLR-8593:

I saw on the Calcite dev list that the next release is coming pretty soon. So, I'm not going
to move ahead creating another ticket for the HavingStream.

I'm planning to create a new branch from master locally and merge this branch into to it so
I can test with the latest master code. Master has some significant changes both in Lucene
and Solr that effects SQL. Specifically the /export handler has been refactored and there
is new docValues iterator API to performance test. This will likely take up the rest of the
year me. But hopefully after the new Calcite releases we will be ready to merge to master.

> Integrate Apache Calcite into the SQLHandler
> --------------------------------------------
>                 Key: SOLR-8593
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Joel Bernstein
>            Assignee: Joel Bernstein
>         Attachments: SOLR-8593.patch, SOLR-8593.patch
>    The Presto SQL Parser was perfect for phase one of the SQLHandler. It was nicely split
off from the larger Presto project and it did everything that was needed for the initial implementation.
> Phase two of the SQL work though will require an optimizer. Here is where Apache Calcite
comes into play. It has a battle tested cost based optimizer and has been integrated into
Apache Drill and Hive.
> This work can begin in trunk following the 6.0 release. The final query plans will continue
to be translated to Streaming API objects (TupleStreams), so continued work on the JDBC driver
should plug in nicely with the Calcite work.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message