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

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

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

Apache Spark commented on SPARK-10786:
--------------------------------------

User 'SaintBacchus' has created a pull request for this issue:
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
>
> 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