edgar2020 commented on code in PR #16878: URL: https://github.com/apache/druid/pull/16878#discussion_r1717313489
########## docs/querying/sql-functions.md: ########## @@ -1077,11 +1077,42 @@ Calculates the base-10 of the numeric expression. ## LOOKUP -`LOOKUP(<CHARACTER>, <CHARACTER>[, <CHARACTER>])` +Searches for `expr` in a registered [query-time lookup table](lookups.md) named `lookupName`. Returns `replaceMissingValueWith`, which defaults to `null` if `expr` is null or if the lookup doesn't contain a key for `expr`. Review Comment: ~~Table description is just introducing the table that is being used, not how it is being used, I do not think it is necessary to update it ~~ Was referring to table in sql-scalar. -- 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]
