Skip to content

Commit

Permalink
fix(sink): fix array<bool> error (#16221)
Browse files Browse the repository at this point in the history
  • Loading branch information
xxhZs authored Apr 9, 2024
1 parent e3ad87d commit 6f360ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connector/src/sink/starrocks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ impl StarrocksSink {
) -> Result<bool> {
match rw_data_type {
risingwave_common::types::DataType::Boolean => {
Ok(starrocks_data_type.contains("tinyint"))
Ok(starrocks_data_type.contains("tinyint") | starrocks_data_type.contains("boolean"))
}
risingwave_common::types::DataType::Int16 => {
Ok(starrocks_data_type.contains("smallint"))
Expand Down

0 comments on commit 6f360ce

Please sign in to comment.