Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-41433: [C++][Gandiva] Fix ascii_utf8 function to return same result on x86 and Arm #41434 #82

Merged
merged 1 commit into from
Oct 4, 2024

Commits on Oct 2, 2024

  1. apacheGH-41433: [C++][Gandiva] Fix ascii_utf8 function to return same…

    … result on x86 and Arm (apache#41434)
    
    Fixing ascii_utf8 function that has different return result on x86 and Arm due to default char type sign difference on those platforms. Added tests to cover existing x86 behavior for ascii symbols with code >127.
    
    1. Added type cast to signed char to save existing x86 behavior on Arm platform.
    2. Added tests cases for negative results.
    
    UT included.
    
    None
    
    * GitHub Issue: apache#41433
    
    Authored-by: DenisTarasyuk <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
    DenisTarasyuk committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    5ec7493 View commit details
    Browse the repository at this point in the history