Github user liancheng commented on a diff in the pull request:
https://github.com/apache/spark/pull/5733#discussion_r35667817
--- Diff:
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala ---
@@ -40,10 +41,72 @@ import org.apache.spark.sql.execution.datasources
import
org.apache.spark.sql.execution.datasources.{CreateTableUsingAsSelect,
LogicalRelation, Partition => ParquetPartition, PartitionSpec,
ResolvedDataSource}
import org.apache.spark.sql.hive.client._
import org.apache.spark.sql.parquet.ParquetRelation
+import org.apache.spark.sql.sources._
import org.apache.spark.sql.types._
import org.apache.spark.sql.{AnalysisException, SQLContext, SaveMode}
+private[hive] case class HiveSerDe(
+ inputFormat: Option[String] = None,
+ outputFormat: Option[String] = None,
+ serde: Option[String] = None)
+
+private[hive] object HiveSerDe {
+ /**
+ * Get the Hive SerDe information from the data source abbreviation
string or classname.
+ *
+ * @param source Currently the source abbreviation can be one of the
following:
+ * SequenceFile, RCFile, ORC, PARQUET, and case
insensitive.
+ * @param hiveConf Hive Conf
+ * @param returnDefaultFormat if true, when no matched source found,
+ * the default format will be retrieved.
+ * Default input/output format are
--- End diff --
Indentation is off
---
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]