-
Notifications
You must be signed in to change notification settings - Fork 25.8k
ESQL: Functions! #98545
Copy link
Copy link
Open
Labels
:Analytics/ES|QLAKA ESQLAKA ESQL>enhancementTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)Meta label for analytical engine team (ESQL/Aggs/Geo)
Metadata
Metadata
Assignees
Labels
:Analytics/ES|QLAKA ESQLAKA ESQL>enhancementTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)Meta label for analytical engine team (ESQL/Aggs/Geo)
Type
Fields
Give feedbackNo fields configured for Epic.
Description
Description
This is a list of "shovel ready" functions. It's functions we are fairly sure we want and we should be able to start working on them now. This list is not sorted at all, partly because making any one of these functions shouldn't be a huge effort so the cost of having a sorted list is comparatively high.
This list is not sacred. If you need a function to do something, stick it on the list. Maybe even build it yourself, it's fun!
Weird
IP
Math
Add ES|QL copy_sign function #126486Implementing copy_sign function for ESQL #128281Sqrtfunction for ESQL #98449SUM(a, b, c) - sum of columns, not an aggLet's just usea + b + corMV_SUM(a) + MV_SUM(b) + MV_SUM(c)to_degrees)to_radians)String
ROOTlocale. ESQL: Add TO_UPPER and TO_LOWER functions #104309SPACEfunction #112350FMT_family described in ESQL should support a humanize option to quickly render values in human readable way. #136533 (comment)Date
DAY_NAMEfunction #132535DATE_PART/DATEPARTfor now folks can use EXTRACTDAY_OF_MONTH/DOM/DAYfor now folks can use EXTRACTDAY_OF_WEEK/DAYOFWEEK/DOWfor now folks can use EXTRACTDAY_OF_YEAR/DOYfor now folks can use EXTRACTHOUR_OF_DAY/HOURfor now folks can use EXTRACTISO_DAY_OF_WEEK/ISODAYOFWEEK/ISODOW/IDOWfor now folks can use EXTRACTISO_WEEK_OF_YEAR/ISOWEEKOFYEAR/ISOWEEK/IWOY/IWfor now folks can use EXTRACTMINUTE_OF_DAYfor now folks can use EXTRACTMINUTE_OF_HOUR/MINUTEfor now folks can use EXTRACTMONTH_OF_YEAR/MONTHfor now folks can use EXTRACTSECOND_OF_MINUTE/SECONDfor now folks can use EXTRACTQUARTERfor now folks can use EXTRACTWEEK_OF_YEAR/WEEKfor now folks can use EXTRACTYEARfor now folks can use EXTRACTMulti-valued
Encode/Decode
binarydata form one charset to another.CHARSET(bytes field, source charset, target charset (optional - default could be UTF-8))bytesdata type in ESQL yet.Secure Hashing
hash(.., ..)MessageDigest.getInstanceAggregate (STATS ... BY)
NULL
Score functions
Miscellaneous functions