Skip to content

Commit

Permalink
do not exec create table when save mode is not equals to KEEP_SCHEMA_…
Browse files Browse the repository at this point in the history
…AND_DATA
  • Loading branch information
gnehil committed Aug 15, 2023
1 parent 5de9966 commit 34acbbe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public DataSaveMode getUserConfigSaveMode() {

@Override
public void handleSaveMode(DataSaveMode userConfigSaveMode) {
if (catalogTable != null && userConfigSaveMode != null) {
if (catalogTable != null && DataSaveMode.KEEP_SCHEMA_AND_DATA.equals(userConfigSaveMode)) {
try (DorisCatalog dorisCatalog =
new DorisCatalog(
"Doris",
Expand Down

0 comments on commit 34acbbe

Please sign in to comment.