nseekhao opened a new issue, #6544:
URL: https://github.com/apache/arrow-datafusion/issues/6544
### Is your feature request related to a problem or challenge?
If you run a roundtrip test on
```sql
SELECT d1.b, d2.c FROM data d1 JOIN data d2 ON CAST(d1.b AS int) = d2.e
```
you'll got the error `Error: Internal("invalid join condition expression")`.
This is due to the lack of support of expressions not in the form
`AND(f0(...), ..., fk(...))`, where `fi()` is `EQ()` in the consumer
([ref](https://github.com/apache/arrow-datafusion/blob/main/datafusion/substrait/src/logical_plan/consumer.rs#LL367C5-L367C5)).
### Describe the solution you'd like
Support for more arbitrary join condition expressions.
### Describe alternatives you've considered
This effort can be incremental. I just wanted to make sure this gets brought
up and tracked.
### Additional context
_No response_
--
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]