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

    https://github.com/apache/spark/pull/4062#discussion_r23112796
  
    --- Diff: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala ---
    @@ -95,12 +95,12 @@ class HiveContext(sc: SparkContext) extends 
SQLContext(sc) {
        */
       def refreshTable(tableName: String): Unit = {
         // TODO: Database support...
    -    catalog.refreshTable("default", tableName)
    +    catalog.refreshTable(Seq("default", tableName))
       }
     
       protected[hive] def invalidateTable(tableName: String): Unit = {
         // TODO: Database support...
    -    catalog.invalidateTable("default", tableName)
    +    catalog.invalidateTable(Seq("default", tableName))
    --- End diff --
    
    yes, this just inherited from the old version. Now ```invalidateTable``` do 
not support database as you suggest, so here is a todo in line 102, how about 
make another PR to fix this? or do it in this PR


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to