You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "JerAguilon (via GitHub)" <gi...@apache.org> on 2024/01/25 20:48:38 UTC
[I] [Acero] As of join breaks depending on the key order [arrow]
JerAguilon opened a new issue, #39803:
URL: https://github.com/apache/arrow/issues/39803
### Describe the bug, including details regarding any error messages, version, and platform.
I discovered a bug on the asofjoin, wherein if you change the order of the columns and make types different, it breaks.
Suppose the left table has:
```
ts,key_str_type,l_val
...data here
```
And the right table has:
```
key_str,ts,r_val
...data here
```
This ends up breaking, since the key hasher metadata is based on the output schema, which looks like:
```
ts,key_str,l_val,r_val
```
...And since the right table's 0th column is a string type, the hashes end up being all over the place.
I have a repro, test, and fix that I will attach to this. But you can see the test outputs here for the before and after fix: https://gist.github.com/JerAguilon/953d82ed288d58f9ce24d1a925def2cc
### Component(s)
C++
--
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: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Acero] As of join breaks depending on the key order [arrow]
Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou closed issue #39803: [Acero] As of join breaks depending on the key order
URL: https://github.com/apache/arrow/issues/39803
--
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: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org