You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Cheng Lian (JIRA)" <ji...@apache.org> on 2014/05/01 07:00:19 UTC
[jira] [Commented] (SPARK-1678) Compression loses repeated values.
[ https://issues.apache.org/jira/browse/SPARK-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13986348#comment-13986348 ]
Cheng Lian commented on SPARK-1678:
-----------------------------------
Pull request: https://github.com/apache/spark/pull/608
> Compression loses repeated values.
> ----------------------------------
>
> Key: SPARK-1678
> URL: https://issues.apache.org/jira/browse/SPARK-1678
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Michael Armbrust
> Assignee: Cheng Lian
> Priority: Blocker
> Fix For: 1.0.0
>
>
> Here's a test case:
> {code}
> test("all the same strings") {
> sparkContext.parallelize(1 to 1000).map(_ => StringData("test")).registerAsTable("test1000")
> assert(sql("SELECT * FROM test1000").count() === 1000)
> cacheTable("test1000")
> assert(sql("SELECT * FROM test1000").count() === 1000)
> }
> {code}
> First assert passes, second one fails.
--
This message was sent by Atlassian JIRA
(v6.2#6252)