`updateSql` command should validate the SQL query

Description

Imaging I have a changelog like this with a typo `CREATE` -> `CRATE`. Right now `update` will raise an error but `updateSQL` will not (it will generate `target/liquibase/migrate.sql` with this typo).

Should either `updateSQL` raise an error about invalid SQL query, or there should be a (real) dry run mode which can catch this error.

By doing so, people can add it to their CI (unit) test, so they don't need to know this error when they apply liquibase change in the deployment state.

Environment

postgres 11
docker maven:3.6.1-jdk-11 image

Status

Assignee

Unassigned

Reporter

Congxin Qiu

Labels

None

Affects versions

Priority

Major
Configure