elasticsearch/docs/reference/esql/functions/signature
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.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
acos.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
add.svg ESQL: Generate railroad diagrams for operators (#103143) 2023-12-08 09:24:34 -05:00
asin.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
atan.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
atan2.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
bucket.svg ESQL: Rename AUTO_BUCKET to just BUCKET (#107197) 2024-04-10 12:21:08 +02:00
case.svg ESQL: Generate kibana inline docs (#106782) 2024-04-09 14:19:48 -04:00
cbrt.svg ESQL: CBRT function (#108574) 2024-05-15 16:50:15 +02:00
ceil.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
cidr_match.svg [ES|QL] Add/Modify annotations for operators for better doc generation (#108220) 2024-05-03 22:59:51 -04:00
coalesce.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
concat.svg [ES|QL] Remove variadic functions' optional args from the output of show functions (#106454) 2024-03-20 10:15:49 -04:00
cos.svg ESQL: Generate docs for the trig functions (#106891) 2024-03-29 12:24:31 -04:00
cosh.svg ESQL: Generate docs for the trig functions (#106891) 2024-03-29 12:24:31 -04:00
date_diff.svg ESQL: add date_diff function (#104118) 2024-01-09 07:03:58 -05:00
date_extract.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
date_format.svg ES|QL: Improve support for TEXT fields in functions (#106810) 2024-03-27 08:47:09 -04:00
date_parse.svg ESQL: Tests for large concat and many evals (#100159) 2023-10-03 14:41:40 -04:00
date_trunc.svg ES|QL: Add unit tests and docs for DATE_TRUNC() (#107145) 2024-04-09 10:41:34 +02:00
div.svg ESQL: Generate railroad diagrams for operators (#103143) 2023-12-08 09:24:34 -05:00
e.svg ESQL: Standardize font used in railroad diagrams (#98897) 2023-08-26 14:19:47 -04:00
ends_with.svg [ES|QL] Annotate all ESQL functions (for SHOW FUNCTIONS) (#103686) 2024-01-11 10:15:30 +01:00
equals.svg ESQL: Generate railroad diagrams for operators (#103143) 2023-12-08 09:24:34 -05:00
floor.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
from_base64.svg [ES|QL] Base64 decoding and encoding functions (#107390) 2024-04-15 18:39:26 -04:00
greater_than.svg ESQL: Generate railroad diagrams for operators (#103143) 2023-12-08 09:24:34 -05:00
greater_than_or_equal.svg ESQL: Add type tables for operators to docs (#103206) 2023-12-11 10:51:38 -05:00
greatest.svg ESQL: Tests for large concat and many evals (#100159) 2023-10-03 14:41:40 -04:00
ip_prefix.svg ESQL: Add ip_prefix function (#109070) 2024-05-29 10:23:45 -04:00
least.svg ESQL: Tests for large concat and many evals (#100159) 2023-10-03 14:41:40 -04:00
left.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
length.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
less_than.svg ESQL: Generate railroad diagrams for operators (#103143) 2023-12-08 09:24:34 -05:00
less_than_or_equal.svg ESQL: Add type tables for operators to docs (#103206) 2023-12-11 10:51:38 -05:00
locate.svg Add ES|QL Locate function (#106899) 2024-04-05 15:29:54 +02:00
log.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
log10.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
ltrim.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
mod.svg ESQL: Generate railroad diagrams for operators (#103143) 2023-12-08 09:24:34 -05:00
mul.svg ESQL: Generate railroad diagrams for operators (#103143) 2023-12-08 09:24:34 -05:00
mv_avg.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
mv_concat.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
mv_count.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
mv_dedupe.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
mv_first.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
mv_last.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
mv_max.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
mv_median.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
mv_min.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
mv_slice.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
mv_sort.svg [ES|QL] Add mv_sort (#106095) 2024-03-13 12:04:12 -04:00
mv_sum.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
mv_zip.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
neg.svg ESQL: Generate railroad diagrams for operators (#103143) 2023-12-08 09:24:34 -05:00
not_equals.svg ESQL: Generate railroad diagrams for operators (#103143) 2023-12-08 09:24:34 -05:00
now.svg ES|QL: Add unit tests for now() function (#108498) 2024-05-10 14:28:19 +02:00
pi.svg ESQL: Standardize font used in railroad diagrams (#98897) 2023-08-26 14:19:47 -04:00
pow.svg ESQL: Standardize font used in railroad diagrams (#98897) 2023-08-26 14:19:47 -04:00
replace.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
right.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
round.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
rtrim.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
signum.svg Add ES|QL signum function (#106866) 2024-04-04 09:48:35 +02:00
sin.svg ESQL: Generate docs for the trig functions (#106891) 2024-03-29 12:24:31 -04:00
sinh.svg ESQL: Generate docs for the trig functions (#106891) 2024-03-29 12:24:31 -04:00
split.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
sqrt.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
st_contains.svg ESQL: Support ST_CONTAINS and ST_WITHIN (#106503) 2024-04-02 10:31:00 +02:00
st_disjoint.svg ESQL: Support ST_DISJOINT (#107007) 2024-04-08 12:26:26 +02:00
st_intersects.svg Support ST_INTERSECTS between two geometry columns (#104907) 2024-03-19 17:58:37 +01:00
st_within.svg ESQL: Support ST_CONTAINS and ST_WITHIN (#106503) 2024-04-02 10:31:00 +02:00
st_x.svg Add two new OGC functions ST_X and ST_Y (#105768) 2024-03-06 11:19:54 +01:00
st_y.svg Add two new OGC functions ST_X and ST_Y (#105768) 2024-03-06 11:19:54 +01:00
starts_with.svg [ES|QL] Annotate all ESQL functions (for SHOW FUNCTIONS) (#103686) 2024-01-11 10:15:30 +01:00
sub.svg ESQL: Generate railroad diagrams for operators (#103143) 2023-12-08 09:24:34 -05:00
substring.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
tan.svg ESQL: Generate docs for the trig functions (#106891) 2024-03-29 12:24:31 -04:00
tanh.svg ESQL: Generate docs for the trig functions (#106891) 2024-03-29 12:24:31 -04:00
tau.svg ESQL: Standardize font used in railroad diagrams (#98897) 2023-08-26 14:19:47 -04:00
to_base64.svg [ES|QL] Base64 decoding and encoding functions (#107390) 2024-04-15 18:39:26 -04:00
to_boolean.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_cartesianpoint.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_cartesianshape.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_datetime.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_degrees.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_double.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_geopoint.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_geoshape.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_integer.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_ip.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_long.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_lower.svg ESQL: Add TO_UPPER and TO_LOWER functions (#104309) 2024-01-15 11:58:57 +01:00
to_radians.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_string.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_unsigned_long.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_upper.svg ESQL: Add TO_UPPER and TO_LOWER functions (#104309) 2024-01-15 11:58:57 +01:00
to_version.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
trim.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00