spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ericl <...@git.apache.org>
Subject [GitHub] spark pull request #14690: [SPARK-16980][SQL] Load only catalog table partit...
Date Wed, 12 Oct 2016 19:16:17 GMT
Github user ericl commented on a diff in the pull request:

    https://github.com/apache/spark/pull/14690#discussion_r83078271
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/TableFileCatalog.scala
---
    @@ -55,10 +55,16 @@ class TableFileCatalog(
     
       override def listFiles(filters: Seq[Expression]): Seq[Partition] = partitionSchema
match {
         case Some(partitionSchema) =>
    -      externalCatalog.listPartitionsByFilter(db, table, filters).flatMap {
    +      val catalogTablePartitions = externalCatalog.listPartitionsByFilter(db, table,
filters)
    --- End diff --
    
    Nevermind, this fails since we try to infer partitioning there.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message