kosiew opened a new pull request, #15556:
URL: https://github.com/apache/datafusion/pull/15556
## Which issue does this PR close?
- I added some slt tests to investigate the issue #15549
## Rationale for this change
This change adds SQL logic tests to validate support for accessing fields
within compound (struct-like) columns during `JOIN` operations.
## What changes are included in this PR?
- Introduced two new tables: `compound_field_table_t` and
`compound_field_table_u`, each containing a single column with a compound field
(`{r: <string>, c: <number>}`).
- Added four test queries covering:
- Field access using string keys in `JOIN` conditions with aliases
- Same logic without using aliases
- Joins on numeric field values within the compound field
- Joins with combined conditions on both fields
- Added cleanup statements to drop the temporary tables after the tests
## Are these changes tested?
✅ Yes. This PR adds SQL logic tests directly into the `joins.slt` test
suite. These queries act as both verification and documentation for expected
behavior.
## Are there any user-facing changes?
🟢 No user-facing changes. This is strictly a test-only addition, focused on
validating internal functionality.
<!-- If there are any breaking changes to public APIs, please add the `api
change` label. -->
--
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]