Github user windpiger commented on a diff in the pull request:
https://github.com/apache/spark/pull/17187#discussion_r104643185
--- Diff:
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveStrategies.scala ---
@@ -170,6 +169,40 @@ object HiveAnalysis extends Rule[LogicalPlan] {
}
}
+class ReadHiveDataSource(session: SparkSession) extends Rule[LogicalPlan] {
+ import
org.apache.hadoop.hive.metastore.api.hive_metastoreConstants.META_TABLE_STORAGE
+
+ override def apply(plan: LogicalPlan): LogicalPlan = plan
resolveOperators {
+ case c: CatalogRelation if DDLUtils.isHiveTable(c.tableMeta) &&
+ // Hive tables with storage handler with be handled in a different
way, in `HiveTableScans`.
--- End diff --
with be -> will be
---
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]