calcite icon indicating copy to clipboard operation
calcite copied to clipboard

[CALCITE-3648] MySQL UNCOMPRESS function support

Open ritesh-kapoor opened this issue 4 years ago • 3 comments

https://dev.mysql.com/doc/refman/8.0/en/encryption-functions.html#function_uncompress

e.g.:

SELECT UNCOMPRESS(COMPRESS('any string')); -> 'any string' SELECT UNCOMPRESS('any string'); -> NULL Uncompresses a string compressed by the COMPRESS() function. If the argument is not a compressed value, the result is NULL. This function uses zlib library for decompression (https://docs.oracle.com/javase/8/docs/api/java/util/zip/Inflater.html). Otherwise, the return value is always NULL.

ritesh-kapoor avatar Mar 21 '20 08:03 ritesh-kapoor

hi, @ritesh-kapoor Can this PR add a description?

XuQianJin-Stars avatar Mar 26 '20 05:03 XuQianJin-Stars

hi, @ritesh-kapoor Can this PR add a description?

Added.. Thanks

ritesh-kapoor avatar Mar 27 '20 02:03 ritesh-kapoor

All the review comments are resolved. Please let me know if something else is pending

ritesh-kapoor avatar Apr 13 '20 13:04 ritesh-kapoor