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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to