Skip to content

Commit

Permalink
add flush to clone table op
Browse files Browse the repository at this point in the history
  • Loading branch information
elahrvivaz committed Oct 2, 2024
1 parent e9995f4 commit 7447450
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ class SchemaCopier(
logger.debug(s"Checking for existence and deleting any existing cloned table $cloneTable")
from.ds.adapter.deleteTable(cloneTable) // no-op if table doesn't exist
logger.debug(s"Cloning $fromTable to $cloneTable")
from.tableOps.clone(fromTable, cloneTable, false, Collections.emptyMap(), Collections.emptySet()) // use 2.0 method for compatibility
from.tableOps.clone(fromTable, cloneTable, true, Collections.emptyMap(), Collections.emptySet()) // use 2.0 method for compatibility
logger.debug(s"Taking $cloneTable offline")
from.tableOps.offline(cloneTable, true)
}
Expand Down

0 comments on commit 7447450

Please sign in to comment.