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
{{ message }}
Repository navigation
SparkSha2 is not compliant with Spark and does not support Int32 type #16336
We are working on using Datafusion's Sha2 (SparkSha2) implementation in Comet. However when making changes, found 2 issues (See here for full details),
SparkSha2 is not fully compliant with the Apache Spark Sha2 response. The Apache Spark returns Sha2 hex output in lowercase however SparkSha2 returns the response in uppercase. Eg,
SparkSha2 pattern matching expects Sha2 bit-length type to be Uint32, however Spark (and Comet) doesn't support Uint32 type. This is due to the limitation of JVM which only support signed types. Because of which Comet is not able to send UInt32 type for bit-length and hence pattern matching fails.
Activity
rishvin commentedon Jun 9, 2025
I will create a PR for this.