Apache Pinot Docs
Search…
latest
sha256
This section contains reference documentation for the SHA256 function.
Return SHA-256 digest of binary column(bytes type) as hex string

Signature

SHA256(bytesCol)

Usage Examples

These examples are based on the Real time Quick Start.
1
select event_id, location, SHA256(location) AS hash
2
from meetupRsvp
3
limit 1
Copied!
event_id
location
hash
282776561
80406178a3d70a3d714041d5c28f5c28f6
e3cdf4be84d2c7e442693b0e2f98c39b80c862a9eaf0fd444fee2bd56c1d461b
The row returned will be different if you run this example as the data is ingested in real-time.
Last modified 1mo ago
Copy link