Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel committed Oct 29, 2024
1 parent 58f3941 commit 2049356
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/frontend/src/expr/table_function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,9 @@ impl TableFunction {
MySqlColumnType::MYSQL_TYPE_TIMESTAMP => DataType::Timestamp,

// String types
MySqlColumnType::MYSQL_TYPE_VARCHAR => DataType::Varchar,
MySqlColumnType::MYSQL_TYPE_VARCHAR
| MySqlColumnType::MYSQL_TYPE_STRING
| MySqlColumnType::MYSQL_TYPE_VAR_STRING => DataType::Varchar,
_ => {
return Err(crate::error::ErrorCode::BindError(
format!("unsupported column type: {:?}", column.column_type())
Expand Down

0 comments on commit 2049356

Please sign in to comment.