cloudera-labs / hms-mirror

"hms-mirror" is a utility used to bridge the gap between two clusters and migrate hive metadata.
Apache License 2.0
13 stars 8 forks source link

Allow CREATE [EXTERNAL] TABLE statements to be written with `IF NOT EXISTS`` #66

Closed dstreev closed 1 year ago

dstreev commented 1 year ago

Define at the cluster level an option to replace CREATE [EXTERNAL] TABLE with CREATE [EXTERNAL] TABLE IF NOT EXISTS.

This is false by default since it could mask an issue with tables that already exist and silently not apply a new CREATE statement.

clusters:
  RIGHT|LEFT:
    createIfNotExists: "true"