Skip to content
Snippets Groups Projects
Commit ca4d2aa3 authored by Kazuaki Ishizaki's avatar Kazuaki Ishizaki Committed by gatorsmile
Browse files

[SPARK-21344][SQL] BinaryType comparison does signed byte array comparison


## What changes were proposed in this pull request?

This PR fixes a wrong comparison for `BinaryType`. This PR enables unsigned comparison and unsigned prefix generation for an array for `BinaryType`. Previous implementations uses signed operations.

## How was this patch tested?

Added a test suite in `OrderingSuite`.

Author: Kazuaki Ishizaki <ishizaki@jp.ibm.com>

Closes #18571 from kiszk/SPARK-21344.

(cherry picked from commit ac5d5d79)
Signed-off-by: default avatargatorsmile <gatorsmile@gmail.com>
parent 2c284624
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment