[
https://issues.apache.org/jira/browse/SPARK-20316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15967284#comment-15967284
]
Xiaochen Ouyang edited comment on SPARK-20316 at 4/13/17 8:39 AM:
------------------------------------------------------------------
OK,I'll try to work on this, but it may take a lot of work.
was (Author: ouyangxc.zte):
OK,I'll try to work on this, but it may be take a lot of work.
> In SparkSQLCLIDriver, val and var should strictly follow the Scala syntax
> -------------------------------------------------------------------------
>
> Key: SPARK-20316
> URL: https://issues.apache.org/jira/browse/SPARK-20316
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.1.0
> Environment: Spark2.1.0
> Reporter: Xiaochen Ouyang
> Priority: Trivial
>
> In SparkSQLCLIDriver, val and var should strictly follow the Scala syntax.
> private var prompt = "spark-sql"
> private var continuedPrompt = "".padTo(prompt.length, ' ')
> if there is no place to change the variable.We should use 'val' to modify the
> variable,otherwise 'var'.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]