[ 
https://issues.apache.org/jira/browse/SPARK-41896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17677344#comment-17677344
 ] 

Apache Spark commented on SPARK-41896:
--------------------------------------

User 'olaky' has created a pull request for this issue:
https://github.com/apache/spark/pull/39608

> 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
>            Assignee: 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to