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

    https://github.com/apache/spark/pull/17644#discussion_r116505830
  
    --- Diff: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala 
---
    @@ -870,6 +887,23 @@ private[hive] object HiveClientImpl {
           hiveTable.setViewOriginalText(t)
           hiveTable.setViewExpandedText(t)
         }
    +
    +    table.bucketSpec match {
    +      case Some(bucketSpec) if DDLUtils.isHiveTable(table) =>
    --- End diff --
    
    > but not to allow hive to read bucketed tables written by spark.
    
    If Hive is NOT able to read the datasource tables which are bucketed, thats 
OK as its not compatible with hive. But for hive native tables, the 
interoperability amongst spark and hive is what I want.


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