Github user gatorsmile commented on a diff in the pull request:

    https://github.com/apache/spark/pull/14151#discussion_r137595716
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/text/TextSuite.scala
 ---
    @@ -185,8 +233,7 @@ class TextSuite extends QueryTest with SharedSQLContext 
{
         val data = df.collect()
         assert(data(0) == Row("This is a test file for the text data source"))
         assert(data(1) == Row("1+1"))
    -    // non ascii characters are not allowed in the code, so we disable the 
scalastyle here.
    -    // scalastyle:off
    +    // scalastyle:off nonascii
         assert(data(2) == Row("数据砖头"))
         // scalastyle:on
    --- End diff --
    
    `// scalastyle:on nonascii`


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to