Skip to content

Commit

Permalink
Update create_sink.rs
Browse files Browse the repository at this point in the history
Co-authored-by: stonepage <[email protected]>
  • Loading branch information
yezizp2012 and st1page authored May 9, 2024
1 parent d67122e commit d8ab716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/src/handler/create_sink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ fn derive_default_column_project_for_sink(

// If users specified the columns to be inserted e.g. `CREATE SINK s INTO t(a, b)`, the expressions of `Project` will be generated accordingly.
// The missing columns will be filled with default value (`null` if not explicitly defined).
// Otherwise, e.g. `CREATE SINK s INTO t`, the columns will be matched by their order in `select` query and the target table.
// Otherwhise, e.g. `CREATE SINK s INTO t`, the columns will be matched by their order in `select` query and the target table.

Check warning on line 721 in src/frontend/src/handler/create_sink.rs

View workflow job for this annotation

GitHub Actions / Spell Check with Typos

"Otherwhise" should be "Otherwise".
#[allow(clippy::collapsible_else_if)]
if user_specified_columns {
if let Some(idx) = sink_visible_col_idxes_by_name.get(table_column.name()) {
Expand Down

0 comments on commit d8ab716

Please sign in to comment.