Applies to: Databricks SQL Databricks Runtime 15.2 and later
Returns value decompressed with Zstandard compression. On decompression failure, it throws an exception.
Syntax
zstd_decompress ( value )
Arguments
value: The binary value compressed with Zstandard that needs to be decompressed.
Returns
Decompressed value of type BINARY.
If value is not a valid ZSTD compressed value, Databricks raises INVALID_PARAMETER_VALUE.ZSTD_DECOMPRESS_INPUT.
To return NULL instead of raising an exception, use the try_zstd_decompress function.