elasticsearch/docs/reference/esql/functions/description
Iván Cea Fontenla f16f71e2a2
ESQL: Add ip_prefix function (#109070)
Added ESQL function to get the prefix of an IP. It works now with both
IPv4 and IPv6. For users planning to use it with mixed IPs, we may need
to add a function like "is_ipv4()" first.

**About the skipped test:** There's currently a "bug" in the
evaluators//functions that return null. Evaluators can't handle them.
We'll work on support for that in another PR. It affects other
functions, like `substring()`. In this function, however, it only
affects in "wrong" cases (Like an invalid prefix), so it has no impact.

Fixes https://github.com/elastic/elasticsearch/issues/99064
2024-05-29 10:23:45 -04:00
..
abs.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00
acos.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00
asin.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00
atan.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00
atan2.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00
bucket.asciidoc ESQL: extend BUCKET with spans. Turn it into a grouping function (#107272) 2024-04-16 12:57:18 +02:00
case.asciidoc [ES|QL] Add/Modify annotations for spatial and conditional functions for better doc generation (#107722) 2024-05-10 14:49:25 -04:00
cbrt.asciidoc ESQL: CBRT function (#108574) 2024-05-15 16:50:15 +02:00
ceil.asciidoc ESQL: Generate docs for ceil (#106616) 2024-03-21 13:01:15 -04:00
cidr_match.asciidoc [ES|QL] Add/Modify annotations for operators for better doc generation (#108220) 2024-05-03 22:59:51 -04:00
coalesce.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00
concat.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00
cos.asciidoc ESQL: Generate docs for the trig functions (#106891) 2024-03-29 12:24:31 -04:00
cosh.asciidoc ESQL: Generate docs for the trig functions (#106891) 2024-03-29 12:24:31 -04:00
date_diff.asciidoc Add docs clarifications on DATE_DIFF args (#108301) 2024-05-07 12:59:01 +02:00
date_extract.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00
date_format.asciidoc ES|QL: Improve support for TEXT fields in functions (#106810) 2024-03-27 08:47:09 -04:00
date_parse.asciidoc [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
date_trunc.asciidoc ES|QL: Add unit tests and docs for DATE_TRUNC() (#107145) 2024-04-09 10:41:34 +02:00
e.asciidoc ESQL: Improve tests and docs for some functions (#107331) 2024-04-11 12:41:56 -04:00
ends_with.asciidoc [ES|QL] Add/Modify annotations for operators for better doc generation (#108220) 2024-05-03 22:59:51 -04:00
floor.asciidoc ESQL: Improve tests and docs for some functions (#107331) 2024-04-11 12:41:56 -04:00
from_base64.asciidoc [ES|QL] Base64 decoding and encoding functions (#107390) 2024-04-15 18:39:26 -04:00
greatest.asciidoc [ES|QL] Add/Modify annotations for spatial and conditional functions for better doc generation (#107722) 2024-05-10 14:49:25 -04:00
ip_prefix.asciidoc ESQL: Add ip_prefix function (#109070) 2024-05-29 10:23:45 -04:00
least.asciidoc [ES|QL] Add/Modify annotations for spatial and conditional functions for better doc generation (#107722) 2024-05-10 14:49:25 -04:00
left.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00
length.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00
locate.asciidoc Add ES|QL Locate function (#106899) 2024-04-05 15:29:54 +02:00
log.asciidoc ESQL: Fixup docs for LOG and LOG10 (#106963) 2024-04-03 09:46:32 -04:00
log10.asciidoc ESQL: Fixup docs for LOG and LOG10 (#106963) 2024-04-03 09:46:32 -04:00
ltrim.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00
mv_avg.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00
mv_concat.asciidoc mv functions (#107839) 2024-05-01 10:47:22 -04:00
mv_count.asciidoc mv functions (#107839) 2024-05-01 10:47:22 -04:00
mv_dedupe.asciidoc mv functions (#107839) 2024-05-01 10:47:22 -04:00
mv_first.asciidoc mv functions (#107839) 2024-05-01 10:47:22 -04:00
mv_last.asciidoc mv functions (#107839) 2024-05-01 10:47:22 -04:00
mv_max.asciidoc mv functions (#107839) 2024-05-01 10:47:22 -04:00
mv_median.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00
mv_min.asciidoc mv functions (#107839) 2024-05-01 10:47:22 -04:00
mv_slice.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00
mv_sort.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00
mv_sum.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00
mv_zip.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00
now.asciidoc ES|QL: Add unit tests for now() function (#108498) 2024-05-10 14:28:19 +02:00
pi.asciidoc [ESQL] Add in the autogenerated docs for a bunch of functions (#107633) 2024-04-18 14:09:30 -04:00
pow.asciidoc ESQL: Improve tests and docs for some functions (#107331) 2024-04-11 12:41:56 -04:00
replace.asciidoc [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
right.asciidoc [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
round.asciidoc [ESQL] Add in the autogenerated docs for a bunch of functions (#107633) 2024-04-18 14:09:30 -04:00
rtrim.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00
signum.asciidoc Add ES|QL signum function (#106866) 2024-04-04 09:48:35 +02:00
sin.asciidoc ESQL: Generate docs for the trig functions (#106891) 2024-03-29 12:24:31 -04:00
sinh.asciidoc ESQL: Generate docs for the trig functions (#106891) 2024-03-29 12:24:31 -04:00
split.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00
sqrt.asciidoc ESQL: CBRT function (#108574) 2024-05-15 16:50:15 +02:00
st_contains.asciidoc [ES|QL] Add/Modify annotations for spatial and conditional functions for better doc generation (#107722) 2024-05-10 14:49:25 -04:00
st_disjoint.asciidoc [ES|QL] Add/Modify annotations for spatial and conditional functions for better doc generation (#107722) 2024-05-10 14:49:25 -04:00
st_intersects.asciidoc [ES|QL] Add/Modify annotations for spatial and conditional functions for better doc generation (#107722) 2024-05-10 14:49:25 -04:00
st_within.asciidoc [ES|QL] Add/Modify annotations for spatial and conditional functions for better doc generation (#107722) 2024-05-10 14:49:25 -04:00
st_x.asciidoc [ES|QL] Add/Modify annotations for spatial and conditional functions for better doc generation (#107722) 2024-05-10 14:49:25 -04:00
st_y.asciidoc [ES|QL] Add/Modify annotations for spatial and conditional functions for better doc generation (#107722) 2024-05-10 14:49:25 -04:00
starts_with.asciidoc [ES|QL] Add/Modify annotations for operators for better doc generation (#108220) 2024-05-03 22:59:51 -04:00
substring.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00
tan.asciidoc ESQL: Generate docs for the trig functions (#106891) 2024-03-29 12:24:31 -04:00
tanh.asciidoc ESQL: Generate docs for the trig functions (#106891) 2024-03-29 12:24:31 -04:00
tau.asciidoc [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_base64.asciidoc [ES|QL] Base64 decoding and encoding functions (#107390) 2024-04-15 18:39:26 -04:00
to_boolean.asciidoc [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_cartesianpoint.asciidoc [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_cartesianshape.asciidoc [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_datetime.asciidoc [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_degrees.asciidoc [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_double.asciidoc [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_geopoint.asciidoc [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_geoshape.asciidoc [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_integer.asciidoc [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_ip.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00
to_long.asciidoc [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_lower.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00
to_radians.asciidoc [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_string.asciidoc [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_unsigned_long.asciidoc [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_upper.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00
to_version.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00
trim.asciidoc ESQL: Generate a few more docs (#106577) 2024-03-21 10:51:35 -04:00