sha

This section contains reference documentation for the SHA function.

Return SHA-1 digest of binary column(bytes type) as hex string

Signature

SHA(bytesCol)

Usage Examples

These examples are based on the Real time Quick Start.

select event_id, location, SHA(location) AS hash
from meetupRsvp 
limit 1

The row returned will be different if you run this example as the data is ingested in real-time.

Last updated