Does Acero support multi-column joins? #46212
Unanswered
severinson
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Hi @severinson, based on the description in #31851 and the relevant code in https://github.com/apache/arrow/blob/main/cpp/src/arrow/engine/substrait/relation_internal.cc, I don't think Acero's Substrait consumer currently supports multiple join keys. Acero itself does, however. Is Substrait a key requirement for what you're doing? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey. I’m trying to use Acero to join two Arrow tables on multiple columns. I’ve created a Substrait plan for doing so containing an and expression with one equals expression per pair of columns. However, I get the error ”Only equal or is_not_distinct_from are supported for join key”. Is there a way to produce a Substrait plan that would do such a join? Joining on one column works since I can then use an equals expression directly. Thanks,
Beta Was this translation helpful? Give feedback.
All reactions