Github user davies commented on a diff in the pull request:

    https://github.com/apache/spark/pull/11709#discussion_r56551050
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/FileSourceStrategy.scala
 ---
    @@ -57,7 +57,8 @@ import org.apache.spark.sql.types._
     private[sql] object FileSourceStrategy extends Strategy with Logging {
       def apply(plan: LogicalPlan): Seq[SparkPlan] = plan match {
         case PhysicalOperation(projects, filters, l@LogicalRelation(files: 
HadoopFsRelation, _, _))
    -      if files.fileFormat.toString == "TestFileFormat" =>
    +      if files.fileFormat.toString == "TestFileFormat" ||
    +         files.fileFormat.isInstanceOf[parquet.DefaultSource] =>
    --- End diff --
    
    Should we have a feature flag for this? Or user will saw regression if we 
didn't support locality when release 2.0.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to