Skip to main content
kkanchu
Silver ⭐️⭐️⭐️
Silver ⭐️⭐️⭐️
Mar 9, 2018 5:05 AM UTC

How to determine if Hive table is ACID enabled?

  • Oct 5, 2026 9:12 AM UTC
  • 0 replies
  • 7848 views
  • Translate All

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