Skip to main content
Ctrl+K
PyFlink 1.20+vvr.11.7.dev0 documentation - Home PyFlink 1.20+vvr.11.7.dev0 documentation - Home
  • API Reference
  • Examples
  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
    • TableEnvironment
    • Table
    • Data Types
    • Window
    • Expressions
    • User Defined Functions
    • Descriptors
    • StatementSet
    • Catalog
  • PyFlink DataStream
  • PyFlink DataFrame
  • PyFlink Common
  • API Reference
  • PyFlink Table
  • Expressions
  • pyflink.table.expression.Expression.sha2

pyflink.table.expression.Expression.sha2#

Expression.sha2(hash_length: int | Expression[int]) → 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

Added in version 1.12.0.

previous

pyflink.table.expression.Expression.sha512

next

pyflink.table.expression.Expression.is_json

On this page
  • Expression.sha2()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.