You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "chencheng (JIRA)" <ji...@apache.org> on 2018/04/04 06:48:00 UTC

[jira] [Created] (SPARK-23863) Wholetext mode should not add line breaks

chencheng created SPARK-23863:
---------------------------------

             Summary: Wholetext mode should not add line breaks
                 Key: SPARK-23863
                 URL: https://issues.apache.org/jira/browse/SPARK-23863
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.3.0
            Reporter: chencheng
             Fix For: 2.3.1


We merged multiple files in the Text format. When using the select count(*) to count the merged results, we found that the result of the merged wholetext mode was inconsistent with that of the normal mode.

E.g:
Combine 10 text files with a total of 100 lines. When the wholeTextMode parameter of the buildReader method is set to true, the result of select count(*) will be 110.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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