The schema tool has an option to verify the schema version stored in the metastore. This is implemented as a simple select query executed via JDBC. The problem is that Postgres requires object names to be quoted due to the way tables are created. It's a similar issues hit by metastore direct SQL (
HIVE-5264, HIVE-5265 etc).
- is related to
HIVE-5301 Add a schema tool for offline metastore schema upgrade