[
https://issues.apache.org/jira/browse/SPARK-3047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josh Rosen resolved SPARK-3047.
-------------------------------
Resolution: Fixed
Fix Version/s: 1.2.0
Issue resolved by pull request 1951
[https://github.com/apache/spark/pull/1951]
> add an option to use str in textFileRDD()
> -----------------------------------------
>
> Key: SPARK-3047
> URL: https://issues.apache.org/jira/browse/SPARK-3047
> Project: Spark
> Issue Type: Improvement
> Reporter: Davies Liu
> Assignee: Davies Liu
> Fix For: 1.2.0
>
>
> In Python 2.x, most of the string are bytearray, it's more efficient then
> unicode (both cpu and memory).
> UTF-8 is the default encoding.
> After disable decode from utf8 into unicode in UTF8Deserializer, the total
> time for wc job is reduce by 32% (from 2m17s to 1m34s).
> We also could add argument unicode=False to textFile().
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]