[ https://issues.apache.org/jira/browse/SPARK-20316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved SPARK-20316. ------------------------------- Resolution: Fixed Fix Version/s: 2.2.0 Issue resolved by pull request 17628 [https://github.com/apache/spark/pull/17628] > 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 > Fix For: 2.2.0 > > > 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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org