THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
STRING
VARCHAR
(Note: Only available starting with Hive 0.12.0)CHAR
(Note: Only available starting with Hive 0.13.0)
Misc Types
BOOLEAN
BINARY
(Note: Only available starting with Hive 0.8.0)
...
Info | ||
---|---|---|
| ||
Varchar datatype was introduced in Hive 0.12.0 (HIVE-4844). |
Char
Anchor | ||||
---|---|---|---|---|
|
Char types are similar to Varchar but they are fixed-length meaning that values shorter than the specified length value are padded with spaces but trailing spaces are not important during comparisons. The maximum length is fixed at 255.
Code Block | ||||
---|---|---|---|---|
| ||||
CREATE TABLE foo (bar CHAR(10))
|
Timestamps
Anchor | ||||
---|---|---|---|---|
|
...