description |
---|
This section contains reference documentation for the SHA512 function. |
Return SHA-512 digest of binary column(bytes
type) as hex string
SHA512(bytesCol)
These examples are based on the Real time Quick Start.
select event_id, location, SHA512(location) AS hash
from meetupRsvp
limit 1
event_id | location | hash |
---|---|---|
282776561 | 80406178a3d70a3d714041d5c28f5c28f6 | 06cc4532755995fc1661f4195f3c67440471eba809a321635cda988a09e8bb66fd040713b1a88320bb70d6bd24443e5128527a178503e6c21d2c70438f02d103 |
{% hint style="info" %} The row returned will be different if you run this example as the data is ingested in real-time. {% endhint %}