Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikeW committed Oct 23, 2024
1 parent 20ee997 commit 3116385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/src/handler/create_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@ fn derive_with_options_for_cdc_table(
// MySQL doesn't allow '.' in database name and table name, so we can split the
// external table name by '.' to get the table name
let (db_name, table_name) = external_table_name.split_once('.').ok_or_else(|| {
anyhow!("The upstream table name must contain schema name prefix, e.g. 'database.table'")
anyhow!("The upstream table name must contain database name prefix, e.g. 'database.table'")
})?;
with_options.insert(DATABASE_NAME_KEY.into(), db_name.into());
with_options.insert(TABLE_NAME_KEY.into(), table_name.into());
Expand Down

0 comments on commit 3116385

Please sign in to comment.