[jira] [Commented] (SPARK-11492) Ignore commented code warnings in SparkR

2015-11-03 Thread Felix Cheung (JIRA)

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

Felix Cheung commented on SPARK-11492:
--

please see SPARK-11263

> Ignore commented code warnings in SparkR
> 
>
> Key: SPARK-11492
> URL: https://issues.apache.org/jira/browse/SPARK-11492
> Project: Spark
>  Issue Type: Sub-task
>  Components: SparkR
>Reporter: Yu Ishikawa
>Priority: Minor
> Fix For: 1.5.0
>
>
> cc [~shivaram]
> We have many commented code warnings under the lastest lintr. Should we turnn 
> off {{commented_code_linter}} rule of lintr?
> {noformat}
> # rdd <- lapply(parallelize(sc, 1:10), function(x) list(a=x, 
> b=as.character(x)))
>   
> ^~
> R/SQLContext.R:176:3: style: Commented code should be removed.
> # df <- toDF(rdd)
>   ^~~
> R/SQLContext.R:232:3: style: Commented code should be removed.
> # sc <- sparkR.init()
>   ^~~
> R/SQLContext.R:233:3: style: Commented code should be removed.
> # sqlContext <- sparkRSQL.init(sc)
>   ^~~~
> R/SQLContext.R:234:3: style: Commented code should be removed.
> # rdd <- texFile(sc, "path/to/json")
>   ^~
> R/SQLContext.R:235:3: style: Commented code should be removed.
> # df <- jsonRDD(sqlContext, rdd)
>   ^~
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-11492) Ignore commented code warnings in SparkR

2015-11-03 Thread Yu Ishikawa (JIRA)

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

Yu Ishikawa commented on SPARK-11492:
-

[~andreas.fe...@herold.at] sorry, thank you for letting me know.

> Ignore commented code warnings in SparkR
> 
>
> Key: SPARK-11492
> URL: https://issues.apache.org/jira/browse/SPARK-11492
> Project: Spark
>  Issue Type: Sub-task
>  Components: SparkR
>Reporter: Yu Ishikawa
>Priority: Minor
> Fix For: 1.5.0
>
>
> cc [~shivaram]
> We have many commented code warnings under the lastest lintr. Should we turnn 
> off {{commented_code_linter}} rule of lintr?
> {noformat}
> # rdd <- lapply(parallelize(sc, 1:10), function(x) list(a=x, 
> b=as.character(x)))
>   
> ^~
> R/SQLContext.R:176:3: style: Commented code should be removed.
> # df <- toDF(rdd)
>   ^~~
> R/SQLContext.R:232:3: style: Commented code should be removed.
> # sc <- sparkR.init()
>   ^~~
> R/SQLContext.R:233:3: style: Commented code should be removed.
> # sqlContext <- sparkRSQL.init(sc)
>   ^~~~
> R/SQLContext.R:234:3: style: Commented code should be removed.
> # rdd <- texFile(sc, "path/to/json")
>   ^~
> R/SQLContext.R:235:3: style: Commented code should be removed.
> # df <- jsonRDD(sqlContext, rdd)
>   ^~
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org