You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "SaintBacchus (JIRA)" <ji...@apache.org> on 2015/09/24 04:14:05 UTC

[jira] [Created] (SPARK-10786) SparkSQLCLIDriver should take the whole statement to generate the CommandProcessor

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org