You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by jiangxb1987 <gi...@git.apache.org> on 2017/08/02 12:19:59 UTC

[GitHub] spark pull request #14151: [SPARK-16496][SQL] Add wholetext as option for re...

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

    https://github.com/apache/spark/pull/14151#discussion_r130859352
  
    --- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/text/TextSuite.scala ---
    @@ -185,11 +231,11 @@ 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
         assert(data(3) == Row("\"doh\""))
         assert(data.length == 4)
       }
    +
    --- End diff --
    
    nit: remove this empty line.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org