You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/04/04 07:05:00 UTC
[jira] [Commented] (SPARK-23863) Wholetext mode should not add line
breaks
[ https://issues.apache.org/jira/browse/SPARK-23863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16425095#comment-16425095 ]
Apache Spark commented on SPARK-23863:
--------------------------------------
User 'barrenlake' has created a pull request for this issue:
https://github.com/apache/spark/pull/20975
> 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
> Priority: Major
> 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