From 02337a54a1e425da35d3ccd9d20ec1bdbed9a042 Mon Sep 17 00:00:00 2001 From: Bohan Zhang Date: Tue, 10 Sep 2024 14:38:49 +0800 Subject: [PATCH] Update src/frontend/src/handler/create_source.rs Co-authored-by: xxchan --- src/frontend/src/handler/create_source.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/handler/create_source.rs b/src/frontend/src/handler/create_source.rs index 2af7aa8b4b098..480c30e66244c 100644 --- a/src/frontend/src/handler/create_source.rs +++ b/src/frontend/src/handler/create_source.rs @@ -622,7 +622,7 @@ fn check_additional_column_compatibility( && !matches!(schema.row_encode, Encode::Json) { return Err(RwError::from(ProtocolError(format!( - "Payload column is only allowed when row encode is JSON, but got {:?}", + "INCLUDE payload is only allowed when using ENCODE JSON, but got ENCODE {:?}", schema.row_encode )))); }