You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Cheng Lian (JIRA)" <ji...@apache.org> on 2015/11/02 14:36:27 UTC
[jira] [Updated] (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:all-tabpanel ]
Cheng Lian updated SPARK-10786:
-------------------------------
Assignee: SaintBacchus
> 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
> Assignee: 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org