...
We recommend that instead you use the Alphanumeric Extra Extended Character Set, as support for this may be removed in the future.
Hive Limitation and Conversion
Hive 0.12 only supports the alphanumeric extended character set: alphanumeric characters (a-z A-Z 0-9
) and underscores (_
).
As a consequence, any hyphens or periods in dataset names will be converted to underscores while creating Hive tables.
Example:
The datasets
my-dataset
my_dataset
my.dataset
will all be converted to
dataset_my_dataset
Names should be carefully constructed to avoid any collisions as a result of conversion.
Note that if you configure the Hive table name using the explore.table.name
property (see Data Exploration), then the value of that property is used literally; that is, no prefix is added and no character conversion takes place.