Jefffrey opened a new pull request, #17644:
URL: https://github.com/apache/datafusion/pull/17644
If trying to run tests on `datafusion-sql` alone, currently running into
build errors:
```bash
datafusion$ cargo test -p datafusion-sql
Compiling datafusion-functions-nested v50.0.0
(/Users/jeffrey/Code/datafusion/datafusion/functions-nested)
error[E0308]: mismatched types
--> datafusion/functions-nested/src/planner.rs:58:18
|
58 | if op == BinaryOperator::StringConcat {
| -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected
`BinaryOperator`, found `Operator`
| |
| expected because this is `BinaryOperator`
error[E0308]: mismatched types
--> datafusion/functions-nested/src/planner.rs:82:32
|
82 | } else if matches!(op, BinaryOperator::AtArrow |
BinaryOperator::ArrowAt) {
| -- ^^^^^^^^^^^^^^^^^^^^^^^ expected
`BinaryOperator`, found `Operator`
| |
| this expression has type `BinaryOperator`
error[E0308]: mismatched types
--> datafusion/functions-nested/src/planner.rs:82:58
|
82 | } else if matches!(op, BinaryOperator::AtArrow |
BinaryOperator::ArrowAt) {
| --
^^^^^^^^^^^^^^^^^^^^^^^ expected `BinaryOperator`, found `Operator`
| |
| this expression has type `BinaryOperator`
error[E0308]: mismatched types
--> datafusion/functions-nested/src/planner.rs:89:26
|
89 | if op == BinaryOperator::AtArrow {
| -- ^^^^^^^^^^^^^^^^^^^^^^^ expected
`BinaryOperator`, found `Operator`
| |
| expected because this is `BinaryOperator`
error[E0308]: mismatched types
--> datafusion/functions-nested/src/planner.rs:126:23
|
126 | if expr.op == BinaryOperator::Eq {
| ------- ^^^^^^^^^^^^^^^^^^ expected `BinaryOperator`,
found `Operator`
| |
| expected because this is `BinaryOperator`
For more information about this error, try `rustc --explain E0308`.
error: could not compile `datafusion-functions-nested` (lib) due to 5
previous errors
```
Need to ensure `datafusion-functions-nested` in dev-dependencies has `sql`
feature flag enabled so can successfully run `datafusion-sql` tests.
--
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]