sadikovi commented on code in PR #37419:
URL: https://github.com/apache/spark/pull/37419#discussion_r944790118


##########
sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetQuerySuite.scala:
##########
@@ -1108,6 +1108,17 @@ abstract class ParquetQuerySuite extends QueryTest with 
ParquetTest with SharedS
       checkAnswer(sql("select * from tbl"), expected)
     }
   }
+
+  test("SPARK-39833: count() with pushed filters from Parquet files") {

Review Comment:
   Yes, the provided test fails. it appears the problem is wide-spread due to 
this parquet-mr bug. I would have to change the code to check filters that are 
pushed down against the requested schema instead of a full one but then it 
might introduce a performance issue.
   
   I think the safest for now is to disable column indexes altogether. I will 
take a look at what could be done. 
   We can also merge this PR and I can follow up on the fix later.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to