Closed tshauck closed 1 week ago
Hi, I updated the shim handling for 3.2 and made various other updates (based on PR feedback and general cleanup). Please have another look and let me know what you think, thanks!
Thanks for all the feedback. I think I've addressed the build/naming/etc feedback, and will have a look at improving the tests and any associated implementation changes sometime tomorrow. I'll request a review via GH when it's ready.
I think this is ready for review. I updated the unhex
impl to be more faithful to Spark's (for odd-length inputs in particular), added better null handling, and added more tests from the Spark repo.
Err... looks to be an issue w/ spark 3.2 I'll need to look into. Hopefully the majority of the code'll remain unchanged.
Thanks for the updates @tshauck. I plan on reviewing later today.
@viirya @kazuyukitanimura do you have any additional feedback?
I plan on merging this tomorrow if there is no more feedback
Which issue does this PR close?
Closes #341
Rationale for this change
unhex
is currently unsupported by comet. This my first PR into this repo, so certainly open to any feedback to make it more inline w/ expectations.What changes are included in this PR?
Add
unhex
as well as make some minor refactors.How are these changes tested?
Added simple tests to the rust and spark sql side of the code.