Skip to content

Commit

Permalink
Update src/frontend/src/handler/create_source.rs
Browse files Browse the repository at this point in the history
Co-authored-by: xxchan <[email protected]>
  • Loading branch information
tabVersion and xxchan authored Sep 10, 2024
1 parent 1d85abf commit 02337a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/src/handler/create_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
))));
}
Expand Down

0 comments on commit 02337a5

Please sign in to comment.