Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion crates/control_plane/src/models/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,8 @@ impl ColumnInfo {
| DataType::UInt8
| DataType::UInt16
| DataType::UInt32
| DataType::UInt64 => {
| DataType::UInt64
| DataType::Float32 => {
column_info.r#type = "fixed".to_string();
column_info.precision = Some(38);
column_info.scale = Some(0);
Expand Down
2 changes: 0 additions & 2 deletions crates/control_plane/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ pub fn convert_record_batches(
columns.push(converted_column);
}
let new_schema = Arc::new(Schema::new(fields));
//println!("new schema: {:?}", new_schema);
//println!("columns: {:?}", columns);
let converted_batch = RecordBatch::try_new(new_schema, columns)?;
converted_batches.push(converted_batch);
}
Expand Down
Loading