- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Hive naming limits
- Labels:
-
Apache Hive
-
Apache Impala
Created on ‎09-20-2018 03:08 PM - edited ‎09-16-2022 06:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, anyone know the max table name and column name limits in Hive and Impala? I could not find any Hive database limits specifications which is found in most other databases. Thanks.
Created ‎09-20-2018 03:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Table name is 256 characters:
https://github.com/apache/hive/blob/master/metastore/scripts/upgrade/mysql/hive-schema-2.3.0.mysql.s...
And column name is 767 characters:
https://github.com/apache/hive/blob/master/metastore/scripts/upgrade/mysql/hive-schema-2.3.0.mysql.s...
Created ‎09-20-2018 03:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Table name is 256 characters:
https://github.com/apache/hive/blob/master/metastore/scripts/upgrade/mysql/hive-schema-2.3.0.mysql.s...
And column name is 767 characters:
https://github.com/apache/hive/blob/master/metastore/scripts/upgrade/mysql/hive-schema-2.3.0.mysql.s...
Created ‎09-20-2018 04:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created on ‎04-06-2022 01:00 PM - edited ‎04-06-2022 01:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Found some new info in latest Cloudera CDP guides for Impala. It would be nice if they made Hive and Impala more similar for SQL standard syntax but unfortunately it is not same:
https://docs.cloudera.com/runtime/7.2.14/impala-sql-reference/topics/impala-identifiers.html
Impala identifiers
Provides information about using Identifiers as the names of databases, tables, or columns when creating the objects.
The following rules apply to identifiers in Impala:The minimum length of an identifier is 1 character.
The maximum length of an identifier is currently 128 characters, enforced by the Metastore database.
