Skip to content

Commit 601c1fc

Browse files
SkyFan2002Xuanwei Zhang
authored andcommitted
chore: make error message when CTAS committing failed more user-friendly (#17645)
1 parent aca963b commit 601c1fc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/meta/app/src/app_error.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1237,7 +1237,10 @@ impl AppErrorMessage for DuplicatedUpsertFiles {}
12371237

12381238
impl AppErrorMessage for CommitTableMetaError {
12391239
fn message(&self) -> String {
1240-
format!("Commit table '{}' fail", self.table_name)
1240+
format!(
1241+
"Create table '{}' failed, possibly because a table with the same name already exists",
1242+
self.table_name
1243+
)
12411244
}
12421245
}
12431246

0 commit comments

Comments
 (0)