From 2910cba85a3bab26923cde7730c17d0a8a493002 Mon Sep 17 00:00:00 2001 From: Xiangjin Date: Thu, 28 Sep 2023 13:54:00 +0800 Subject: [PATCH] add TODO --- src/frontend/src/handler/create_sink.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/frontend/src/handler/create_sink.rs b/src/frontend/src/handler/create_sink.rs index 1070a55cad13a..8d969149f9658 100644 --- a/src/frontend/src/handler/create_sink.rs +++ b/src/frontend/src/handler/create_sink.rs @@ -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}")))?,