Skip to content

Commit 0f515dc

Browse files
authored
fix: fix failing test compilation on main (#17955)
1 parent d682d22 commit 0f515dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

datafusion/datasource-csv/src/file_format.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ mod tests {
823823
HashSet::from([DataType::Utf8]), // col5
824824
];
825825

826-
let schema = build_schema_helper(column_names, &column_type_possibilities);
826+
let schema = build_schema_helper(column_names, column_type_possibilities);
827827

828828
// Verify schema has 5 columns
829829
assert_eq!(schema.fields().len(), 5);
@@ -853,7 +853,7 @@ mod tests {
853853
HashSet::from([DataType::Utf8]), // Should remain Utf8
854854
];
855855

856-
let schema = build_schema_helper(column_names, &column_type_possibilities);
856+
let schema = build_schema_helper(column_names, column_type_possibilities);
857857

858858
// col1 should be Float64 due to Int64 + Float64 = Float64
859859
assert_eq!(*schema.field(0).data_type(), DataType::Float64);
@@ -871,7 +871,7 @@ mod tests {
871871
HashSet::from([DataType::Boolean, DataType::Int64, DataType::Utf8]), // Should resolve to Utf8 due to conflicts
872872
];
873873

874-
let schema = build_schema_helper(column_names, &column_type_possibilities);
874+
let schema = build_schema_helper(column_names, column_type_possibilities);
875875

876876
// Should default to Utf8 for conflicting types
877877
assert_eq!(*schema.field(0).data_type(), DataType::Utf8);

0 commit comments

Comments
 (0)