SaintBacchus created SPARK-10786:
------------------------------------

             Summary: SparkSQLCLIDriver should take the whole statement to 
generate the CommandProcessor
                 Key: SPARK-10786
                 URL: https://issues.apache.org/jira/browse/SPARK-10786
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 1.6.0
            Reporter: SaintBacchus
            Priority: Minor


In the now implementation of SparkSQLCLIDriver.scala: 
*val proc: CommandProcessor = CommandProcessorFactory.get(Array(tokens(0)), 
hconf)*

*CommandProcessorFactory* only take the first token of the statement, and this 
will be hard to diff the statement *delete jar xxx* and *delete from xxx*.
So maybe it's better to take the whole statement into the 
*CommandProcessorFactory*.



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

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

Reply via email to