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

Steve Rowe commented on SOLR-7560:
----------------------------------

Joel, your branch_5x commit won't compile under java7 for me:

{noformat}
common.compile-core:
    [mkdir] Created dir: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/build/solr-core/classes/java
    [javac] Compiling 835 source files to 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/build/solr-core/classes/java
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/ExpressionFormatter.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/src/java/org/apache/solr/handler/SQLHandler.java:54:
 error: cannot find symbol
    [javac] import java.util.Optional;
    [javac]                 ^
    [javac]   symbol:   class Optional
    [javac]   location: package java.util
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/parser/SqlParser.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/AstVisitor.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/SortItem.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/Expression.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/Node.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/Unnest.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/Query.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/QuerySpecification.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/ComparisonExpression.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/Select.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/SingleColumn.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/AllColumns.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/Table.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/AliasedRelation.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/Values.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/Relation.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/LogicalBinaryExpression.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/NotExpression.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/Statement.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/SortItem$Ordering.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/LogicalBinaryExpression$Type.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/src/java/org/apache/solr/handler/SQLHandler.java:501:
 error: cannot access Optional
    [javac]       if(node.getWith().isPresent()) {
    [javac]                      ^
    [javac]   class file for java.util.Optional not found
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/With.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/WithQuery.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/TableSubquery.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/QueryBody.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/SelectItem.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/QualifiedName.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: 
/Users/sarowe/svn/lucene/dev/branches/branch_5x/solr/core/lib/presto-parser-0.108.jar(com/facebook/presto/sql/tree/ComparisonExpression$Type.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 errors
    [javac] 29 warnings
{noformat}

> Parallel SQL Support
> --------------------
>
>                 Key: SOLR-7560
>                 URL: https://issues.apache.org/jira/browse/SOLR-7560
>             Project: Solr
>          Issue Type: New Feature
>          Components: clients - java, search
>            Reporter: Joel Bernstein
>             Fix For: 5.3
>
>         Attachments: SOLR-7560.patch, SOLR-7560.patch, SOLR-7560.patch, 
> SOLR-7560.patch
>
>
> This ticket provides support for executing *Parallel SQL* queries across 
> SolrCloud collections. The SQL engine will be built on top of the Streaming 
> API (SOLR-7082), which provides support for *parallel relational algebra* and 
> *real-time map-reduce*.
> Basic design:
> 1) A new SQLHandler will be added to process SQL requests. The SQL statements 
> will be compiled to live Streaming API objects for parallel execution across 
> SolrCloud worker nodes.
> 2) SolrCloud collections will be abstracted as *Relational Tables*. 
> 3) The Presto SQL parser will be used to parse the SQL statements.
> 4) A JDBC thin client will be added as a Solrj client.
> This ticket will focus on putting the framework in place and providing basic 
> SELECT support and GROUP BY aggregate support.
> Future releases will build on this framework to provide additional SQL 
> features.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to