Jefffrey opened a new pull request, #17955:
URL: https://github.com/apache/datafusion/pull/17955
Forgot to merge #17553 with main before I merged it in, seems a previous
merged commit conflicted in a way and is causing build failure on main tests:
```sh
error[E0308]: mismatched types
--> datafusion/datasource-csv/src/file_format.rs:826:56
|
826 | let schema = build_schema_helper(column_names,
&column_type_possibilities);
| -------------------
^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec<HashSet<DataType>>`, found
`&Vec<HashSet<DataType>>`
| |
| arguments to this function are incorrect
|
= note: expected struct `Vec<_>`
found reference `&Vec<_>`
note: function defined here
--> datafusion/datasource-csv/src/file_format.rs:619:4
|
619 | fn build_schema_helper(names: Vec<String>, types:
Vec<HashSet<DataType>>) -> Schema {
| ^^^^^^^^^^^^^^^^^^^
-----------------------------
help: consider removing the borrow
|
826 - let schema = build_schema_helper(column_names,
&column_type_possibilities);
826 + let schema = build_schema_helper(column_names,
column_type_possibilities);
|
error[E0308]: mismatched types
--> datafusion/datasource-csv/src/file_format.rs:856:56
|
856 | let schema = build_schema_helper(column_names,
&column_type_possibilities);
| -------------------
^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec<HashSet<DataType>>`, found
`&Vec<HashSet<DataType>>`
| |
| arguments to this function are incorrect
|
= note: expected struct `Vec<_>`
found reference `&Vec<_>`
note: function defined here
--> datafusion/datasource-csv/src/file_format.rs:619:4
|
619 | fn build_schema_helper(names: Vec<String>, types:
Vec<HashSet<DataType>>) -> Schema {
| ^^^^^^^^^^^^^^^^^^^
-----------------------------
help: consider removing the borrow
|
856 - let schema = build_schema_helper(column_names,
&column_type_possibilities);
856 + let schema = build_schema_helper(column_names,
column_type_possibilities);
|
error[E0308]: mismatched types
--> datafusion/datasource-csv/src/file_format.rs:874:56
|
874 | let schema = build_schema_helper(column_names,
&column_type_possibilities);
| -------------------
^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec<HashSet<DataType>>`, found
`&Vec<HashSet<DataType>>`
| |
| arguments to this function are incorrect
|
= note: expected struct `Vec<_>`
found reference `&Vec<_>`
note: function defined here
--> datafusion/datasource-csv/src/file_format.rs:619:4
|
619 | fn build_schema_helper(names: Vec<String>, types:
Vec<HashSet<DataType>>) -> Schema {
| ^^^^^^^^^^^^^^^^^^^
-----------------------------
help: consider removing the borrow
|
874 - let schema = build_schema_helper(column_names,
&column_type_possibilities);
874 + let schema = build_schema_helper(column_names,
column_type_possibilities);
|
For more information about this error, try `rustc --explain E0308`.
error: could not compile `datafusion-datasource-csv` (lib test) due to 3
previous errors
warning: build failed, waiting for other jobs to finish...
```
Fixing this
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]