Skip to content

Commit

Permalink
add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangjinwu committed Sep 28, 2023
1 parent 5e78b81 commit 2910cba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/frontend/src/handler/create_sink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ pub fn gen_sink_plan(
Some(f) => Some(bind_sink_format_desc(f)?),
None => match with_options.get(SINK_TYPE_OPTION) {
// Case B: old syntax `type = '...'`
// TODO(xiangjinwu): notice user to use the new syntax
Some(t) => Some(
SinkFormatDesc::from_legacy_type(t)
.ok_or_else(|| ErrorCode::BindError(format!("sink type unsupported: {t}")))?,
Expand Down

0 comments on commit 2910cba

Please sign in to comment.