Ctrl+K
Logo image Logo image

Site Navigation

  • API Reference
  • Examples

Site Navigation

  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
    • TableEnvironment
    • Table
    • Data Types
    • Window
    • Expressions
    • User Defined Functions
    • Descriptors
    • StatementSet
    • Catalog
  • PyFlink DataStream
  • PyFlink Common

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.

See also

md5, sha1, sha224, sha256, sha384, sha512

New in version 1.12.0.

previous

pyflink.table.expression.Expression.sha512

next

pyflink.table.expression.Expression.is_json

Show Source

Created using Sphinx 4.5.0.