Github user liancheng commented on a diff in the pull request:
https://github.com/apache/spark/pull/5733#discussion_r35667724
--- Diff: sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala ---
@@ -1627,8 +1627,8 @@ class DataFrame private[sql](
* an RDD out to a parquet file, and then register that file as a table.
This "table" can then
* be the target of an `insertInto`.
*
- * Also note that while this function can persist the table metadata
into Hive's metastore,
- * the table will NOT be accessible from Hive, until SPARK-7550 is
resolved.
+ * Also note this function probably persist the table metadata into
Hive's metastore, and we can
+ * disable that by setting spark.sql.hive.writeDataSourceSchema to false.
--- End diff --
This function *always* persist table metadata into Hive's metastore. But
the table is not accessible from Hive unless the underlying data source is
either Parquet or ORC.
---
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]