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

    https://github.com/apache/spark/pull/16787#discussion_r100321748
  
    --- Diff: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala 
---
    @@ -815,7 +809,21 @@ private[hive] class HiveClientImpl(
         Option(hc.getComment).map(field.withComment).getOrElse(field)
       }
     
    -  private def toHiveTable(table: CatalogTable): HiveTable = {
    +  private def toInputFormat(name: String) =
    +    Utils.classForName(name).asInstanceOf[Class[_ <: 
org.apache.hadoop.mapred.InputFormat[_, _]]]
    +
    +  private def toOutputFormat(name: String) =
    +    Utils.classForName(name)
    +      .asInstanceOf[Class[_ <: 
org.apache.hadoop.hive.ql.io.HiveOutputFormat[_, _]]]
    +
    +  /**
    +   * Converts the native table metadata representation format CatalogTable 
to Hive's Table.
    +   * the default value shimForHiveExecution is only used for hive 
execution, a Shim instance
    +   * with a specific metastore version should be passed to this function 
to interact with metastore
    --- End diff --
    
    This description is out of dated. Need an update. 


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