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

    https://github.com/apache/spark/pull/12222#discussion_r59688027
  
    --- Diff: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala 
---
    @@ -404,6 +404,28 @@ private[hive] class HiveClientImpl(
         Option(hivePartition).map(fromHivePartition)
       }
     
    +  /**
    +   * Returns the partition names from hive metastore for a given table in 
a database.
    +   */
    +  override def getPartitionNames(
    +      db: String,
    +      table: String,
    +      range: Short): Seq[String] = withHiveState {
    --- End diff --
    
    Sorry, i should be passing the range to hive's API. I had it hard coded to 
-1 initially and later changed , so that caller of this API can pass in a range 
to restrict the number of partitions that are returned to the client. I will 
make the change to pass the supplied range to hive.


---
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