[ 
https://issues.apache.org/jira/browse/SPARK-10786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cheng Lian resolved SPARK-10786.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.6.0

Issue resolved by pull request 8895
[https://github.com/apache/spark/pull/8895]

> 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
>             Fix For: 1.6.0
>
>
> 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