Some output are printed to stderr or stdout inconsistently. Here are some of them. Update to make them more consistent.
- Version table validation
When the version table is missing, the err msg goes to stderr
When the version table is not valid, the err msg goes to stdout with a message like "Failed in schema version validation: <err_msg>
- Metastore/schema table validation
- When the version table contains the wrong version or there are no rows in the version table, err msg goes to stderr
- When there diffs between the schema and metastore tables, the err msg goes to stdout