File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
sql/catalyst/src/main/scala/org/apache/spark/sql/types Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -56,14 +56,18 @@ object HiveStringType {
56
56
}
57
57
58
58
/**
59
- * Hive char type.
59
+ * Hive char type. Similar to other HiveStringType's, these datatypes should only used for
60
+ * parsing, and should NOT be used anywhere else. Any instance of these data types should be
61
+ * replaced by a [[StringType ]] before analysis.
60
62
*/
61
63
case class CharType (length : Int ) extends HiveStringType {
62
64
override def simpleString : String = s " char( $length) "
63
65
}
64
66
65
67
/**
66
- * Hive varchar type.
68
+ * Hive varchar type. Similar to other HiveStringType's, these datatypes should only used for
69
+ * parsing, and should NOT be used anywhere else. Any instance of these data types should be
70
+ * replaced by a [[StringType ]] before analysis.
67
71
*/
68
72
case class VarcharType (length : Int ) extends HiveStringType {
69
73
override def simpleString : String = s " varchar( $length) "
You can’t perform that action at this time.
0 commit comments