Commit d3e20bf
authored
Upgrade to datafusion 51 & arrow 57 (#240)
* Upgrade to datafusion 51 & arrow 57
Upgrade datafusion & arrow dependencies and make required code changes.
Note that although `cargo test` completes normally, the duckdb example
does not yet work, due to the dependency on arrow 56.
* Increase MSRV to 1.88.0
Increase MSRV to 1.88.0 to match datafusion 51.
* Attempt to fix datatype error
Integration tests are failing after upgrading datafusion & arrow:
Function 'current_schemas' returned value of type 'List(Field { data_type: Utf8, nullable: true })' while the following type was promised at planning time and expected: 'List(Field { name: "schema", data_type: Utf8 })'.
Attempt to fix this my making our `current_schema` UDF declare the same
return type that is actually being returned.
This seems to be _a_ fix for the error, but I'm not certain it's the
_right_ fix.1 parent d7f9ee4 commit d3e20bf
File tree
7 files changed
+270
-245
lines changed- .github/workflows
- arrow-pg/src/datatypes
- datafusion-pg-catalog/src
- sql
- datafusion-postgres/src/hooks
7 files changed
+270
-245
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
0 commit comments