You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wayang.apache.org by "makarandhinge (via GitHub)" <gi...@apache.org> on 2026/02/24 17:50:31 UTC
[PR] feat: Add SQL support for multi-condition joins [wayang]
makarandhinge opened a new pull request, #698:
URL: https://github.com/apache/wayang/pull/698
- Enhanced WayangMultiConditionJoinVisitor with SQL implementation
- Updated JdbcJoinOperator to generate AND clauses for multi-column joins
- Added test coverage for multi-condition join SQL generation
- Maintains backward compatibility with single-condition joins
--
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: commits-unsubscribe@wayang.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat: Add SQL support for multi-condition joins [wayang]
Posted by "makarandhinge (via GitHub)" <gi...@apache.org>.
makarandhinge commented on PR #698:
URL: https://github.com/apache/wayang/pull/698#issuecomment-4048177890
Hi @zkaoudi,
Could you please check this pr from long time it is on hold!
--
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: commits-unsubscribe@wayang.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat: Add SQL support for multi-condition joins [wayang]
Posted by "mspruc (via GitHub)" <gi...@apache.org>.
mspruc merged PR #698:
URL: https://github.com/apache/wayang/pull/698
--
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: commits-unsubscribe@wayang.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat: Add SQL support for multi-condition joins [wayang]
Posted by "makarandhinge (via GitHub)" <gi...@apache.org>.
makarandhinge commented on PR #698:
URL: https://github.com/apache/wayang/pull/698#issuecomment-4017239306
Hi @zkaoudi,
Could you please re run the ci workflow
--
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: commits-unsubscribe@wayang.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat: Add SQL support for multi-condition joins [wayang]
Posted by "makarandhinge (via GitHub)" <gi...@apache.org>.
makarandhinge commented on PR #698:
URL: https://github.com/apache/wayang/pull/698#issuecomment-4004621870
Hi @mspruc,
I have pull the workflow changes.
Could you please re run the workflow.
--
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: commits-unsubscribe@wayang.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat: Add SQL support for multi-condition joins [wayang]
Posted by "makarandhinge (via GitHub)" <gi...@apache.org>.
makarandhinge commented on PR #698:
URL: https://github.com/apache/wayang/pull/698#issuecomment-4106637399
Hi @mspruc,
Could you please check this pr from long time it is on hold!
--
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: commits-unsubscribe@wayang.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat: Add SQL support for multi-condition joins [wayang]
Posted by "makarandhinge (via GitHub)" <gi...@apache.org>.
makarandhinge commented on PR #698:
URL: https://github.com/apache/wayang/pull/698#issuecomment-4040532275
Hi @zkaoudi,
can you check the pr, all checks have passed!
--
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: commits-unsubscribe@wayang.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat: Add SQL support for multi-condition joins [wayang]
Posted by "makarandhinge (via GitHub)" <gi...@apache.org>.
makarandhinge commented on PR #698:
URL: https://github.com/apache/wayang/pull/698#issuecomment-3977250897
Hi @mspruc,
Can you review this, if any improvement or changes required please mention.
--
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: commits-unsubscribe@wayang.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat: Add SQL support for multi-condition joins [wayang]
Posted by "makarandhinge (via GitHub)" <gi...@apache.org>.
makarandhinge commented on PR #698:
URL: https://github.com/apache/wayang/pull/698#issuecomment-3958216249
Thank you @mspruc for the feedback! You’re right
the current test only checks the SQL string generation and doesn’t actually verify execution. Right now it covers things like SQL generation with AND clauses and correct table and column names. We could improve it by running the generated SQL and checking the results, such as making sure the correct number of rows is returned, joins match properly (for example, order_id=1 and customer_id=100), and data from both tables is combined correctly. Would you like me to add a full integration test to validate execution and results?
--
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: commits-unsubscribe@wayang.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat: Add SQL support for multi-condition joins [wayang]
Posted by "mspruc (via GitHub)" <gi...@apache.org>.
mspruc commented on PR #698:
URL: https://github.com/apache/wayang/pull/698#issuecomment-3958145229
Hi, it doesn't seem like your test case tests the implementation
--
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: commits-unsubscribe@wayang.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat: Add SQL support for multi-condition joins [wayang]
Posted by "mspruc (via GitHub)" <gi...@apache.org>.
mspruc commented on PR #698:
URL: https://github.com/apache/wayang/pull/698#issuecomment-3983132750
Hi why have you changed several `List.of()` to `Arrays.asList()`?
--
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: commits-unsubscribe@wayang.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat: Add SQL support for multi-condition joins [wayang]
Posted by "makarandhinge (via GitHub)" <gi...@apache.org>.
makarandhinge commented on PR #698:
URL: https://github.com/apache/wayang/pull/698#issuecomment-3983348437
Hi @mspruc ,
Thanks for pointing this out.
I changed `List.of()` to `Arrays.asList()` while working on the SQL implementation because I wanted to align with how lists are being passed to Calcite APIs in other parts of the codebase (e.g., places where `Arrays.asList()` is used when interacting with `LogicalTableScan` and SQL generation utilities).
My intention was to avoid any potential incompatibility with Calcite’s internal handling of lists (especially since Calcite relies heavily on Guava’s `ImmutableList` internally), and to stay consistent with the existing usage patterns in the SQL-related modules.
That said, there is no strong technical constraint that strictly requires `Arrays.asList()` here. If `List.of()` is preferred (e.g., for immutability or modern Java style), I’m happy to revert those changes.
Please let me know your preference and I’ll update the patch accordingly.
Thanks
--
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: commits-unsubscribe@wayang.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org