Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Applies to: ✅ Microsoft Fabric ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Performs gzip compression and encodes the result to base64.
Syntax
gzip_compress_to_base64_string(
string)
Learn more about syntax conventions.
Parameters
Name | Type | Required | Description |
---|---|---|---|
string | string |
✔️ | The value to be compressed and base64 encoded. The function accepts only one argument. |
Returns
- Returns a
string
that represents gzip-compressed and base64-encoded original string. - Returns an empty result if compression or encoding failed.
Example
print res = gzip_compress_to_base64_string("1234567890qwertyuiop")
res |
---|
H4sIAAAAAAAA/wEUAOv/MTIzNDU2Nzg5MHF3ZXJ0eXVpb3A6m7f2FAAAAA== |