vtlim commented on code in PR #15444:
URL: https://github.com/apache/druid/pull/15444#discussion_r1409972948


##########
docs/querying/sql-functions.md:
##########
@@ -504,6 +504,22 @@ Returns the current timestamp in the connection's time 
zone.
 
 Rounds down a timestamp by a given time unit.
 
+## DECODE_BASE64_COMPLEX
+
+`DECODE_BASE64_COMPLEX(expr1, expr2)`
+
+**Function type:** [Scalar, other](sql-scalar.md#other-scalar-functions)
+
+Decodes complex expressions represented as literals, where `expr1` is a string 
literal with a valid [complex type 
name](sql-scalar.md#complex-type-expressions) and `expr2` is a base64-encoded 
string that contains a serialized value of the type defined in `expr1`.

Review Comment:
   This part isn't super clear to me:
   ```
   `expr1` is a string literal with a valid complex type name
   ```
   
   If I'm reading it correctly, maybe something like:
   ```
   `expr1` is a string literal whose value is one of the complex types, and 
`expr2` is...
   ```



-- 
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]

Reply via email to