Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/17644#discussion_r116432490
--- 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 --
After thinking it more, I think this one is less important.
Our main goal is to allow spark to read bucketed tables written by hive,
but not to allow hive to read bucketed tables written by spark.
How about we remove it for now and add it later with more discussion?
---
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]