Skip to content

Conversation

@dongjoon-hyun
Copy link
Member

What changes were proposed in this pull request?

When initial creating CVSSuite.scala in SPARK-12833, there was a typo on scalastyle:on: scalstyle:on. So, it turns off ScalaStyle checking for the rest of the file mistakenly. So, it can not find a violation on the code of SPARK-12668 added recently. This issue fixes the existing escaping correctly and adds a new escaping for SPARK-12668 code like the following.

   test("test aliases sep and encoding for delimiter and charset") {
+    // scalastyle:off
     val cars = sqlContext
...
       .load(testFile(carsFile8859))
+    // scalastyle:on

This will prevent future potential problems, too.

How was this patch tested?

Pass the Jenkins test.

@SparkQA
Copy link

SparkQA commented Mar 14, 2016

Test build #53093 has finished for PR 11700 at commit 9a7ec6b.

  • This patch fails MiMa tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@andrewor14
Copy link
Contributor

retest this please

@SparkQA
Copy link

SparkQA commented Mar 14, 2016

Test build #53114 has finished for PR 11700 at commit 9a7ec6b.

  • This patch fails MiMa tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@dongjoon-hyun
Copy link
Member Author

Thank you, @andrewor14 .
MiMa failures seem to occur in many PRs sporadically today.
It's interesting.

@dongjoon-hyun
Copy link
Member Author

Just rebased.

@SparkQA
Copy link

SparkQA commented Mar 15, 2016

Test build #53128 has finished for PR 11700 at commit dcb55da.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@dongjoon-hyun
Copy link
Member Author

Finally!

@andrewor14 Could you merge this, please?

@rxin
Copy link
Contributor

rxin commented Mar 15, 2016

Merging in master. Thanks.

@asfgit asfgit closed this in a51f877 Mar 15, 2016
roygao94 pushed a commit to roygao94/spark that referenced this pull request Mar 22, 2016
## What changes were proposed in this pull request?

When initial creating `CVSSuite.scala` in SPARK-12833, there was a typo on `scalastyle:on`: `scalstyle:on`. So, it turns off ScalaStyle checking for the rest of the file mistakenly. So, it can not find a violation on the code of `SPARK-12668` added recently. This issue fixes the existing escaping correctly and adds a new escaping for `SPARK-12668` code like the following.

```scala
   test("test aliases sep and encoding for delimiter and charset") {
+    // scalastyle:off
     val cars = sqlContext
...
       .load(testFile(carsFile8859))
+    // scalastyle:on
```
This will prevent future potential problems, too.

## How was this patch tested?

Pass the Jenkins test.

Author: Dongjoon Hyun <[email protected]>

Closes apache#11700 from dongjoon-hyun/SPARK-13870.
@dongjoon-hyun dongjoon-hyun deleted the SPARK-13870 branch March 29, 2016 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants