You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doesn't SHA2 already has a dedicated scalar implementation (digest_to_scalar!), so it doesn’t rely on make_scalar_function/values_to_arrays for scalars?
Activity
kumarUjjawal commentedon Jan 31, 2026
Doesn't SHA2 already has a dedicated scalar implementation (digest_to_scalar!), so it doesn’t rely on make_scalar_function/values_to_arrays for scalars?
https://github.com/apache/datafusion/blob/a02e6836e7d449008eef592b177ea282595e027a/datafusion/functions/src/crypto/sha.rs#L158C1-L161C6
Jefffrey commentedon Jan 31, 2026
Not for the Spark version
perf: Optimize scalar fast path & write() encoding for sha2 (#20116)
perf: Optimize scalar fast path & write() encoding for sha2 (apache#2…