spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SPARK-20316) In SparkSQLCLIDriver, val and var should strictly follow the Scala syntax
Date Thu, 13 Apr 2017 05:09:41 GMT

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

Apache Spark reassigned SPARK-20316:
------------------------------------

    Assignee:     (was: Apache Spark)

> 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
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message