Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 915 Bytes

File metadata and controls

29 lines (20 loc) · 915 Bytes
description
This section contains reference documentation for the SHA256 function.

sha256

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.

select event_id, location, SHA256(location) AS hash
from meetupRsvp 
limit 1
event_id location hash
282776561 80406178a3d70a3d714041d5c28f5c28f6 e3cdf4be84d2c7e442693b0e2f98c39b80c862a9eaf0fd444fee2bd56c1d461b

{% hint style="info" %} The row returned will be different if you run this example as the data is ingested in real-time. {% endhint %}