Skip to content

Commit

Permalink
Fix function name
Browse files Browse the repository at this point in the history
  • Loading branch information
Sevenannn committed Aug 2, 2024
1 parent cea5937 commit 6306ff7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sql/arrow_sql_gen/mysql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,10 @@ pub fn rows_to_arrow(rows: &[Row]) -> Result<RecordBatch> {
}

#[allow(clippy::unnecessary_wraps)]
pub fn map_column_to_data_type(column_type: ColumnType, column_flag: bool) -> Option<DataType> {
pub fn map_column_to_data_type(
column_type: ColumnType,
column_is_binary: bool,
) -> Option<DataType> {
match column_type {
ColumnType::MYSQL_TYPE_NULL => Some(DataType::Null),
ColumnType::MYSQL_TYPE_BIT => Some(DataType::UInt64),
Expand Down

0 comments on commit 6306ff7

Please sign in to comment.