File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
sql/hive/src/main/scala/org/apache/spark/sql/hive Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ import org.apache.hadoop.hive.ql.plan.TableDesc
2626import org .apache .hadoop .hive .ql .session .SessionState
2727import org .apache .hadoop .hive .serde2 .Deserializer
2828
29+ import org .apache .spark .annotation .DeveloperApi
2930import org .apache .spark .sql .Logging
3031import org .apache .spark .sql .catalyst .analysis .{EliminateAnalysisOperators , Catalog }
3132import org .apache .spark .sql .catalyst .expressions ._
@@ -172,7 +173,12 @@ private[hive] class HiveMetastoreCatalog(hive: HiveContext) extends Catalog with
172173 override def unregisterAllTables () = {}
173174}
174175
175- private [hive] object HiveMetastoreTypes extends RegexParsers {
176+ /**
177+ * :: DeveloperApi ::
178+ * Provides conversions between Spark SQL data types and Hive Metastore types.
179+ */
180+ @ DeveloperApi
181+ object HiveMetastoreTypes extends RegexParsers {
176182 protected lazy val primitiveType : Parser [DataType ] =
177183 " string" ^^^ StringType |
178184 " float" ^^^ FloatType |
You can’t perform that action at this time.
0 commit comments