icexelloss commented on issue #45732:
URL: https://github.com/apache/arrow/issues/45732#issuecomment-2717807513

   @pitrou I was thinking more of passing
   
   ```
   key_names=["3", "123", "6558"]
   ```
   
   and cast the key names (string) to the match the datatype of key column 
(integer), as supposed to cast the key column to match the key names.
   
   ```
    is to accept a key column of type dictionary(int, string)
   ```
   I think this is OK but less convenient because user would need to basically 
cast and zip themselves, and perhaps the signature becomes more complex? (if we 
want to support, say, uint32, uint64, int32, int64 etc) 


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to