hhhizzz opened a new pull request, #1313:
URL: https://github.com/apache/auron/pull/1313

   # Which issue does this PR close?
   
   <!--
   We generally require a GitHub issue to be filed for all bug fixes and 
enhancements and this helps us generate change logs for our releases. You can 
link an issue to this PR using the GitHub syntax. For example `Closes #123` 
indicates that this PR will close issue #123.
   -->
   
   Closes #1312 .
   
    # Rationale for this change
   The spark_sha2 UDFs currently lack regression coverage to ensure they 
produce stable digests for both UTF-8 strings and binary scalars. Adding 
targeted tests guards against regressions when the hashing logic evolves.
   
   # What changes are included in this PR?
   - Introduce a reusable helper that executes a provided spark_sha* function 
and validates the scalar result.
   - Add UTF-8 and binary scalar tests for the SHA-224/256/384/512 variants to 
lock in the expected digests.
   
   # Are there any user-facing changes?
   
   No user-facing changes.
   
   # How was this patch tested?
   ```
   cargo test -p datafusion-ext-functions spark_sha2::tests
   ```
   


-- 
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