Community Articles
Find and share helpful community-sourced technical articles.
Announcements
Check out our newest addition to the community, the Cloudera Innovation Accelerator group hub.
Labels (1)
Cloudera Employee

A Hive Database can contain both transactional and non transactional table. Hence, if we are doing some quick checks to determine if the table is ACID enabled, please run the following command.

# hive -e "describe extended <Database>.<tablename>;" | grep "transactional=true"

If you get an output with the string that you grep for, then the table is transactional.

Example: #hive -e "describe extended default.hello_acid;" | grep "transactional=true"

62763-hiveacidtablegrep.png

4,379 Views
Don't have an account?
Version history
Last update:
‎08-17-2019 08:30 AM
Updated by:
Contributors
Top Kudoed Authors