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 2023/01/05 11:52:00 UTC
[jira] [Commented] (SPARK-41896) Filtering by row_index always returns empty results
[ https://issues.apache.org/jira/browse/SPARK-41896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17654933#comment-17654933 ]
Apache Spark commented on SPARK-41896:
--------------------------------------
User 'olaky' has created a pull request for this issue:
https://github.com/apache/spark/pull/39408
> Filtering by row_index always returns empty results
> ---------------------------------------------------
>
> Key: SPARK-41896
> URL: https://issues.apache.org/jira/browse/SPARK-41896
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 3.4.0
> Reporter: Jan-Ole Sasse
> Priority: Critical
> Fix For: 3.4.0
>
>
> Queries that include a filter with row_index currently always return an empty result. This is because we consider all metadata attributes constant per file [here|https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/PartitioningAwareFileIndex.scala#L76] and the filter then always evaluates to false.
> This should be fixed as a follow up to SPARK-41791
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org