lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Bernstein (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SOLR-8593) Integrate Apache Calcite into the SQLHandler
Date Tue, 03 Jan 2017 20:32:58 GMT

    [ https://issues.apache.org/jira/browse/SOLR-8593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15796107#comment-15796107
] 

Joel Bernstein edited comment on SOLR-8593 at 1/3/17 8:32 PM:
--------------------------------------------------------------

It doesn't look like we're going to get this in for Solr 6.4. So, I'm currently planning to
take the HavingStream from this branch and commit it with SOLR-8530 for Solr 6.4

This is going to cause merge conflicts between jira/solr-8593  and master. As soon as the
Calcite release is cut I'll begin the work to merge jira/solr-8593  to master and work out
the conflicts. So Calcite will be in master at very beginning of the dev cycle for Solr 6.5.
Then we can work with the Calcite code more in master and perform the backport to branch_6x
when ready.


was (Author: joel.bernstein):
It doesn't look like we're going to get this in for Solr 6.4. So, I'm currently planning to
take the HavingStream from this branch an commit it with SOLR-8530 for Solr 6.4

This is going to cause merge conflicts between jira/solr-8593  and master. As soon as the
Calcite release is cut I'll begin the work to merge jira/solr-8593  to master and work out
the conflicts. So Calcite will be in master at very beginning of the dev cycle for Solr 6.5.
Then we can work with the Calcite code more in master and perform the backport to branch_6x
when ready.

> Integrate Apache Calcite into the SQLHandler
> --------------------------------------------
>
>                 Key: SOLR-8593
>                 URL: https://issues.apache.org/jira/browse/SOLR-8593
>             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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message