[ https://issues.apache.org/jira/browse/SOLR-8593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15854454#comment-15854454 ]
Joel Bernstein edited comment on SOLR-8593 at 2/6/17 5:58 PM: -------------------------------------------------------------- After adjusting the SolrFilterRule to allow filters on expressions, the having filter now shows up above the SolrAggregate: SolrFilter SolrAggregate SolrFilter SolrTableScan The first SolrFilter listed is the Having clause and second SolrFilter is the WHERE clause. The next step is to recognize the different types of filters and build a HavingStream for having filter. I'll be working on plugging this in. was (Author: joel.bernstein): After adjusting the SolrFilterRule to allow filters on expressions, the having filter now shows up above the SolrAggregate: SolrFilter SolrAggregate SolrFilter SolrTableScan The first SolrFilter listed in the Having clause and second SolrFilter is WHERE clause. The next step is to recognize the different types of filters and build a HavingStream for having filter. I'll be working on plugging this in. > Integrate Apache Calcite into the SQLHandler > -------------------------------------------- > > Key: SOLR-8593 > URL: https://issues.apache.org/jira/browse/SOLR-8593 > Project: Solr > Issue Type: Improvement > Components: Parallel SQL > Reporter: Joel Bernstein > Assignee: Joel Bernstein > Fix For: 6.5, master (7.0) > > Attachments: SOLR-8593.patch, 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.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org