Updated on 2022-12-14 GMT+08:00

SemanticException Is Reported During Hive Data Synchronization

Question

The following error is reported during Hive data synchronization:

org.apache.hadoop.hive.ql.parse.SemanticException: Database does not exist: test_db

Answer

This error usually occurs when Hive synchronization is performed on the Hudi dataset but the configured hive_sync database does not exist.

Create the corresponding database on your Hive cluster and try again.