techdocsmith commented on code in PR #17658: URL: https://github.com/apache/druid/pull/17658#discussion_r1940226083
########## docs/querying/sql-functions.md: ########## @@ -1756,39 +1809,66 @@ Returns the following: ## DECODE_BASE64_COMPLEX -Decodes a Base64-encoded string into a complex data type, where `dataType` is the complex data type and `expr` is the Base64-encoded string to decode. +Decodes a Base64-encoded expression into a complex data type. + +You can use the function to ingest data when a column contains an encoded data sketch such as Theta or HLL. -* **Syntax**: `DECODE_BASE64_COMPLEX(dataType, expr)` +The function supports `hyperUnique` and `serializablePairLongString` data types by default. +You can enable support for the following complex data types by [loading their extensions](../configuration/extensions.md): Review Comment: ```suggestion To enable support for a complex data type, load the [corresponding extension](../configuration/extensions.md): ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
