pyflink.table.expression.Expression.sha2#
- Expression.sha2(hash_length: Union[int, pyflink.table.expression.Expression[int]]) pyflink.table.expression.Expression[str] [source]#
Returns the hash for the given string expression using the SHA-2 family of hash functions (SHA-224, SHA-256, SHA-384, or SHA-512).
- Parameters
hash_length – bit length of the result (either 224, 256, 384, or 512)
- Returns
string or null if one of the arguments is null.
New in version 1.12.0.