[
https://issues.apache.org/jira/browse/SPARK-12560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15074288#comment-15074288
]
Apache Spark commented on SPARK-12560:
--------------------------------------
User 'squito' has created a pull request for this issue:
https://github.com/apache/spark/pull/10510
> SqlTestUtils.stripSparkFilter needs to copy utf8strings
> -------------------------------------------------------
>
> Key: SPARK-12560
> URL: https://issues.apache.org/jira/browse/SPARK-12560
> Project: Spark
> Issue Type: Test
> Components: SQL
> Reporter: Imran Rashid
> Priority: Minor
>
> {{SqlTestUtils.stripSparkFilter}} needs to make copies of the UTF8Strings,
> eg., with {{FromUnsafeProjection}} to avoid returning duplicates of the same
> row (see SPARK-9459).
> Right now, this isn't causing any problems, since the parquet string
> predicate pushdown is turned off (see SPARK-11153). However I ran into this
> while trying to get the predicate pushdown to work with a different version
> of parquet. Without this fix, there were errors like:
> {noformat}
> [info] !== Correct Answer - 4 == == Spark Answer - 4 ==
> [info] ![1] [2]
> [info] [2] [2]
> [info] ![3] [4]
> [info] [4] [4] (QueryTest.scala:127)
> {noformat}
> I figure its worth making this change now while I ran into it. PR coming
> shortly
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]