{"version":3,"sources":["../../../src/generated/function_docs/abs.ts","../../../src/generated/function_docs/absent.ts","../../../src/generated/function_docs/absent_over_time.ts","../../../src/generated/function_docs/acos.ts","../../../src/generated/function_docs/acosh.ts","../../../src/generated/function_docs/asin.ts","../../../src/generated/function_docs/asinh.ts","../../../src/generated/function_docs/atan.ts","../../../src/generated/function_docs/atan2.ts","../../../src/generated/function_docs/atanh.ts","../../../src/generated/function_docs/avg.ts","../../../src/generated/function_docs/avg_over_time.ts","../../../src/generated/function_docs/bit_length.ts","../../../src/generated/function_docs/bucket.ts","../../../src/generated/function_docs/byte_length.ts","../../../src/generated/function_docs/case.ts","../../../src/generated/function_docs/categorize.ts","../../../src/generated/function_docs/cbrt.ts","../../../src/generated/function_docs/ceil.ts","../../../src/generated/function_docs/chunk.ts","../../../src/generated/function_docs/cidr_match.ts","../../../src/generated/function_docs/clamp.ts","../../../src/generated/function_docs/clamp_max.ts","../../../src/generated/function_docs/clamp_min.ts","../../../src/generated/function_docs/coalesce.ts","../../../src/generated/function_docs/concat.ts","../../../src/generated/function_docs/contains.ts","../../../src/generated/function_docs/copy_sign.ts","../../../src/generated/function_docs/cos.ts","../../../src/generated/function_docs/cosh.ts","../../../src/generated/function_docs/count.ts","../../../src/generated/function_docs/count_distinct.ts","../../../src/generated/function_docs/count_distinct_over_time.ts","../../../src/generated/function_docs/count_over_time.ts","../../../src/generated/function_docs/date_diff.ts","../../../src/generated/function_docs/date_extract.ts","../../../src/generated/function_docs/date_format.ts","../../../src/generated/function_docs/date_parse.ts","../../../src/generated/function_docs/date_trunc.ts","../../../src/generated/function_docs/date_unit_count.ts","../../../src/generated/function_docs/day_name.ts","../../../src/generated/function_docs/decay.ts","../../../src/generated/function_docs/delta.ts","../../../src/generated/function_docs/deriv.ts","../../../src/generated/function_docs/e.ts","../../../src/generated/function_docs/earliest.ts","../../../src/generated/function_docs/embedding.ts","../../../src/generated/function_docs/ends_with.ts","../../../src/generated/function_docs/exp.ts","../../../src/generated/function_docs/field_extract.ts","../../../src/generated/function_docs/first.ts","../../../src/generated/function_docs/first_over_time.ts","../../../src/generated/function_docs/floor.ts","../../../src/generated/function_docs/from_base64.ts","../../../src/generated/function_docs/greatest.ts","../../../src/generated/function_docs/hash.ts","../../../src/generated/function_docs/hypot.ts","../../../src/generated/function_docs/idelta.ts","../../../src/generated/function_docs/increase.ts","../../../src/generated/function_docs/ip_prefix.ts","../../../src/generated/function_docs/irate.ts","../../../src/generated/function_docs/json_extract.ts","../../../src/generated/function_docs/knn.ts","../../../src/generated/function_docs/kql.ts","../../../src/generated/function_docs/last.ts","../../../src/generated/function_docs/last_over_time.ts","../../../src/generated/function_docs/latest.ts","../../../src/generated/function_docs/least.ts","../../../src/generated/function_docs/left.ts","../../../src/generated/function_docs/length.ts","../../../src/generated/function_docs/locate.ts","../../../src/generated/function_docs/log.ts","../../../src/generated/function_docs/log10.ts","../../../src/generated/function_docs/ltrim.ts","../../../src/generated/function_docs/match.ts","../../../src/generated/function_docs/match_phrase.ts","../../../src/generated/function_docs/max.ts","../../../src/generated/function_docs/max_over_time.ts","../../../src/generated/function_docs/md5.ts","../../../src/generated/function_docs/median.ts","../../../src/generated/function_docs/median_absolute_deviation.ts","../../../src/generated/function_docs/min.ts","../../../src/generated/function_docs/min_over_time.ts","../../../src/generated/function_docs/month_name.ts","../../../src/generated/function_docs/mv_append.ts","../../../src/generated/function_docs/mv_avg.ts","../../../src/generated/function_docs/mv_concat.ts","../../../src/generated/function_docs/mv_contains.ts","../../../src/generated/function_docs/mv_count.ts","../../../src/generated/function_docs/mv_dedupe.ts","../../../src/generated/function_docs/mv_difference.ts","../../../src/generated/function_docs/mv_first.ts","../../../src/generated/function_docs/mv_in_range.ts","../../../src/generated/function_docs/mv_intersection.ts","../../../src/generated/function_docs/mv_intersects.ts","../../../src/generated/function_docs/mv_last.ts","../../../src/generated/function_docs/mv_like.ts","../../../src/generated/function_docs/mv_max.ts","../../../src/generated/function_docs/mv_median.ts","../../../src/generated/function_docs/mv_median_absolute_deviation.ts","../../../src/generated/function_docs/mv_min.ts","../../../src/generated/function_docs/mv_percentile.ts","../../../src/generated/function_docs/mv_pseries_weighted_sum.ts","../../../src/generated/function_docs/mv_rlike.ts","../../../src/generated/function_docs/mv_slice.ts","../../../src/generated/function_docs/mv_sort.ts","../../../src/generated/function_docs/mv_sum.ts","../../../src/generated/function_docs/mv_union.ts","../../../src/generated/function_docs/mv_zip.ts","../../../src/generated/function_docs/network_direction.ts","../../../src/generated/function_docs/now.ts","../../../src/generated/function_docs/percentile.ts","../../../src/generated/function_docs/percentile_over_time.ts","../../../src/generated/function_docs/pi.ts","../../../src/generated/function_docs/pow.ts","../../../src/generated/function_docs/present.ts","../../../src/generated/function_docs/present_over_time.ts","../../../src/generated/function_docs/qstr.ts","../../../src/generated/function_docs/range_contains.ts","../../../src/generated/function_docs/range_intersects.ts","../../../src/generated/function_docs/range_max.ts","../../../src/generated/function_docs/range_min.ts","../../../src/generated/function_docs/range_within.ts","../../../src/generated/function_docs/rate.ts","../../../src/generated/function_docs/repeat.ts","../../../src/generated/function_docs/replace.ts","../../../src/generated/function_docs/reverse.ts","../../../src/generated/function_docs/right.ts","../../../src/generated/function_docs/round.ts","../../../src/generated/function_docs/round_to.ts","../../../src/generated/function_docs/rtrim.ts","../../../src/generated/function_docs/sample.ts","../../../src/generated/function_docs/scalb.ts","../../../src/generated/function_docs/score.ts","../../../src/generated/function_docs/sha1.ts","../../../src/generated/function_docs/sha256.ts","../../../src/generated/function_docs/signum.ts","../../../src/generated/function_docs/sin.ts","../../../src/generated/function_docs/sinh.ts","../../../src/generated/function_docs/space.ts","../../../src/generated/function_docs/sparkline.ts","../../../src/generated/function_docs/split.ts","../../../src/generated/function_docs/sqrt.ts","../../../src/generated/function_docs/st_buffer.ts","../../../src/generated/function_docs/st_centroid_agg.ts","../../../src/generated/function_docs/st_contains.ts","../../../src/generated/function_docs/st_difference.ts","../../../src/generated/function_docs/st_dimension.ts","../../../src/generated/function_docs/st_disjoint.ts","../../../src/generated/function_docs/st_distance.ts","../../../src/generated/function_docs/st_envelope.ts","../../../src/generated/function_docs/st_extent_agg.ts","../../../src/generated/function_docs/st_geohash.ts","../../../src/generated/function_docs/st_geohex.ts","../../../src/generated/function_docs/st_geometrytype.ts","../../../src/generated/function_docs/st_geotile.ts","../../../src/generated/function_docs/st_intersection.ts","../../../src/generated/function_docs/st_intersects.ts","../../../src/generated/function_docs/st_isempty.ts","../../../src/generated/function_docs/st_npoints.ts","../../../src/generated/function_docs/st_simplify.ts","../../../src/generated/function_docs/st_simplifypreservetopology.ts","../../../src/generated/function_docs/st_symdifference.ts","../../../src/generated/function_docs/st_union.ts","../../../src/generated/function_docs/st_within.ts","../../../src/generated/function_docs/st_x.ts","../../../src/generated/function_docs/st_xmax.ts","../../../src/generated/function_docs/st_xmin.ts","../../../src/generated/function_docs/st_y.ts","../../../src/generated/function_docs/st_ymax.ts","../../../src/generated/function_docs/st_ymin.ts","../../../src/generated/function_docs/starts_with.ts","../../../src/generated/function_docs/std_dev.ts","../../../src/generated/function_docs/stddev_over_time.ts","../../../src/generated/function_docs/substring.ts","../../../src/generated/function_docs/sum.ts","../../../src/generated/function_docs/sum_over_time.ts","../../../src/generated/function_docs/tan.ts","../../../src/generated/function_docs/tanh.ts","../../../src/generated/function_docs/tau.ts","../../../src/generated/function_docs/tbucket.ts","../../../src/generated/function_docs/text_embedding.ts","../../../src/generated/function_docs/to_aggregate_metric_double.ts","../../../src/generated/function_docs/to_base64.ts","../../../src/generated/function_docs/to_boolean.ts","../../../src/generated/function_docs/to_cartesianpoint.ts","../../../src/generated/function_docs/to_cartesianshape.ts","../../../src/generated/function_docs/to_counter.ts","../../../src/generated/function_docs/to_date_nanos.ts","../../../src/generated/function_docs/to_date_range.ts","../../../src/generated/function_docs/to_dateperiod.ts","../../../src/generated/function_docs/to_datetime.ts","../../../src/generated/function_docs/to_degrees.ts","../../../src/generated/function_docs/to_dense_vector.ts","../../../src/generated/function_docs/to_double.ts","../../../src/generated/function_docs/to_double_range.ts","../../../src/generated/function_docs/to_exponential_histogram.ts","../../../src/generated/function_docs/to_gauge.ts","../../../src/generated/function_docs/to_geohash.ts","../../../src/generated/function_docs/to_geohex.ts","../../../src/generated/function_docs/to_geopoint.ts","../../../src/generated/function_docs/to_geoshape.ts","../../../src/generated/function_docs/to_geotile.ts","../../../src/generated/function_docs/to_integer.ts","../../../src/generated/function_docs/to_ip.ts","../../../src/generated/function_docs/to_long.ts","../../../src/generated/function_docs/to_lower.ts","../../../src/generated/function_docs/to_radians.ts","../../../src/generated/function_docs/to_range.ts","../../../src/generated/function_docs/to_string.ts","../../../src/generated/function_docs/to_tdigest.ts","../../../src/generated/function_docs/to_text.ts","../../../src/generated/function_docs/to_timeduration.ts","../../../src/generated/function_docs/to_unsigned_long.ts","../../../src/generated/function_docs/to_upper.ts","../../../src/generated/function_docs/to_version.ts","../../../src/generated/function_docs/top.ts","../../../src/generated/function_docs/top_snippets.ts","../../../src/generated/function_docs/trange.ts","../../../src/generated/function_docs/trim.ts","../../../src/generated/function_docs/tstep.ts","../../../src/generated/function_docs/url_decode.ts","../../../src/generated/function_docs/url_encode.ts","../../../src/generated/function_docs/url_encode_component.ts","../../../src/generated/function_docs/v_cosine.ts","../../../src/generated/function_docs/v_dot_product.ts","../../../src/generated/function_docs/v_hamming.ts","../../../src/generated/function_docs/v_l1_norm.ts","../../../src/generated/function_docs/v_l2_norm.ts","../../../src/generated/function_docs/v_magnitude.ts","../../../src/generated/function_docs/values.ts","../../../src/generated/function_docs/variance.ts","../../../src/generated/function_docs/variance_over_time.ts","../../../src/generated/function_docs/weighted_avg.ts","../../../src/generated/function_docs/without.ts","../../../src/generated/function_docs/index.ts"],"sourcesContent":["/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql-function-math/definition/functions/abs.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the absolute value.',\n  examples: [\n    'ROW number = -1.0\\n| EVAL abs_number = ABS(number)',\n    'FROM employees\\n| KEEP first_name, last_name, height\\n| EVAL abs_height = ABS(0.0 - height)',\n  ],\n  params: {\n    number: 'Numeric expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/absent.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns true if the input expression yields no non-null values within the current aggregation context. Otherwise it returns false.',\n  examples: [\n    'FROM employees\\n| WHERE emp_no == 10020\\n| STATS is_absent = ABSENT(languages)',\n    'FROM employees\\n| STATS is_absent = ABSENT(salary) BY languages',\n    'FROM employees\\n| WHERE emp_no == 10020\\n| STATS is_absent = TO_INTEGER(ABSENT(languages))',\n  ],\n  params: {\n    field: 'Expression that outputs values to be checked for absence.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/absent_over_time.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the absence of a field in the output result over time range.',\n  examples: [\n    'TS k8s\\n| WHERE cluster == \"prod\" AND pod == \"two\"\\n| STATS events_received = MAX(ABSENT_OVER_TIME(events_received)) BY pod, time_bucket = TBUCKET(2 minute)',\n  ],\n  params: {\n    field: 'the metric field to calculate the value for',\n    window: 'the time window over which to compute the absent over time',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/acos.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the arccosine of `n` as an angle, expressed in radians.',\n  examples: [\n    'ROW a=.9\\n| EVAL acos=ACOS(a)',\n  ],\n  params: {\n    number: 'Number between -1 and 1. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/acosh.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the inverse hyperbolic cosine of a number.',\n  examples: [\n    'ROW a=1.8\\n| EVAL acosh=ACOSH(a)',\n  ],\n  params: {\n    number: 'Number greater than or equal to 1. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/asin.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the arcsine of the input\\nnumeric expression as an angle, expressed in radians.',\n  examples: [\n    'ROW a=.9\\n| EVAL asin=ASIN(a)',\n  ],\n  params: {\n    number: 'Number between -1 and 1. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/asinh.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the inverse hyperbolic sine of a number.',\n  examples: [\n    'ROW a=1.8\\n| EVAL asinh=ASINH(a)',\n  ],\n  params: {\n    number: 'Numeric expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/atan.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the arctangent of the input\\nnumeric expression as an angle, expressed in radians.',\n  examples: [\n    'ROW a=12.9\\n| EVAL atan=ATAN(a)',\n  ],\n  params: {\n    number: 'Numeric expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/atan2.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'The angle between the positive x-axis and the ray from the\\norigin to the point (x , y) in the Cartesian plane, expressed in radians.',\n  examples: [\n    'ROW y=12.9, x=.6\\n| EVAL atan2=ATAN2(y, x)',\n  ],\n  params: {\n    y_coordinate: 'y coordinate. If `null`, the function returns `null`.',\n    x_coordinate: 'x coordinate. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/atanh.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the inverse hyperbolic tangent of a number.',\n  examples: [\n    'ROW a=0.5\\n| EVAL atanh=ATANH(a)',\n  ],\n  params: {\n    number: 'Number between -1 and 1. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/avg.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'The average of a numeric field.',\n  examples: [\n    'FROM employees\\n| STATS AVG(height)',\n    'FROM employees\\n| STATS avg_salary_change = ROUND(AVG(MV_AVG(salary_change)), 10)',\n    'TS exp_histo_sample\\n| WHERE instance == \"instance-0\"\\n| STATS average = ROUND(AVG(responseTime), 4)',\n    'TS histogram_timeseries_index\\n| WHERE instance == \"instance-0\"\\n| STATS average = ROUND(AVG(responseTime::tdigest), 4)',\n  ],\n  params: {\n    number: 'Expression that outputs values to average.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/avg_over_time.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the average over time of a numeric field.',\n  examples: [\n    'TS k8s\\n| STATS max_cost=MAX(AVG_OVER_TIME(network.cost)) BY cluster, time_bucket = TBUCKET(1minute)',\n  ],\n  params: {\n    field: 'the metric field to calculate the value for',\n    window: 'the time window over which to compute the average',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/bit_length.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the bit length of a string.',\n  examples: [\n    'FROM airports\\n| WHERE country == \"India\"\\n| KEEP city\\n| EVAL fn_length = LENGTH(city), fn_bit_length = BIT_LENGTH(city)',\n  ],\n  note: 'All strings are in UTF-8, so a single character can use multiple bytes.',\n  params: {\n    string: 'String expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/bucket.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Creates groups of values - buckets - out of a datetime or numeric input.\\nThe size of the buckets can either be provided directly, or chosen based on a recommended count and values range.',\n  examples: [\n    'FROM employees\\n| WHERE hire_date >= \"1985-01-01T00:00:00Z\" AND hire_date < \"1986-01-01T00:00:00Z\"\\n| STATS hire_date = MV_SORT(VALUES(hire_date)) BY month = BUCKET(hire_date, 20, \"1985-01-01T00:00:00Z\", \"1986-01-01T00:00:00Z\")',\n    'FROM employees\\n| WHERE hire_date >= \"1985-01-01T00:00:00Z\" AND hire_date < \"1986-01-01T00:00:00Z\"\\n| STATS hires_per_month = COUNT(*) BY month = BUCKET(hire_date, 20, \"1985-01-01T00:00:00Z\", \"1986-01-01T00:00:00Z\")\\n| SORT month',\n    'FROM employees\\n| WHERE hire_date >= \"1985-01-01T00:00:00Z\" AND hire_date < \"1986-01-01T00:00:00Z\"\\n| STATS hires_per_week = COUNT(*) BY week = BUCKET(hire_date, 100, \"1985-01-01T00:00:00Z\", \"1986-01-01T00:00:00Z\")',\n    'FROM employees\\n| WHERE hire_date >= \"1985-01-01T00:00:00Z\" AND hire_date < \"1986-01-01T00:00:00Z\"\\n| STATS hires_per_week = COUNT(*) BY week = BUCKET(hire_date, 1 week)\\n| SORT week',\n    'FROM employees\\n| STATS COUNT(*) by bs = BUCKET(salary, 20, 25324, 74999)\\n| SORT bs',\n    'FROM employees\\n| WHERE hire_date >= \"1985-01-01T00:00:00Z\" AND hire_date < \"1986-01-01T00:00:00Z\"\\n| STATS c = COUNT(1) BY b = BUCKET(salary, 5000.)\\n| SORT b',\n    'FROM sample_data\\n| WHERE @timestamp >= NOW() - 1 day and @timestamp < NOW()\\n| STATS COUNT(*) BY bucket = BUCKET(@timestamp, 25, NOW() - 1 day, NOW())',\n    'FROM employees\\n| WHERE hire_date >= \"1985-01-01T00:00:00Z\" AND hire_date < \"1986-01-01T00:00:00Z\"\\n| STATS AVG(salary) BY bucket = BUCKET(hire_date, 20, \"1985-01-01T00:00:00Z\", \"1986-01-01T00:00:00Z\")',\n    'FROM employees\\n| STATS s1 = b1 + 1, s2 = BUCKET(salary / 1000 + 999, 50.) + 2 BY b1 = BUCKET(salary / 100 + 99, 50.), b2 = BUCKET(salary / 1000 + 999, 50.)\\n| SORT b1, b2\\n| KEEP s1, b1, s2, b2',\n    'FROM employees\\n| STATS dates = MV_SORT(VALUES(birth_date)) BY b = BUCKET(birth_date + 1 HOUR, 1 YEAR) - 1 HOUR\\n| EVAL d_count = MV_COUNT(dates)',\n  ],\n  params: {\n    field: 'Numeric or date expression from which to derive buckets.',\n    buckets: 'Target number of buckets, or desired bucket size if `from` and `to` parameters are omitted.',\n    from: 'Start of the range. Can be a number, a date or a date expressed as a string.',\n    to: 'End of the range. Can be a number, a date or a date expressed as a string.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/byte_length.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the byte length of a string.',\n  examples: [\n    'FROM airports\\n| WHERE country == \"India\"\\n| KEEP city\\n| EVAL fn_length = LENGTH(city), fn_byte_length = BYTE_LENGTH(city)',\n  ],\n  note: 'All strings are in UTF-8, so a single character can use multiple bytes.',\n  params: {\n    string: 'String expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/case.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Accepts pairs of conditions and values. The function returns the value that\\nbelongs to the first condition that evaluates to `true`. Both the conditions\\nand the returned values can be any expression, including column references.\\n\\nIf the number of arguments is odd, the last argument is the default value which\\nis returned when no condition matches. If the number of arguments is even, and\\nno condition matches, the function returns `null`.',\n  examples: [\n    'FROM employees\\n| EVAL type = CASE(\\n    languages <= 1, \"monolingual\",\\n    languages <= 2, \"bilingual\",\\n     \"polyglot\")\\n| KEEP emp_no, languages, type',\n    'FROM sample_data\\n| EVAL successful = CASE(\\n    STARTS_WITH(message, \"Connected to\"), 1,\\n    message == \"Connection error\", 0\\n  )\\n| STATS success_rate = AVG(successful)',\n    'FROM sample_data\\n| EVAL error = CASE(message LIKE \"*error*\", 1, 0)\\n| EVAL hour = DATE_TRUNC(1 hour, @timestamp)\\n| STATS error_rate = AVG(error) by hour\\n| SORT hour',\n    'FROM sample_data\\n| EVAL error_message = CASE(message LIKE \"*error*\", message, null)\\n| STATS distinct_error_messages = COUNT_DISTINCT(error_message)',\n  ],\n  params: {\n    condition: 'A condition.',\n    trueValue: 'The expression or value that’s returned when the corresponding condition is the first to evaluate to `true`. Can be a column reference or any other expression. The default value is returned when no condition matches.',\n    elseValue: 'The value that’s returned when no condition evaluates to `true`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/categorize.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Groups text messages into categories of similarly formatted text values.',\n  examples: [\n    'FROM sample_data\\n| STATS count=COUNT() BY category=CATEGORIZE(message)',\n    'FROM sample_data\\n| STATS count = COUNT(*) BY category = CATEGORIZE(message), time_bucket = BUCKET(@timestamp, 1 HOUR)\\n| SORT time_bucket DESC, count DESC, category',\n    'FROM sample_data\\n| STATS sample_message = SAMPLE(message, 1) BY category = CATEGORIZE(message)\\n| SORT category',\n  ],\n  params: {\n    field: 'Expression to categorize',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/cbrt.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the cube root of a number. The input can be any numeric value, the return value is always a double.\\nCube roots of infinities are null.',\n  examples: [\n    'ROW d = 1000.0\\n| EVAL c = CBRT(d)',\n  ],\n  params: {\n    number: 'Numeric expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/ceil.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Round a number up to the nearest integer.',\n  examples: [\n    'ROW a=1.8\\n| EVAL a=CEIL(a)',\n  ],\n  note: 'This is a noop for `long` (including unsigned) and `integer`. For `double` this picks the closest `double` value to the integer similar to Math.ceil.',\n  params: {\n    number: 'Numeric expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/chunk.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Use `CHUNK` to split a text field into smaller chunks.',\n  examples: [\n    'ROW result = CHUNK(\"It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief.\", {\"strategy\": \"word\", \"max_chunk_size\": 10, \"overlap\": 1})\\n| MV_EXPAND result',\n  ],\n  params: {\n    field: 'The input to chunk. The input can be a single-valued or multi-valued field. In the case of a multi-valued argument, each value is chunked separately.',\n    chunking_settings: 'Options to customize chunking behavior. Defaults to {\"strategy\":\"sentence\",\"max_chunk_size\":300,\"sentence_overlap\":0}.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/cidr_match.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns true if the provided IP is contained in one of the provided CIDR blocks.',\n  examples: [\n    'FROM hosts\\n| WHERE CIDR_MATCH(ip1, \"127.0.0.2/32\", \"127.0.0.3/32\")\\n| KEEP card, host, ip0, ip1',\n  ],\n  params: {\n    ip: 'IP address of type `ip` (both IPv4 and IPv6 are supported).',\n    blockX: 'CIDR block to test the IP against.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/clamp.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Limits (or clamps) the values of all samples to have a lower limit of min and an upper limit of max.',\n  examples: [\n    'TS k8s\\n| EVAL full_clamped_cost = clamp(network.cost, clamp_max(network.bytes_in, 5), network.bytes_in / 100)\\n| KEEP full_clamped_cost, @timestamp',\n  ],\n  params: {\n    field: 'Numeric expression. If `null`, the function returns `null`.',\n    min: 'The min value to clamp data into.',\n    max: 'The max value to clamp data into.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/clamp_max.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Limits (or clamps) all input sample values to an upper bound of max. Any value above max is reduced to max.',\n  examples: [\n    'TS k8s\\n| STATS full_clamped_cost=sum(clamp(network.cost, 1, 2)), clamped_cost=sum(clamp_max(network.cost, 1)), clamped_min_cost=sum(clamp_min(network.cost, 10)) BY time_bucket = bucket(@timestamp,1minute)',\n  ],\n  params: {\n    field: 'field to clamp.',\n    max: 'The max value to clamp data into.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/clamp_min.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Limits (or clamps) all input sample values to a lower bound of min. Any value below min is set to min.',\n  examples: [\n    'FROM k8s\\n| STATS full_clamped_cost=sum(clamp(network.cost, 1, 2)), clamped_cost=sum(clamp_max(network.cost, 1)), clamped_min_cost=sum(clamp_min(network.cost, 10)) BY time_bucket = bucket(@timestamp,1minute)',\n  ],\n  params: {\n    field: 'field to clamp.',\n    min: 'The min value to clamp data into.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/coalesce.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the first of its arguments that is not null. If all arguments are null, it returns `null`.',\n  examples: [\n    'ROW a=null, b=\"b\"\\n| EVAL COALESCE(a, b)',\n  ],\n  params: {\n    first: 'Expression to evaluate.',\n    rest: 'Other expression to evaluate.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/concat.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Concatenates two or more strings.',\n  examples: [\n    'FROM employees\\n| KEEP first_name, last_name\\n| EVAL fullname = CONCAT(first_name, \" \", last_name)',\n  ],\n  params: {\n    string1: 'Strings to concatenate.',\n    string2: 'Strings to concatenate.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/contains.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns a boolean that indicates whether a keyword substring is within another string.\\nReturns `null` if either parameter is null.',\n  examples: [\n    'ROW a = \"hello\"\\n| EVAL has_ll = CONTAINS(a, \"ll\")',\n  ],\n  params: {\n    string: 'String expression: input string to check against. If `null`, the function returns `null`.',\n    substring: 'String expression: A substring to find in the input string. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/copy_sign.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns a value with the magnitude of the first argument and the sign of the second argument.\\nThis function is similar to Java\\'s Math.copySign(double magnitude, double sign) which is\\nsimilar to `copysign` from IEEE 754.',\n  examples: [\n    'FROM employees\\n| EVAL cs1 = COPY_SIGN(salary, LEAST(salary_change))',\n  ],\n  params: {\n    magnitude: 'The expression providing the magnitude of the result. Must be a numeric type.',\n    sign: 'The expression providing the sign of the result. Must be a numeric type.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/cos.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the cosine of an angle.',\n  examples: [\n    'ROW a=1.8\\n| EVAL cos=COS(a)',\n  ],\n  params: {\n    angle: 'An angle, in radians. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/cosh.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the hyperbolic cosine of a number.',\n  examples: [\n    'ROW a=1.8\\n| EVAL cosh=COSH(a)',\n  ],\n  params: {\n    number: 'Numeric expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/count.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the total number (count) of input values.',\n  examples: [\n    'FROM employees\\n| STATS COUNT(height)',\n    'FROM employees\\n| STATS count = COUNT(*) BY languages\\n| SORT languages DESC',\n    'ROW words=\"foo;bar;baz;qux;quux;foo\"\\n| STATS word_count = COUNT(SPLIT(words, \";\"))',\n    'ROW n=1\\n| WHERE n < 0\\n| STATS COUNT(n)',\n    'FROM employees\\n| STATS\\n    gte20 = COUNT(*) WHERE height >= 2,\\n    lte18 = COUNT(*) WHERE height <= 1.8',\n    'ROW mv = [1, 2], n = NULL, t = TRUE, f = FALSE\\n| STATS COUNT(mv), COUNT(n), COUNT(t), COUNT(f)',\n    'ROW n=1\\n| STATS COUNT(n > 0 OR NULL), COUNT(n < 0 OR NULL)',\n    'TS exp_histo_sample\\n| WHERE instance == \"instance-0\"\\n| STATS cnt = COUNT(responseTime)',\n    'TS histogram_timeseries_index\\n| WHERE instance == \"instance-0\"\\n| STATS cnt = COUNT(responseTime::tdigest)',\n  ],\n  params: {\n    field: 'Expression that outputs values to be counted. If omitted, equivalent to `COUNT(*)` (the number of rows).',\n    bucket: 'Range of histogram values to count.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/count_distinct.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the approximate number of distinct values.',\n  examples: [\n    'FROM hosts\\n| STATS COUNT_DISTINCT(ip0), COUNT_DISTINCT(ip1)',\n    'FROM hosts\\n| STATS COUNT_DISTINCT(ip0, 80000), COUNT_DISTINCT(ip1, 5)',\n    'ROW words=\"foo;bar;baz;qux;quux;foo\"\\n| STATS distinct_word_count = COUNT_DISTINCT(SPLIT(words, \";\"))',\n  ],\n  note: 'Counts are approximate.',\n  params: {\n    field: 'Column or literal for which to count the number of distinct values.',\n    precision: 'Precision threshold. Refer to <<esql-agg-count-distinct-approximate>>. The maximum supported value is 40000. Thresholds above this number will have the same effect as a threshold of 40000. The default value is 3000.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/count_distinct_over_time.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the count of distinct values over time for a field.',\n  examples: [\n    'TS k8s\\n| STATS distincts=COUNT_DISTINCT(COUNT_DISTINCT_OVER_TIME(network.cost)),\\n        distincts_imprecise=COUNT_DISTINCT(COUNT_DISTINCT_OVER_TIME(network.cost, 100))\\n  BY cluster, time_bucket = TBUCKET(1minute)',\n  ],\n  params: {\n    field: 'the metric field to calculate the value for',\n    precision: 'Precision threshold. Refer to <<esql-agg-count-distinct-approximate>>. The maximum supported value is 40000. Thresholds above this number will have the same effect as a threshold of 40000. The default value is 3000.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/count_over_time.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the count over time value of a field.',\n  examples: [\n    'TS k8s\\n| STATS count=COUNT(COUNT_OVER_TIME(network.cost))\\n  BY cluster, time_bucket = BUCKET(@timestamp,1minute)',\n  ],\n  params: {\n    field: 'the metric field to calculate the value for',\n    window: 'the time window over which to compute the count over time',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/date_diff.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Subtracts the `startTimestamp` from the `endTimestamp` and returns the difference in multiples of `unit`.\\nIf `startTimestamp` is later than the `endTimestamp`, negative values are returned.',\n  examples: [\n    'ROW date1 = TO_DATETIME(\"2023-12-02T11:00:00.000Z\"),\\n    date2 = TO_DATETIME(\"2023-12-02T11:00:00.001Z\")\\n| EVAL dd_ms = DATE_DIFF(\"microseconds\", date1, date2)',\n    'ROW end_23 = TO_DATETIME(\"2023-12-31T23:59:59.999Z\"),\\n  start_24 = TO_DATETIME(\"2024-01-01T00:00:00.000Z\"),\\n    end_24 = TO_DATETIME(\"2024-12-31T23:59:59.999\")\\n| EVAL end23_to_start24 = DATE_DIFF(\"year\", end_23, start_24)\\n| EVAL end23_to_end24   = DATE_DIFF(\"year\", end_23, end_24)\\n| EVAL start_to_end_24  = DATE_DIFF(\"year\", start_24, end_24)',\n  ],\n  params: {\n    unit: 'Time difference unit',\n    startTimestamp: 'A string representing a start timestamp',\n    endTimestamp: 'A string representing an end timestamp',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/date_extract.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Extracts parts of a date, like year, month, day, hour.',\n  examples: [\n    'ROW date = DATE_PARSE(\"yyyy-MM-dd\", \"2022-05-06\")\\n| EVAL year = DATE_EXTRACT(\"year\", date)',\n    'FROM sample_data\\n| WHERE DATE_EXTRACT(\"hour_of_day\", @timestamp) < 9\\n    AND DATE_EXTRACT(\"hour_of_day\", @timestamp) >= 17',\n  ],\n  params: {\n    datePart: 'Part of the date to extract.  Can be: `aligned_day_of_week_in_month`, `aligned_day_of_week_in_year`, `aligned_week_of_month`, `aligned_week_of_year`, `ampm_of_day`, `clock_hour_of_ampm`, `clock_hour_of_day`, `day_of_month`, `day_of_week`, `day_of_year`, `epoch_day`, `era`, `hour_of_ampm`, `hour_of_day`, `instant_seconds`, `micro_of_day`, `micro_of_second`, `milli_of_day`, `milli_of_second`, `minute_of_day`, `minute_of_hour`, `month_of_year`, `nano_of_day`, `nano_of_second`, `offset_seconds`, `proleptic_month`, `second_of_day`, `second_of_minute`, `year`, or `year_of_era`. Refer to {javadoc8}/java/time/temporal/ChronoField.html[java.time.temporal.ChronoField] for a description of these values.  If `null`, the function returns `null`.',\n    date: 'Date expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/date_format.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns a string representation of a date, in the provided format.',\n  examples: [\n    'FROM employees\\n| KEEP first_name, last_name, hire_date\\n| EVAL hired = DATE_FORMAT(\"yyyy-MM-dd\", hire_date)',\n  ],\n  params: {\n    date: 'Date expression. If `null`, the function returns `null`.',\n    dateFormat: 'Date format (optional).  If no format is specified, the `yyyy-MM-dd\\'T\\'HH:mm:ss.SSSZ` format is used. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/date_parse.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns a date by parsing the second argument using the format specified in the first argument.',\n  examples: [\n    'ROW date_string = \"2022-05-06\"\\n| EVAL date = DATE_PARSE(\"yyyy-MM-dd\", date_string)',\n  ],\n  params: {\n    dateString: 'Date expression as a string. If `null` or an empty string, the function returns `null`.',\n    datePattern: 'The date format. Refer to the {javadoc14}/java.base/java/time/format/DateTimeFormatter.html[`DateTimeFormatter` documentation] for the syntax. If `null`, the function returns `null`.',\n    options: '(Optional) Additional options for date parsing, specifying time zone and locale as <<esql-function-named-params,function named parameters>>.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/date_trunc.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Rounds down a date to the closest interval since epoch, which starts at `0001-01-01T00:00:00Z`.',\n  examples: [\n    'FROM employees\\n| KEEP first_name, last_name, hire_date\\n| EVAL year_hired = DATE_TRUNC(1 year, hire_date)',\n    'FROM employees\\n| EVAL year = DATE_TRUNC(1 year, hire_date)\\n| STATS hires = COUNT(emp_no) BY year\\n| SORT year',\n    'FROM sample_data\\n| EVAL error = CASE(message LIKE \"*error*\", 1, 0)\\n| EVAL hour = DATE_TRUNC(1 hour, @timestamp)\\n| STATS error_rate = AVG(error) by hour\\n| SORT hour',\n  ],\n  params: {\n    interval: 'Interval; [time span](https://www.elastic.co/docs/reference/query-languages/esql/esql-time-spans) (DATE_PERIOD or TIME_DURATION).',\n    date: 'Date expression',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/date_unit_count.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Counts how many `to_unit` values are contained in a single `from_unit` period for `date`.',\n  examples: [\n    'ROW dt = to_datetime(\"2024-02-15T00:00:00.000Z\")\\n| EVAL days = DATE_UNIT_COUNT(\"day\", \"month\", dt)',\n  ],\n  params: {\n    to_unit: 'The unit to count.',\n    from_unit: 'The enclosing container unit.',\n    date: 'Date expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/day_name.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the name of the weekday for date based on the configured Locale.',\n  examples: [\n    'ROW dt = to_datetime(\"1953-09-02T00:00:00.000Z\")\\n| EVAL weekday = DAY_NAME(dt);',\n  ],\n  params: {\n    date: 'Date expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/decay.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates a relevance score that decays based on the distance of a numeric, spatial or date type value from a target origin, using configurable decay functions.',\n  examples: [\n    'FROM employees\\n| EVAL decay_result = decay(salary, 0, 100000, {\"offset\": 5, \"decay\": 0.5, \"type\": \"linear\"})\\n| SORT decay_result DESC',\n  ],\n  params: {\n    value: 'The input value to apply decay scoring to.',\n    origin: 'Central point from which the distances are calculated.',\n    scale: 'Distance from the origin where the function returns the decay value.',\n    options: '(Optional) Additional options such as `decay`, `offset` and `type`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/delta.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the absolute change of a gauge field in a time window.',\n  examples: [\n    'TS k8s\\n| WHERE pod == \"one\"\\n| STATS tx = SUM(DELTA(network.bytes_in)) BY cluster, time_bucket = TBUCKET(10minute)',\n  ],\n  params: {\n    field: 'the metric field to calculate the value for',\n    window: 'the time window over which to compute the delta over time',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/deriv.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the derivative over time of a numeric field using linear regression.',\n  examples: [\n    'TS datenanos-k8s\\n| WHERE pod == \"three\"\\n| STATS max_deriv = MAX(DERIV(network.cost)) BY time_bucket = BUCKET(@timestamp,5minute), pod',\n  ],\n  params: {\n    field: 'the metric field to calculate the value for',\n    window: 'the time window over which to compute the derivative over time',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/e.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns Euler’s number.',\n  examples: [\n    'ROW E()',\n  ],\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/earliest.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'An alias for `FIRST` where\\nthe sort field (the second parameter) is implicit and is set to `@timestamp`.',\n  examples: [\n    '        @timestamp        |  name   | number\\n\"2025-11-25T00:00:00.000Z | alpha   | 1\"\\n\"2025-11-25T00:00:01.000Z | alpha   | 2\"\\n\"2025-11-25T00:00:02.000Z | bravo   | null\"\\n\"2025-11-25T00:00:03.000Z | alpha   | 4\"\\n\"2025-11-25T00:00:04.000Z | bravo   | 5\"\\n\"2025-11-25T00:00:05.000Z | charlie | [6, 7, 8]\"\\n\"2025-11-25T00:00:06.000Z | delta   | null\"\\n\\nFrom dataset\\n| STATS value = EARLIEST(number)',\n  ],\n  params: {\n    field: 'The search field',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/embedding.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Generates dense vector embeddings from multimodal input using a specified inference endpoint with the `embedding` task type. Use this function to generate query vectors for KNN searches from multimodal inputs against your vectorized data or other dense vector based operations.',\n  examples: [\n    'FROM dense_vector_text METADATA _score\\n| EVAL query_embedding = EMBEDDING(\"be excellent to each other\", \"test_embedding_inference\")\\n| WHERE KNN(text_embedding_field, query_embedding)\\n| SORT _score DESC\\n| LIMIT 10',\n    'ROW b64_input=\"This is an image\"\\n| EVAL embedding = EMBEDDING(\"data:image/jpeg;base64,VGhpcyBpcyBhbiBpbWFnZQ==\", \"test_embedding_inference\", {\"type\": \"image\"})',\n  ],\n  params: {\n    value: 'Value to generate embeddings from. Must be a non-null literal string value. Use data type and format options to specify the content type and format (e.g. plain text, base64-encoded images) of the input.',\n    inference_id: 'Identifier of an existing inference endpoint that will generate the embeddings. The inference endpoint must have the `embedding` task type and should use the same model that was used to embed your indexed data.',\n    options: '(Optional) Options for the input value.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/ends_with.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns a boolean that indicates whether a keyword string ends with another string.',\n  examples: [\n    'FROM employees\\n| KEEP last_name\\n| EVAL ln_E = ENDS_WITH(last_name, \"d\")',\n  ],\n  params: {\n    str: 'String expression. If `null`, the function returns `null`.',\n    suffix: 'String expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/exp.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the value of e raised to the power of the given number.',\n  examples: [\n    'ROW d = 5.0\\n| EVAL s = EXP(d)',\n  ],\n  params: {\n    number: 'Numeric expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/field_extract.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Extracts the value of a single sub-field from a `flattened` field root as `keyword`.',\n  examples: [\n    'FROM flattened_otel_logs\\n| WHERE @timestamp == \"2020-01-01T00:02:48.461Z\"\\n| EVAL hn = field_extract(resource.attributes, \"host.name\")\\n| KEEP hn',\n  ],\n  params: {\n    field: 'The root of a `flattened` mapping field. If `null`, the function returns `null`.',\n    path: 'Literal name of the flattened sub-field to extract (e.g. `\"host.name\"`). Brackets and array indices are not supported. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/first.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'This function calculates the earliest occurrence of the search field\\n(the first parameter), where sorting order is determined by the sort\\nfield (the second parameter). This sorting order is always ascending\\nand null values always sort last. Both fields support null,\\nsingle-valued, and multi-valued input. If the earliest sort field\\nvalue appears in multiple documents, this function is allowed to\\nreturn any corresponding search field value.',\n  examples: [\n    '        @timestamp        |  name   | number\\n\"2025-11-25T00:00:00.000Z | alpha   | 1\"\\n\"2025-11-25T00:00:01.000Z | alpha   | 2\"\\n\"2025-11-25T00:00:02.000Z | bravo   | null\"\\n\"2025-11-25T00:00:03.000Z | alpha   | 4\"\\n\"2025-11-25T00:00:04.000Z | bravo   | 5\"\\n\"2025-11-25T00:00:05.000Z | charlie | [6, 7, 8]\"\\n\"2025-11-25T00:00:06.000Z | delta   | null\"\\n\\nFrom dataset\\n| STATS first_val = FIRST(number, @timestamp)',\n  ],\n  params: {\n    field: 'The search field',\n    sortField: 'The sort field',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/first_over_time.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the earliest value of a field, where recency determined by the `@timestamp` field.',\n  examples: [\n    'TS k8s\\n| STATS max_cost=MAX(FIRST_OVER_TIME(network.cost)) BY cluster, time_bucket = TBUCKET(1minute)',\n  ],\n  params: {\n    field: 'the metric field to calculate the value for',\n    window: 'the time window over which to compute the first over time value',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/floor.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Round a number down to the nearest integer.',\n  examples: [\n    'ROW a=1.8\\n| EVAL a=FLOOR(a)',\n  ],\n  note: 'This is a noop for `long` (including unsigned) and `integer`.\\nFor `double` this picks the closest `double` value to the integer\\nsimilar to Math.floor.',\n  params: {\n    number: 'Numeric expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/from_base64.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Decode a base64 string.',\n  examples: [\n    'ROW a = \"ZWxhc3RpYw==\"\\n| EVAL d = FROM_BASE64(a)',\n  ],\n  params: {\n    string: 'A base64 string.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/greatest.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the maximum value from multiple columns. This is similar to `MV_MAX`\\nexcept it is intended to run on multiple columns at once.',\n  examples: [\n    'ROW a = 10, b = 20\\n| EVAL g = GREATEST(a, b)',\n  ],\n  note: 'When run on `keyword` or `text` fields, this returns the last string in alphabetical order. When run on `boolean` columns this will return `true` if any values are `true`.',\n  params: {\n    first: 'First of the columns to evaluate.',\n    rest: 'The rest of the columns to evaluate.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/hash.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Computes the hash of the input using various algorithms such as MD5, SHA, SHA-224, SHA-256, SHA-384, SHA-512.',\n  examples: [\n    'FROM sample_data\\n| WHERE message != \"Connection error\"\\n| EVAL md5 = hash(\"md5\", message), sha256 = hash(\"sha256\", message)\\n| KEEP message, md5, sha256',\n  ],\n  params: {\n    algorithm: 'Hash algorithm to use.',\n    input: 'Input to hash.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/hypot.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the hypotenuse of two numbers. The input can be any numeric values, the return value is always a double.\\nHypotenuses of infinities are null.',\n  examples: [\n    'ROW a = 3.0, b = 4.0\\n| EVAL c = HYPOT(a, b)',\n  ],\n  params: {\n    number1: 'Numeric expression. If `null`, the function returns `null`.',\n    number2: 'Numeric expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/idelta.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the idelta of a gauge. idelta is the absolute change between the last two data points (it ignores all but the last two data points in each time period). This function is very similar to delta, but is more responsive to recent changes.',\n  examples: [\n    'TS k8s\\n| STATS events = SUM(IDELTA(events_received)) by pod, time_bucket = TBUCKET(10minute)',\n  ],\n  params: {\n    field: 'the metric field to calculate the value for',\n    window: 'the time window over which to compute the idelta over time',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/increase.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the absolute increase of a counter field in a time window.',\n  examples: [\n    'TS k8s\\n| WHERE pod == \"one\"\\n| STATS increase_bytes_in = SUM(INCREASE(network.total_bytes_in)) BY cluster, time_bucket = TBUCKET(10minute)',\n  ],\n  params: {\n    field: 'the metric field to calculate the value for',\n    window: 'the time window over which to compute the increase over time',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/ip_prefix.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Truncates an IP to a given prefix length.',\n  examples: [\n    'ROW ip4 = to_ip(\"1.2.3.4\"), ip6 = TO_IP(\"fe80::cae2:65ff:fece:feb9\")\\n| EVAL ip4_prefix = IP_PREFIX(ip4, 24, 0), ip6_prefix = IP_PREFIX(ip6, 0, 112);',\n  ],\n  params: {\n    ip: 'IP address of type `ip` (both IPv4 and IPv6 are supported).',\n    prefixLengthV4: 'Prefix length for IPv4 addresses.',\n    prefixLengthV6: 'Prefix length for IPv6 addresses.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/irate.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the irate of a counter field. irate is the per-second rate of increase between the last two data points (it ignores all but the last two data points in each time period). This function is very similar to rate, but is more responsive to recent changes in the rate of increase.',\n  examples: [\n    'TS k8s | WHERE pod == \"one\"\\n| STATS irate_bytes_in = SUM(IRATE(network.total_bytes_in)) BY cluster, time_bucket = TBUCKET(10minute)',\n  ],\n  params: {\n    field: 'the metric field to calculate the value for',\n    window: 'the time window over which to compute the irate',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/json_extract.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Extracts a value from a JSON string using a subset of\\nJSONPath syntax.',\n  examples: [\n    'ROW log = \"\"\"{\"severity\":\"ERROR\",\"body\":\"Payment processing failed\"}\"\"\"\\n| EVAL severity = JSON_EXTRACT(log, \"severity\")',\n    'ROW log = \"\"\"{\"severity\":\"ERROR\",\"body\":\"Payment processing failed\"}\"\"\"\\n| EVAL severity = JSON_EXTRACT(log, \"$.severity\")',\n    'ROW log = \"\"\"{\"resource\":{\"service\":{\"name\":\"order-service\"}}}\"\"\"\\n| EVAL svc = JSON_EXTRACT(log, \"resource.service.name\")',\n    'FROM json_logs\\n| EVAL svc = JSON_EXTRACT(payload, \"resource[\\'service.name\\']\")\\n| KEEP @timestamp, source, svc\\n| SORT @timestamp\\n| LIMIT 3',\n    'ROW log = \"\"\"{\"spans\":[{\"name\":\"auth\",\"duration\":12},{\"name\":\"db-query\",\"duration\":45}]}\"\"\"\\n| EVAL span = JSON_EXTRACT(log, \"spans[1].name\")',\n    'ROW log = \"\"\"{\"resource\":{\"service.name\":\"api-gateway\",\"host.name\":\"api-server-03\"},\"severity\":\"INFO\"}\"\"\"\\n| EVAL resource = JSON_EXTRACT(log, \"resource\")',\n    'ROW json = \"\"\"[\"a\",\"b\",\"c\"]\"\"\"\\n| EVAL val = JSON_EXTRACT(json, \"$[1]\")\\n| KEEP val',\n    'ROW log = \"\"\"{\"trace\":{\"spans\":[{\"name\":\"auth\",\"events\":[{\"type\":\"start\"},{\"type\":\"end\"}]},{\"name\":\"db\",\"events\":[{\"type\":\"query\"}]}]}}\"\"\"\\n| EVAL event = JSON_EXTRACT(log, \"trace.spans[0].events[1].type\")\\n| KEEP event',\n  ],\n  params: {\n    string: 'A string containing valid JSON, or the `_source` field. If `null`, the function returns `null`.',\n    path: 'A path expression identifying the value to extract, using a subset of JSONPath syntax. Supports dot notation (`user.name`), bracket notation for array indices (`items[0]`), and quoted brackets for keys with special characters (`[\\'user.name\\']`). The `$` prefix is optional. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/knn.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Finds the k nearest vectors to a query vector, as measured by a similarity metric. knn function finds nearest vectors through approximate search on indexed dense_vectors or semantic_text fields.',\n  examples: [\n    'from colors metadata _score\\n| where knn(rgb_vector, [0, 120, 0])\\n| sort _score desc, color asc',\n  ],\n  params: {\n    field: 'Field that the query will target. knn function can be used with dense_vector or semantic_text fields. Other text fields are not allowed',\n    query: 'Vector value to find top nearest neighbours for.',\n    options: '(Optional) kNN additional options as <<esql-function-named-params,function named parameters>>. See [knn query](https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-knn-query) for more information.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/kql.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Performs a KQL query. Returns true if the provided KQL query string matches the row.',\n  examples: [\n    'FROM books\\n| WHERE KQL(\"author: Faulkner\")',\n    'FROM employees\\n| WHERE KQL(\"mary\", {\"case_insensitive\": true, \"default_field\": \"first_name\", \"boost\": 1.5})',\n  ],\n  params: {\n    query: 'Query string in KQL query string format.',\n    options: '(Optional) KQL additional options as <<esql-function-named-params,function named parameters>>. Available in stack version 9.3.0 and later.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/last.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'This function calculates the latest occurrence of the search field\\n(the first parameter), where sorting order is determined by the sort\\nfield (the second parameter). This sorting order is always ascending\\nand null values always sort last. Both fields support null,\\nsingle-valued, and multi-valued input. If the latest sort field\\nvalue appears in multiple documents, this function is allowed to\\nreturn any corresponding search field value.',\n  examples: [\n    '        @timestamp        |  name   | number\\n\"2025-11-25T00:00:00.000Z | alpha   | 1\"\\n\"2025-11-25T00:00:01.000Z | alpha   | 2\"\\n\"2025-11-25T00:00:02.000Z | bravo   | null\"\\n\"2025-11-25T00:00:03.000Z | alpha   | 4\"\\n\"2025-11-25T00:00:04.000Z | bravo   | 5\"\\n\"2025-11-25T00:00:05.000Z | charlie | [6, 7, 8]\"\\n\"2025-11-25T00:00:06.000Z | delta   | null\"\\n\\nFrom dataset\\n| STATS last_val = LAST(number, @timestamp) BY name',\n  ],\n  params: {\n    field: 'The search field',\n    sortField: 'The sort field',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/last_over_time.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the latest value of a field, where recency determined by the `@timestamp` field.',\n  examples: [\n    'TS k8s\\n| STATS max_cost=MAX(LAST_OVER_TIME(network.cost)) BY cluster, time_bucket = TBUCKET(1minute)',\n  ],\n  params: {\n    field: 'the metric field to calculate the latest value for',\n    window: 'the time window over which to find the latest value',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/latest.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'An alias for `LAST` where\\nthe sort field (the second parameter) is implicit and is set to `@timestamp`.',\n  examples: [\n    '        @timestamp        |  name   | number\\n\"2025-11-25T00:00:00.000Z | alpha   | 1\"\\n\"2025-11-25T00:00:01.000Z | alpha   | 2\"\\n\"2025-11-25T00:00:02.000Z | bravo   | null\"\\n\"2025-11-25T00:00:03.000Z | alpha   | 4\"\\n\"2025-11-25T00:00:04.000Z | bravo   | 5\"\\n\"2025-11-25T00:00:05.000Z | charlie | [6, 7, 8]\"\\n\"2025-11-25T00:00:06.000Z | delta   | null\"\\n\\nFrom dataset\\n| STATS last_val = LATEST(number) BY name',\n  ],\n  params: {\n    field: 'The search field',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/least.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the minimum value from multiple columns. This is similar to `MV_MIN` except it is intended to run on multiple columns at once.',\n  examples: [\n    'ROW a = 10, b = 20\\n| EVAL l = LEAST(a, b)',\n  ],\n  params: {\n    first: 'First of the columns to evaluate.',\n    rest: 'The rest of the columns to evaluate.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/left.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the substring that extracts *length* chars from *string* starting from the left.',\n  examples: [\n    'FROM employees\\n| KEEP last_name\\n| EVAL left = LEFT(last_name, 3)',\n  ],\n  params: {\n    string: 'The string from which to return a substring.',\n    length: 'The number of characters to return.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/length.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the character length of a string.',\n  examples: [\n    'FROM airports\\n| WHERE country == \"India\"\\n| KEEP city\\n| EVAL fn_length = LENGTH(city)',\n  ],\n  note: 'All strings are in UTF-8, so a single character can use multiple bytes.',\n  params: {\n    string: 'String expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/locate.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns an integer that indicates the position of a keyword substring within another string.\\nReturns `0` if the substring cannot be found.\\nNote that string positions start from `1`.',\n  examples: [\n    'ROW a = \"hello\"\\n| EVAL a_ll = LOCATE(a, \"ll\")',\n  ],\n  params: {\n    string: 'An input string',\n    substring: 'A substring to locate in the input string',\n    start: 'The start index',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/log.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the logarithm of a value to a base. The input can be any numeric value, the return value is always a double.\\n\\nLogs of zero, negative numbers, and base of one return `null` as well as a warning.',\n  examples: [\n    'ROW base = 2.0, value = 8.0\\n| EVAL s = LOG(base, value)',\n    'ROW value = 100\\n| EVAL s = LOG(value);',\n  ],\n  params: {\n    number: 'Numeric expression. If `null`, the function returns `null`.',\n    base: 'Base of logarithm. If `null`, the function returns `null`. If not provided, this function returns the natural logarithm (base e) of a value.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/log10.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the logarithm of a value to base 10. The input can be any numeric value, the return value is always a double.\\n\\nLogs of 0 and negative numbers return `null` as well as a warning.',\n  examples: [\n    'ROW d = 1000.0\\n| EVAL s = LOG10(d)',\n  ],\n  params: {\n    number: 'Numeric expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/ltrim.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Removes leading whitespaces from a string.',\n  examples: [\n    'ROW message = \"   some text  \",  color = \" red \"\\n| EVAL message = LTRIM(message)\\n| EVAL color = LTRIM(color)\\n| EVAL message = CONCAT(\"\\'\", message, \"\\'\")\\n| EVAL color = CONCAT(\"\\'\", color, \"\\'\")',\n  ],\n  params: {\n    string: 'String expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/match.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Use `MATCH` to perform a match query on the specified field or expression.\\nUsing `MATCH` is equivalent to using the `match` query in the Elasticsearch Query DSL.',\n  examples: [\n    'FROM books\\n| WHERE MATCH(author, \"Faulkner\")',\n    'FROM books\\n| WHERE MATCH(title, \"Hobbit Back Again\", {\"operator\": \"AND\"})\\n| KEEP title;',\n  ],\n  params: {\n    field: 'Field or expression that the query will target.',\n    query: 'Value to find in the provided field or expression.',\n    options: '(Optional) Match additional options as <<esql-function-named-params,function named parameters>>.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/match_phrase.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Use `MATCH_PHRASE` to perform a `match_phrase` on the\\nspecified field or expression.\\nUsing `MATCH_PHRASE` is equivalent to using the `match_phrase` query in the Elasticsearch Query DSL.',\n  examples: [\n    'FROM books\\n| WHERE MATCH_PHRASE(author, \"William Faulkner\")',\n  ],\n  params: {\n    field: 'Field or expression that the query will target.',\n    query: 'Value to find in the provided field or expression.',\n    options: '(Optional) MatchPhrase additional options as <<esql-function-named-params,function named parameters>>. See [`match_phrase`](https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-match-query-phrase) for more information.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/max.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'The maximum value of a field.',\n  examples: [\n    'FROM employees\\n| STATS MAX(languages)',\n    'FROM employees\\n| STATS max_avg_salary_change = MAX(MV_AVG(salary_change))',\n    'TS exp_histo_sample\\n| WHERE instance == \"instance-0\"\\n| STATS maximum = ROUND(MAX(responseTime), 4)',\n    'TS histogram_timeseries_index\\n| WHERE instance == \"instance-0\"\\n| STATS maximum = ROUND(MAX(responseTime::tdigest), 4)',\n  ],\n  params: {\n    field: '',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/max_over_time.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the maximum over time value of a field.',\n  examples: [\n    'TS k8s\\n| STATS cost=SUM(MAX_OVER_TIME(network.cost)) BY cluster, time_bucket = TBUCKET(1minute)',\n  ],\n  params: {\n    field: 'the metric field to calculate the value for',\n    window: 'the time window over which to compute the maximum',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/md5.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Computes the MD5 hash of the input (if the MD5 hash is available on the JVM).',\n  examples: [\n    'FROM sample_data\\n| WHERE message != \"Connection error\"\\n| EVAL md5 = md5(message)\\n| KEEP message, md5',\n  ],\n  params: {\n    input: 'Input to hash.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/median.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'The value that is greater than half of all values and less than half of all values, also known as the 50% `PERCENTILE`.',\n  examples: [\n    'FROM employees\\n| STATS MEDIAN(salary), PERCENTILE(salary, 50)',\n    'FROM employees\\n| STATS median_max_salary_change = MEDIAN(MV_MAX(salary_change))',\n    'TS exp_histo_sample\\n| WHERE instance == \"instance-0\"\\n| STATS p50 = ROUND(MEDIAN(responseTime), 4)',\n    'TS histogram_timeseries_index\\n| WHERE instance == \"instance-0\"\\n| STATS p50 = ROUND(MEDIAN(responseTime::tdigest), 2)',\n  ],\n  note: 'Like `PERCENTILE`, `MEDIAN` is usually approximate.',\n  params: {\n    number: 'Expression that outputs values to calculate the median of.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/median_absolute_deviation.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the median absolute deviation, a measure of variability. It is a robust statistic, meaning that it is useful for describing data that may have outliers, or may not be normally distributed. For such data it can be more descriptive than standard deviation.\\n\\nIt is calculated as the median of each data point’s deviation from the median of the entire sample. That is, for a random variable `X`, the median absolute deviation is `median(|median(X) - X|)`.',\n  examples: [\n    'FROM employees\\n| STATS MEDIAN(salary), MEDIAN_ABSOLUTE_DEVIATION(salary)',\n    'FROM employees\\n| STATS m_a_d_max_salary_change = MEDIAN_ABSOLUTE_DEVIATION(MV_MAX(salary_change))',\n  ],\n  note: 'Like `PERCENTILE`, `MEDIAN_ABSOLUTE_DEVIATION` is usually approximate.',\n  params: {\n    number: '',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/min.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'The minimum value of a field.',\n  examples: [\n    'FROM employees\\n| STATS MIN(languages)',\n    'FROM employees\\n| STATS min_avg_salary_change = MIN(MV_AVG(salary_change))',\n    'TS exp_histo_sample\\n| WHERE instance == \"instance-0\"\\n| STATS minimum = ROUND(MIN(responseTime), 4)',\n    'TS histogram_timeseries_index\\n| WHERE instance == \"instance-0\"\\n| STATS minimum = ROUND(MIN(responseTime::tdigest), 4)',\n  ],\n  params: {\n    field: '',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/min_over_time.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the minimum over time value of a field.',\n  examples: [\n    'TS k8s\\n| STATS cost=SUM(MIN_OVER_TIME(network.cost)) BY cluster, time_bucket = TBUCKET(1minute)',\n  ],\n  params: {\n    field: 'the metric field to calculate the value for',\n    window: 'the time window over which to compute the minimum',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/month_name.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the month name for the provided date based on the configured Locale.',\n  examples: [\n    'ROW dt = to_datetime(\"1996-03-21T00:00:00.000Z\")\\n| EVAL monthName = MONTH_NAME(dt);',\n  ],\n  params: {\n    date: 'Date expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_append.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Concatenates values of two multi-value fields.',\n  examples: [\n    'FROM employees\\n| WHERE emp_no == 10039 OR emp_no == 10040\\n| SORT emp_no\\n| EVAL dates = MV_APPEND(birth_date, hire_date)\\n| KEEP emp_no, birth_date, hire_date, dates',\n  ],\n  params: {\n    field1: '',\n    field2: '',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_avg.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts a multivalued field into a single valued field containing the average of all of the values.',\n  examples: [\n    'ROW a=[3, 5, 1, 6]\\n| EVAL avg_a = MV_AVG(a)',\n  ],\n  params: {\n    number: 'Expression that can be null, a single value, or multiple values.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_concat.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts a multivalued string expression into a single valued column containing the concatenation of all values separated by a delimiter.',\n  examples: [\n    'ROW a=[\"foo\", \"zoo\", \"bar\"]\\n| EVAL j = MV_CONCAT(a, \", \")',\n    'ROW a=[10, 9, 8]\\n| EVAL j = MV_CONCAT(TO_STRING(a), \", \")',\n  ],\n  params: {\n    string: 'Expression that can be null, a single value, or multiple values.',\n    delim: 'Delimiter.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_contains.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Checks if all values yielded by the second multivalue expression are present in the values yielded by the first multivalue expression. Returns a boolean. Null values are treated as an empty set.',\n  examples: [\n    'ROW set = [\"a\", \"b\", \"c\"], element = \"a\"\\n| EVAL set_contains_element = mv_contains(set, element)',\n    'ROW setA = [\"a\",\"c\"], setB = [\"a\", \"b\", \"c\"]\\n| EVAL a_subset_of_b = mv_contains(setB, setA)\\n| EVAL b_subset_of_a = mv_contains(setA, setB)',\n    'FROM airports\\n| WHERE mv_contains(type, [\"major\",\"military\"]) AND scalerank == 9\\n| KEEP scalerank, name, country',\n  ],\n  params: {\n    superset: 'Expression that can be null, a single value, or multiple values.',\n    subset: 'Expression that can be null, a single value, or multiple values.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_count.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts a multivalued expression into a single valued column containing a count of the number of values.',\n  examples: [\n    'ROW a=[\"foo\", \"zoo\", \"bar\"]\\n| EVAL count_a = MV_COUNT(a)',\n  ],\n  params: {\n    field: 'Expression that can be null, a single value, or multiple values.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_dedupe.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Remove duplicate values from a multivalued field.',\n  examples: [\n    'ROW a=[\"foo\", \"foo\", \"bar\", \"foo\"]\\n| EVAL dedupe_a = MV_DEDUPE(a)',\n  ],\n  note: '`MV_DEDUPE` may, but won’t always, sort the values in the column.',\n  params: {\n    field: 'Expression that can be null, a single value, or multiple values.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_difference.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the values that appear in the first field, except those that appear in the second. Returns `null` if the first expression is null (nothing to remove) or the value of the first field if the second is null.',\n  examples: [\n    'ROW values = [\"a\", \"b\", \"c\"], element = \"a\"\\n| EVAL result = mv_difference(values, element)',\n  ],\n  params: {\n    field1: 'Expression that can be null, a single value, or multiple values. If null, the function returns null.',\n    field2: 'Expression that can be null, a single value, or multiple values. If null, the function returns field1.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_first.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts a multivalued expression into a single valued column containing the\\nfirst value. This is most useful when reading from a function that emits\\nmultivalued columns in a known order like `SPLIT`.',\n  examples: [\n    'ROW a=\"foo;bar;baz\"\\n| EVAL first_a = MV_FIRST(SPLIT(a, \";\"))',\n  ],\n  params: {\n    field: 'Expression that can be null, a single value, or multiple values.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_in_range.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns `true` if at least one value of `field` is within the range `[lower, upper]`, using the natural order of the type. A null or empty field returns `false`, as does a null bound. Both bounds are inclusive by default; set `include_lower` or `include_upper` to `false` in the optional `options` map to make either bound exclusive, covering all four interval forms. Works on any ordered type: numbers, dates, IPs, versions, and strings (compared by their UTF-8 bytes).',\n  examples: [\n    'ROW values = [1, 5, 10]\\n| EVAL in_range = mv_in_range(values, 4, 6)',\n    'ROW values = [0, 100]\\n| EVAL in_range = mv_in_range(values, 40, 60)',\n    'ROW words = [\"apple\", \"cherry\"]\\n| EVAL in_range = mv_in_range(words, \"banana\", \"date\")',\n    'ROW values = [3, 6]\\n| EVAL in_range = mv_in_range(values, 4, 6, {\"include_upper\": false})',\n    'ROW values = [4, 6]\\n| EVAL in_range = mv_in_range(values, 4, 6, {\"include_lower\": false, \"include_upper\": false})',\n  ],\n  params: {\n    field: 'Multivalue expression to test. If null or empty, the function returns `false`.',\n    lower: 'Lower bound, of the same type as `field`. If null or multivalued, the function returns `false`.',\n    upper: 'Upper bound, of the same type as `field`. If null or multivalued, the function returns `false`.',\n    options: '(Optional) Range boundary options.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_intersection.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the values that appear in both input fields. Returns `null` if either field is null or if no values match.',\n  examples: [\n    'ROW a = [1, 2, 3, 4, 5], b = [2, 3, 4, 5, 6]\\n| EVAL finalValue = MV_INTERSECTION(a, b)\\n| KEEP finalValue',\n    'ROW a = [1, 2, 3, 4, 5]::long, b = [2, 3, 4, 5, 6]::long\\n| EVAL finalValue = MV_INTERSECTION(a, b)\\n| KEEP finalValue',\n    'ROW a = [true, false, false, false], b = [false]\\n| EVAL finalValue = MV_INTERSECTION(a, b)\\n| KEEP finalValue',\n    'ROW a = [5.2, 10.5, 1.12345, 2.6928], b = [10.5, 2.6928]\\n| EVAL finalValue = MV_INTERSECTION(a, b)\\n| KEEP finalValue',\n    'ROW a = [\"one\", \"two\", \"three\", \"four\", \"five\"], b = [\"one\", \"four\"]\\n| EVAL finalValue = MV_INTERSECTION(a, b)\\n| KEEP finalValue',\n  ],\n  params: {\n    field1: 'Expression that can be null, a single value, or multiple values. If null, the function returns null.',\n    field2: 'Expression that can be null, a single value, or multiple values. If null, the function returns null.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_intersects.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Checks if any value yielded by the second multivalue expression is present in the values yielded by the first multivalue expression. Returns a boolean. Null values are treated as an empty set.',\n  examples: [\n    'ROW set = [\"a\", \"b\", \"c\"], element = \"a\"\\n| EVAL set_intersects_element = mv_intersects(set, element)',\n    'ROW setA = [\"a\",\"c\"], setB = [\"a\", \"b\", \"c\"]\\n| EVAL a_intersects_b = mv_intersects(setB, setA)\\n| EVAL b_intersects_a = mv_intersects(setA, setB)',\n    'FROM airports\\n| WHERE mv_intersects(type, [\"major\"]) AND scalerank == 9\\n| KEEP scalerank, name, country\\n| SORT country',\n  ],\n  params: {\n    field1: 'Expression that can be null, a single value, or multiple values.',\n    field2: 'Expression that can be null, a single value, or multiple values.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_last.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts a multivalue expression into a single valued column containing the last\\nvalue. This is most useful when reading from a function that emits multivalued\\ncolumns in a known order like `SPLIT`.',\n  examples: [\n    'ROW a=\"foo;bar;baz\"\\n| EVAL last_a = MV_LAST(SPLIT(a, \";\"))',\n  ],\n  params: {\n    field: 'Expression that can be null, a single value, or multiple values.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_like.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns `true` when any value yielded by `field` matches `pattern`, using the same wildcard syntax as `LIKE`.\\n`LIKE` is a single-value scalar: applied to a multivalue field it emits a warning and returns `null`, so this\\nis how you match a wildcard pattern against a multivalue field. A null or empty `field` returns `false`, and\\nbecause the result is never null the predicate composes under `AND`/`OR`/`NOT`.',\n  examples: [\n    'ROW names = [\"Anna\", \"Bob\", \"Carl\"]\\n| EVAL any_starts_with_a = mv_like(names, \"A*\")',\n    'ROW names = [\"Anna\", \"Bob\"]\\n| EVAL has_bo = mv_like(names, \"Bo*\")',\n    'ROW names = [\"Anna\", \"Bob\"]\\n| EVAL no_carl = NOT mv_like(names, \"Carl*\")',\n  ],\n  params: {\n    field: 'Multivalue expression to test. If null or empty, the function returns `false`.',\n    pattern: 'Wildcard pattern. Must be a constant. `*` matches any run of characters, `?` matches a single character; escape either with `\\\\`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_max.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts a multivalued expression into a single valued column containing the maximum value.',\n  examples: [\n    'ROW a=[3, 5, 1]\\n| EVAL max_a = MV_MAX(a)',\n    'ROW a=[\"foo\", \"zoo\", \"bar\"]\\n| EVAL max_a = MV_MAX(a)',\n  ],\n  params: {\n    field: 'Expression that can be null, a single value, or multiple values.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_median.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts a multivalued field into a single valued field containing the median value.',\n  examples: [\n    'ROW a=[3, 5, 1]\\n| EVAL median_a = MV_MEDIAN(a)',\n    'ROW a=[3, 7, 1, 6]\\n| EVAL median_a = MV_MEDIAN(a)',\n  ],\n  params: {\n    number: 'Expression that can be null, a single value, or multiple values.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_median_absolute_deviation.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts a multivalued field into a single valued field containing the median absolute deviation.\\n\\nIt is calculated as the median of each data point’s deviation from the median of the entire sample. That is, for a random variable `X`, the median absolute deviation is `median(|median(X) - X|)`.',\n  examples: [\n    'ROW values = [0, 2, 5, 6]\\n| EVAL median_absolute_deviation = MV_MEDIAN_ABSOLUTE_DEVIATION(values), median = MV_MEDIAN(values)',\n  ],\n  note: 'If the field has an even number of values, the medians will be calculated as the average of the middle two values. If the value is not a floating point number, the averages are rounded towards 0.',\n  params: {\n    number: 'Expression that can be null, a single value, or multiple values.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_min.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts a multivalued expression into a single valued column containing the minimum value.',\n  examples: [\n    'ROW a=[2, 1]\\n| EVAL min_a = MV_MIN(a)',\n    'ROW a=[\"foo\", \"bar\"]\\n| EVAL min_a = MV_MIN(a)',\n  ],\n  params: {\n    field: 'Expression that can be null, a single value, or multiple values.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_percentile.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts a multivalued field into a single valued field containing the value at which a certain percentage of observed values occur.',\n  examples: [\n    'ROW values = [5, 5, 10, 12, 5000]\\n| EVAL p50 = MV_PERCENTILE(values, 50), median = MV_MEDIAN(values)',\n  ],\n  params: {\n    number: 'Expression that can be null, a single value, or multiple values.',\n    percentile: 'The percentile to calculate. Must be a number between 0 and 100. Numbers out of range will return a null instead.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_pseries_weighted_sum.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts a multivalued expression into a single-valued column by multiplying every element on the input list by its corresponding term in P-Series and computing the sum.',\n  examples: [\n    'ROW a = [70.0, 45.0, 21.0, 21.0, 21.0]\\n| EVAL sum = MV_PSERIES_WEIGHTED_SUM(a, 1.5)\\n| KEEP sum',\n  ],\n  params: {\n    number: 'Expression that can be null, a single value, or multiple values.',\n    p: 'It is a constant number that represents the *p* parameter in the P-Series. It impacts every element’s contribution to the weighted sum.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_rlike.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns `true` when any value yielded by `field` matches `pattern`, using the same regular-expression syntax\\nas `RLIKE`. The pattern must match a value in full, as with `RLIKE`. `RLIKE` is a single-value scalar:\\napplied to a multivalue field it emits a warning and returns `null`, so this is how you match a regular\\nexpression against a multivalue field. A null or empty `field` returns `false`, and because the result is\\nnever null the predicate composes under `AND`/`OR`/`NOT`.',\n  examples: [\n    'ROW names = [\"Anna\", \"Bob\", \"Carl\"]\\n| EVAL any_starts_with_a = mv_rlike(names, \"A.*\")',\n    'ROW names = [\"Anna\", \"Bob\"]\\n| EVAL has_three_letter_b_name = mv_rlike(names, \"[Bb]ob\")',\n  ],\n  params: {\n    field: 'Multivalue expression to test. If null or empty, the function returns `false`.',\n    pattern: 'Regular expression. Must be a constant. The pattern must match a value in full, as with `RLIKE`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_slice.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns a subset of the multivalued field using the start and end index values. Indexes are 0-based.\\nThis is most useful when reading from a function that emits multivalued columns\\nin a known order like `SPLIT` or `MV_SORT`.',\n  examples: [\n    'row a = [1, 2, 2, 3]\\n| eval a1 = mv_slice(a, 1), a2 = mv_slice(a, 2, 3)',\n    'row a = [1, 2, 2, 3]\\n| eval a1 = mv_slice(a, -2), a2 = mv_slice(a, -3, -1)',\n  ],\n  params: {\n    field: 'Expression that can be null, a single value, or multiple values. If `null`, the function returns `null`.',\n    start: 'Start position. If `null`, the function returns `null`. The start argument can be negative. An index of -1 is used to specify the last value in the list.',\n    end: 'End position(included). Optional; if omitted, the position at `start` is returned. The end argument can be negative. An index of -1 is used to specify the last value in the list.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_sort.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Sorts a multivalued field in lexicographical order.',\n  examples: [\n    'ROW a = [4, 2, -3, 2]\\n| EVAL sa = mv_sort(a), sd = mv_sort(a, \"DESC\")',\n  ],\n  params: {\n    field: 'Expression that can be null, a single value, or multiple values. If `null`, the function returns `null`.',\n    order: 'Sort order. The valid options are ASC and DESC, the default is ASC.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_sum.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts a multivalued field into a single valued field containing the sum of all of the values.',\n  examples: [\n    'ROW a=[3, 5, 6]\\n| EVAL sum_a = MV_SUM(a)',\n  ],\n  params: {\n    number: 'Expression that can be null, a single value, or multiple values.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_union.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns all unique values from the combined input fields (set union). Null values are treated as empty sets; returns `null` only if both fields are null.',\n  examples: [\n    'ROW a = [1, 2, 3, 4, 5], b = [2, 3, 4, 5, 6]\\n| EVAL finalValue = MV_UNION(a, b)\\n| KEEP finalValue',\n    'ROW a = [1, 2, 3, 4, 5]::long, b = [2, 3, 4, 5, 6]::long\\n| EVAL finalValue = MV_UNION(a, b)\\n| KEEP finalValue',\n    'ROW a = [true, false], b = [false]\\n| EVAL finalValue = MV_UNION(a, b)\\n| KEEP finalValue',\n    'ROW a = [5.2, 10.5, 1.12345], b = [10.5, 2.6928]\\n| EVAL finalValue = MV_UNION(a, b)\\n| KEEP finalValue',\n    'ROW a = [\"one\", \"two\", \"three\"], b = [\"two\", \"four\"]\\n| EVAL finalValue = MV_UNION(a, b)\\n| KEEP finalValue',\n  ],\n  params: {\n    field1: 'Expression that can be null, a single value, or multiple values. Null values are treated as empty sets.',\n    field2: 'Expression that can be null, a single value, or multiple values. Null values are treated as empty sets.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/mv_zip.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Combines the values from two multivalued fields with a delimiter that joins them together.',\n  examples: [\n    'ROW a = [\"x\", \"y\", \"z\"], b = [\"1\", \"2\"]\\n| EVAL c = mv_zip(a, b, \"-\")\\n| KEEP a, b, c',\n  ],\n  params: {\n    string1: 'Expression that can be null, a single value, or multiple values.',\n    string2: 'Expression that can be null, a single value, or multiple values.',\n    delim: 'Delimiter. Optional; if omitted, `,` is used as a default delimiter.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/network_direction.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the direction type (inbound, outbound, internal, external) given a source IP address, destination IP address, and a list of internal networks.',\n  examples: [\n    'ROW ip0 = \"127.0.0.1\"::ip, ip1 = \"5.6.7.8\"::ip\\n| EVAL direction = NETWORK_DIRECTION(ip0, ip1, [\"loopback\", \"private\"])',\n  ],\n  params: {\n    source_ip: 'Source IP address of type `ip` (both IPv4 and IPv6 are supported).',\n    destination_ip: 'Destination IP address of type `ip` (both IPv4 and IPv6 are supported).',\n    internal_networks: 'List of internal networks. Supports IPv4 and IPv6 addresses, ranges in CIDR notation, and named ranges.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/now.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns current date and time.',\n  examples: [\n    'ROW current_date = NOW()',\n    'FROM sample_data\\n| WHERE @timestamp > NOW() - 1 hour',\n  ],\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/percentile.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the value at which a certain percentage of observed values occur. For example, the 95th percentile is the value which is greater than 95% of the observed values and the 50th percentile is the `MEDIAN`.',\n  examples: [\n    'FROM employees\\n| STATS p0 = PERCENTILE(salary,  0)\\n     , p50 = PERCENTILE(salary, 50)\\n     , p99 = PERCENTILE(salary, 99)',\n    'FROM employees\\n| STATS p80_max_salary_change = PERCENTILE(MV_MAX(salary_change), 80)',\n    'TS exp_histo_sample\\n| WHERE instance == \"instance-0\"\\n| STATS p99 = ROUND(PERCENTILE(responseTime, 99), 4)',\n    'TS histogram_timeseries_index\\n| WHERE instance == \"instance-0\"\\n| STATS p95 = ROUND(PERCENTILE(responseTime::tdigest, 95), 2)',\n  ],\n  params: {\n    number: '',\n    percentile: '',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/percentile_over_time.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the percentile over time of a field.',\n  examples: [\n    'TS k8s\\n| STATS p95_cost=MAX(PERCENTILE_OVER_TIME(network.cost, 95)), p99_cost=MAX(PERCENTILE_OVER_TIME(network.cost, 99)) BY cluster, time_bucket = TBUCKET(1minute)',\n  ],\n  params: {\n    field: 'the metric field to calculate the value for',\n    percentile: 'the percentile value to compute (between 0 and 100)',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/pi.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns Pi, the ratio of a circle’s circumference to its diameter.',\n  examples: [\n    'ROW PI()',\n  ],\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/pow.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the value of `base` raised to the power of `exponent`.',\n  examples: [\n    'ROW base = 2.0, exponent = 2\\n| EVAL result = POW(base, exponent)',\n    'ROW base = 4, exponent = 0.5\\n| EVAL s = POW(base, exponent)',\n  ],\n  note: 'It is still possible to overflow a double result here; in that case, null will be returned.',\n  params: {\n    base: 'Numeric expression for the base. If `null`, the function returns `null`.',\n    exponent: 'Numeric expression for the exponent. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/present.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns true if the input expression yields any non-null values within the current aggregation context. Otherwise it returns false.',\n  examples: [\n    'FROM employees\\n| STATS is_present = PRESENT(languages)',\n    'FROM employees\\n| STATS is_present = PRESENT(salary) BY languages',\n    'FROM employees\\n| WHERE emp_no == 10020\\n| STATS is_present = TO_INTEGER(PRESENT(languages))',\n  ],\n  params: {\n    field: 'Expression that outputs values to be checked for presence.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/present_over_time.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the presence of a field in the output result over time range.',\n  examples: [\n    'TS k8s\\n| WHERE cluster == \"prod\" AND pod == \"two\"\\n| STATS events_received = MAX(PRESENT_OVER_TIME(events_received)) BY pod, time_bucket = TBUCKET(2 minute)',\n  ],\n  params: {\n    field: 'the metric field to calculate the value for',\n    window: 'the time window over which to compute the present over time',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/qstr.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Performs a query string query. Returns true if the provided query string matches the row.',\n  examples: [\n    'FROM books\\n| WHERE QSTR(\"author: Faulkner\")',\n    'FROM books\\n| WHERE QSTR(\"title: Hobbjt~\", {\"fuzziness\": 2})',\n  ],\n  params: {\n    query: 'Query string in Lucene query string format.',\n    options: '(Optional) Additional options for Query String as <<esql-function-named-params,function named parameters>>. See <<query-dsl-query-string-query,query string query>> for more information.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/range_contains.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns true if the first argument\\ncontains the second argument.\\nThis is the inverse of RANGE_WITHIN; equivalent to `RANGE_WITHIN(b, a)`.\\nSupports (date_range, date) and (date_range, date_range). The first argument must be a date_range.',\n  examples: [\n    'FROM employees\\n| WHERE RANGE_CONTAINS(TO_DATE_RANGE(\"1985-02-01..1985-03-01\"), hire_date)\\n| KEEP emp_no, hire_date\\n| SORT emp_no',\n  ],\n  params: {\n    left: 'Container range.',\n    right: 'Value to test (point or range).',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/range_intersects.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns true if the two arguments overlap. The relation is symmetric — argument order does not matter. Supports all combinations of ranges and corresponding scalar types. When both arguments are scalar values, this is equivalent to `a == b`.',\n  examples: [\n    'FROM employees\\n| WHERE RANGE_INTERSECTS(hire_date, TO_DATE_RANGE(\"1985-02-01..1985-03-01\"))\\n| KEEP emp_no, hire_date\\n| SORT emp_no',\n  ],\n  params: {\n    left: 'First value (point or range).',\n    right: 'Second value (point or range).',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/range_max.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the maximum (end) value of a range. For a range [x, y), it returns y.',\n  examples: [\n    'FROM decades\\n| WHERE decade == 1900\\n| EVAL max_bound = RANGE_MAX(date_range)\\n| KEEP date_range, max_bound',\n  ],\n  params: {\n    range: 'Range expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/range_min.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the minimum (start) value of a range. For a range [x, y), it returns x.',\n  examples: [\n    'FROM decades\\n| WHERE decade == 1900\\n| EVAL min_bound = RANGE_MIN(date_range)\\n| KEEP date_range, min_bound',\n  ],\n  params: {\n    range: 'Range expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/range_within.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns true if the first argument is within the second argument. Supports (date, date_range) and (date_range, date_range). The second argument must be a date_range.',\n  examples: [\n    'FROM employees\\n| WHERE RANGE_WITHIN(hire_date, TO_DATE_RANGE(\"1985-02-01..1985-03-01\"))\\n| KEEP emp_no, hire_date\\n| SORT emp_no',\n  ],\n  params: {\n    left: 'Value to test (point or range).',\n    right: 'Container range.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/rate.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the per-second average rate of increase of a counter. Rate calculations account for breaks in monotonicity, such as counter resets when a service restarts, and extrapolate values within each bucketed time interval. Rate is the most appropriate aggregate function for counters. It is only allowed in a STATS command under a `TS` source command, to be properly applied per time series.',\n  examples: [\n    'TS k8s\\n| STATS max_rate=MAX(RATE(network.total_bytes_in)) BY time_bucket = TBUCKET(5minute)',\n  ],\n  params: {\n    field: 'the counter field whose per-second average rate of increase is computed',\n    window: 'the time window over which the rate is computed',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/repeat.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns a string constructed by concatenating `string` with itself the specified `number` of times.',\n  examples: [\n    'ROW a = \"Hello!\"\\n| EVAL triple_a = REPEAT(a, 3)',\n  ],\n  params: {\n    string: 'String expression.',\n    number: 'Number times to repeat.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/replace.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'The function substitutes in the string `str` any match of the regular expression `regex`\\nwith the replacement string `newStr`.',\n  examples: [\n    'ROW str = \"Hello World\"\\n| EVAL str = REPLACE(str, \"World\", \"Universe\")',\n    'ROW str = \"Hello World\"\\n| EVAL str = REPLACE(str, \"\\\\\\\\\\\\\\\\s+\", \"\")',\n  ],\n  params: {\n    string: 'String expression.',\n    regex: 'Regular expression.',\n    newString: 'Replacement string.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/reverse.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns a new string representing the input string in reverse order.',\n  examples: [\n    'ROW message = \"Some Text\" | EVAL message_reversed = REVERSE(message);',\n    'ROW bending_arts = \"💧🪨🔥💨\" | EVAL bending_arts_reversed = REVERSE(bending_arts);',\n  ],\n  params: {\n    str: 'String expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/right.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Return the substring that extracts *length* chars from *str* starting from the right.',\n  examples: [\n    'FROM employees\\n| KEEP last_name\\n| EVAL right = RIGHT(last_name, 3)',\n  ],\n  params: {\n    string: 'The string from which to returns a substring.',\n    length: 'The number of characters to return.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/round.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Rounds a number to the specified number of decimal places.\\nDefaults to 0, which returns the nearest integer. If the\\nprecision is a negative number, rounds to the number of digits left\\nof the decimal point.',\n  examples: [\n    'FROM employees\\n| KEEP first_name, last_name, height\\n| EVAL height_ft = ROUND(height * 3.281, 1)',\n  ],\n  params: {\n    number: 'The numeric value to round. If `null`, the function returns `null`.',\n    decimals: 'The number of decimal places to round to. Defaults to 0. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/round_to.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Rounds down to one of a list of fixed points.',\n  examples: [\n    'FROM employees\\n| STATS COUNT(*) BY birth_window=ROUND_TO(\\n    birth_date,\\n    \"1900-01-01T00:00:00Z\"::DATETIME,\\n    \"1950-01-01T00:00:00Z\"::DATETIME,\\n    \"1955-01-01T00:00:00Z\"::DATETIME,\\n    \"1960-01-01T00:00:00Z\"::DATETIME,\\n    \"1965-01-01T00:00:00Z\"::DATETIME,\\n    \"1970-01-01T00:00:00Z\"::DATETIME,\\n    \"1975-01-01T00:00:00Z\"::DATETIME\\n)\\n| SORT birth_window ASC',\n  ],\n  params: {\n    field: 'The numeric value to round. If `null`, the function returns `null`.',\n    points: 'Remaining rounding points. Must be constants.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/rtrim.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Removes trailing whitespaces from a string.',\n  examples: [\n    'ROW message = \"   some text  \",  color = \" red \"\\n| EVAL message = RTRIM(message)\\n| EVAL color = RTRIM(color)\\n| EVAL message = CONCAT(\"\\'\", message, \"\\'\")\\n| EVAL color = CONCAT(\"\\'\", color, \"\\'\")',\n  ],\n  params: {\n    string: 'String expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/sample.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Collects sample values for a field.',\n  examples: [\n    'FROM sample_data\\n| STATS sample_messages = SAMPLE(message, 3)',\n    'FROM sample_data\\n| STATS sample_messages = SAMPLE(message, 2) BY client_ip\\n| SORT client_ip',\n  ],\n  params: {\n    field: 'The field to collect sample values for.',\n    limit: 'The maximum number of values to collect.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/scalb.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the result of `d * 2 ^ scaleFactor`,\\nSimilar to Java\\'s `scalb` function. Result is rounded as if\\nperformed by a single correctly rounded floating-point multiply\\nto a member of the double value set.',\n  examples: [\n    'row x = 3.0, y = 10 | eval z = scalb(x, y)',\n  ],\n  params: {\n    d: 'Numeric expression for the multiplier. If `null`, the function returns `null`.',\n    scaleFactor: 'Numeric expression for the scale factor. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/score.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Scores an expression. Only full text functions will be scored. Returns scores for all the resulting docs.',\n  examples: [\n    'FROM books METADATA _score\\n| WHERE match(title, \"Return\") AND match(author, \"Tolkien\")\\n| EVAL first_score = score(match(title, \"Return\"))',\n  ],\n  params: {\n    query: 'Boolean expression that contains full text function(s) to be scored.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/sha1.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Computes the SHA1 hash of the input.',\n  examples: [\n    'FROM sample_data\\n| WHERE message != \"Connection error\"\\n| EVAL sha1 = sha1(message)\\n| KEEP message, sha1',\n  ],\n  params: {\n    input: 'Input to hash.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/sha256.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Computes the SHA256 hash of the input.',\n  examples: [\n    'FROM sample_data\\n| WHERE message != \"Connection error\"\\n| EVAL sha256 = sha256(message)\\n| KEEP message, sha256',\n  ],\n  params: {\n    input: 'Input to hash.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/signum.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the sign of the given number.\\nIt returns `-1` for negative numbers, `0` for `0` and `1` for positive numbers.',\n  examples: [\n    'ROW d = 100.0\\n| EVAL s = SIGNUM(d)',\n  ],\n  params: {\n    number: 'Numeric expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/sin.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the sine of an angle.',\n  examples: [\n    'ROW a=1.8\\n| EVAL sin=SIN(a)',\n  ],\n  params: {\n    angle: 'An angle, in radians. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/sinh.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the hyperbolic sine of a number.',\n  examples: [\n    'ROW a=1.8\\n| EVAL sinh=SINH(a)',\n  ],\n  params: {\n    number: 'Numeric expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/space.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns a string made of `number` spaces.',\n  examples: [\n    'ROW message = CONCAT(\"Hello\", SPACE(1), \"World!\");',\n  ],\n  params: {\n    number: 'Number of spaces in result.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/sparkline.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'The values representing the y-axis values of a sparkline graph for a given aggregation over a period of time.',\n  examples: [\n    'FROM employees\\n| STATS sparkline = SPARKLINE(COUNT(*), hire_date, 20, \"1985-01-01T00:00:00Z\", \"1985-12-31T00:00:00Z\")',\n  ],\n  params: {\n    aggregation: 'Aggregation that calculates the y-axis value of the sparkline graph for each datapoint.',\n    key: 'Date expression from which to derive buckets.',\n    buckets: 'Target number of buckets.',\n    from: 'Start of the range. Can be a date or a date expressed as a string.',\n    to: 'End of the range. Can be a date or a date expressed as a string.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/split.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Split a single valued string into multiple strings.',\n  examples: [\n    'ROW words=\"foo;bar;baz;qux;quux;corge\"\\n| EVAL word = SPLIT(words, \";\")',\n  ],\n  params: {\n    string: 'String expression. If `null`, the function returns `null`.',\n    delim: 'Delimiter. Only single byte delimiters are currently supported.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/sqrt.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the square root of a number. The input can be any numeric value, the return value is always a double.\\nSquare roots of negative numbers and infinities are null.',\n  examples: [\n    'ROW d = 100.0\\n| EVAL s = SQRT(d)',\n  ],\n  params: {\n    number: 'Numeric expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_buffer.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Computes a buffer area around the input geometry at the specified distance. The distance is in the units of the input spatial reference system. Positive distances expand the geometry, negative distances shrink it. A distance of zero will return the input geometry unchanged. Points and lines become polygons when buffered, unless a zero distance is provided.',\n  examples: [\n    'ROW wkt = \"POLYGON ((0 0, 4 0, 4 4, 0 4, 0 0))\"\\n| EVAL buffered = ST_BUFFER(TO_GEOSHAPE(wkt), -1)',\n    'ROW geom = TO_CARTESIANSHAPE(\"LINESTRING(0 0, 10 0, 10 10)\")\\n| EVAL buffered = ST_BUFFER(geom, 2, {\"endcap\": \"flat\", \"join\": \"mitre\"})\\n| KEEP buffered',\n  ],\n  params: {\n    geometry: 'Expression of type `geo_point`, `geo_shape`, `cartesian_point` or `cartesian_shape`. If `null`, the function returns `null`.',\n    distance: 'Buffer distance in the units of the input spatial reference system',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_centroid_agg.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculate the spatial centroid over a field with spatial geometry type.\\nSupports `geo_point` and `cartesian_point`, as well as `geo_shape` and `cartesian_shape`.',\n  examples: [\n    'FROM airports\\n| STATS centroid=ST_CENTROID_AGG(location)',\n  ],\n  params: {\n    field: '',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_contains.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns whether the first geometry contains the second geometry.\\nThis is the inverse of the ST_WITHIN function.',\n  examples: [\n    'FROM airport_city_boundaries\\n| WHERE ST_CONTAINS(city_boundary, TO_GEOSHAPE(\"POLYGON((109.35 18.3, 109.45 18.3, 109.45 18.4, 109.35 18.4, 109.35 18.3))\"))\\n| KEEP abbrev, airport, region, city, city_location',\n  ],\n  params: {\n    geomA: 'Expression of type `geo_point`, `cartesian_point`, `geo_shape` or `cartesian_shape`. If `null`, the function returns `null`.',\n    geomB: 'Expression of type `geo_point`, `cartesian_point`, `geo_shape` or `cartesian_shape`. If `null`, the function returns `null`. The second parameter must also have the same coordinate system as the first. This means it is not possible to combine `geo_*` and `cartesian_*` parameters.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_difference.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the part of `geomA` that does not intersect with `geomB`. This is equivalent to subtracting `geomB` from `geomA`. Both geometries must share the same coordinate reference system.',\n  examples: [\n    'ROW a = TO_GEOSHAPE(\"POLYGON ((0 0, 3 0, 3 3, 0 3, 0 0))\"),\\n    b = TO_GEOSHAPE(\"POLYGON ((1 1, 4 1, 4 4, 1 4, 1 1))\")\\n| EVAL diff = ST_DIFFERENCE(a, b)\\n| KEEP diff',\n  ],\n  params: {\n    geomA: 'Expression of type `geo_point`, `geo_shape`, `cartesian_point` or `cartesian_shape`. If `null`, the function returns `null`.',\n    geomB: 'Expression of type `geo_point`, `geo_shape`, `cartesian_point` or `cartesian_shape`. Must share the same coordinate reference system as the first parameter. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_dimension.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the topological dimension of the supplied geometry.\\nPoints and multi-points return `0`, lines and multi-lines return `1`, polygons and multi-polygons return `2`, and geometry collections return the maximum dimension of their components.',\n  examples: [\n    'ROW wkt = [\\n    \"POINT(1.0 2.0)\",\\n    \"LINESTRING (30 10, 10 30, 40 40)\",\\n    \"POLYGON ((30 10, 40 40, 20 40, 10 20, 30 10))\"]\\n| MV_EXPAND wkt\\n| EVAL geometry = TO_GEOSHAPE(wkt),\\n       type = ST_GEOMETRYTYPE(geometry),\\n       topological_dimension = ST_DIMENSION(geometry)\\n| KEEP type, topological_dimension',\n  ],\n  params: {\n    geometry: 'Expression of type `geo_point`, `geo_shape`, `cartesian_point` or `cartesian_shape`. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_disjoint.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns whether the two geometries or geometry columns are disjoint.\\nThis is the inverse of the ST_INTERSECTS function.\\nIn mathematical terms: ST_Disjoint(A, B) ⇔ A ⋂ B = ∅',\n  examples: [\n    'FROM airport_city_boundaries\\n| WHERE ST_DISJOINT(city_boundary, TO_GEOSHAPE(\"POLYGON((-10 -60, 120 -60, 120 60, -10 60, -10 -60))\"))\\n| KEEP abbrev, airport, region, city, city_location',\n  ],\n  params: {\n    geomA: 'Expression that is either a geometry (`geo_point`, `cartesian_point`, `geo_shape` or `cartesian_shape`) or a geo-grid value (`geohash`, `geotile`, `geohex`). If `null`, the function returns `null`.',\n    geomB: 'Expression that is either a geometry (`geo_point`, `cartesian_point`, `geo_shape` or `cartesian_shape`) or a geo-grid value (`geohash`, `geotile`, `geohex`). If `null`, the function returns `null`. The second parameter must also have the same coordinate system as the first. This means it is not possible to combine `geo_*` and `cartesian_*` parameters.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_distance.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Computes the distance between two points.\\nFor cartesian geometries, this is the pythagorean distance in the same units as the original coordinates.\\nFor geographic geometries, this is the circular distance along the great circle in meters.',\n  examples: [\n    'FROM airports\\n| WHERE abbrev == \"CPH\"\\n| EVAL distance = ST_DISTANCE(location, city_location)\\n| KEEP abbrev, name, location, city_location, distance',\n  ],\n  params: {\n    geomA: 'Expression of type `geo_point` or `cartesian_point`. If `null`, the function returns `null`.',\n    geomB: 'Expression of type `geo_point` or `cartesian_point`. If `null`, the function returns `null`. The second parameter must also have the same coordinate system as the first. This means it is not possible to combine `geo_point` and `cartesian_point` parameters.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_envelope.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Determines the minimum bounding box of the supplied geometry.',\n  examples: [\n    'FROM airport_city_boundaries\\n| WHERE abbrev == \"CPH\"\\n| EVAL envelope = ST_ENVELOPE(city_boundary)\\n| KEEP abbrev, airport, envelope',\n  ],\n  params: {\n    geometry: 'Expression of type `geo_point`, `geo_shape`, `cartesian_point` or `cartesian_shape`. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_extent_agg.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculate the spatial extent over a field with geometry type. Returns a bounding box for all values of the field.',\n  examples: [\n    'FROM airports\\n| WHERE country == \"India\"\\n| STATS extent = ST_EXTENT_AGG(location)',\n  ],\n  params: {\n    field: '',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_geohash.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the `geohash` of the supplied geo_point at the specified precision.\\nThe result is long encoded.\\nUse `TO_STRING`\\nto convert the result to a string,\\n`TO_LONG`\\nto convert it to a `long`, or\\n`TO_GEOSHAPE`\\nto calculate the `geo_shape` bounding geometry.\\n\\nThese functions are related to the `geo_grid` query\\nand the `geohash_grid` aggregation.',\n  examples: [\n    'FROM airports\\n| EVAL geohash = ST_GEOHASH(location, 1)\\n| STATS\\n    count = COUNT(geohash),\\n    centroid = ST_CENTROID_AGG(location)\\n      BY geohash\\n| WHERE count >= 10\\n| EVAL geohashString = TO_STRING(geohash)\\n| KEEP count, centroid, geohashString\\n| SORT count DESC, geohashString ASC',\n  ],\n  params: {\n    geometry: 'Expression of type `geo_point`. If `null`, the function returns `null`.',\n    precision: 'Expression of type `integer`. If `null`, the function returns `null`. Valid values are between [1 and 12](https://en.wikipedia.org/wiki/Geohash).',\n    bounds: 'Optional bounds to filter the grid tiles, a `geo_shape` of type `BBOX`. Use [`ST_ENVELOPE`](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/spatial-functions/st_envelope) if the `geo_shape` is of any other type.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_geohex.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the `geohex`, the H3 cell-id, of the supplied geo_point at the specified precision.\\nThe result is long encoded.\\nUse `TO_STRING`\\nto convert the result to a string,\\n`TO_LONG`\\nto convert it to a `long`, or\\n`TO_GEOSHAPE`\\nto calculate the `geo_shape` bounding geometry.\\n\\nThese functions are related to the `geo_grid` query\\nand the `geohex_grid` aggregation.',\n  examples: [\n    'FROM airports\\n| EVAL geohex = ST_GEOHEX(location, 1)\\n| STATS\\n    count = COUNT(geohex),\\n    centroid = ST_CENTROID_AGG(location)\\n      BY geohex\\n| WHERE count >= 10\\n| EVAL geohexString = TO_STRING(geohex)\\n| KEEP count, centroid, geohexString\\n| SORT count DESC, geohexString ASC',\n  ],\n  params: {\n    geometry: 'Expression of type `geo_point`. If `null`, the function returns `null`.',\n    precision: 'Expression of type `integer`. If `null`, the function returns `null`. Valid values are between [0 and 15](https://h3geo.org/docs/core-library/restable/).',\n    bounds: 'Optional bounds to filter the grid tiles, a `geo_shape` of type `BBOX`. Use [`ST_ENVELOPE`](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/spatial-functions/st_envelope) if the `geo_shape` is of any other type.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_geometrytype.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the geometry type of the supplied geometry, as a string.\\nFor example: `ST_Point`, `ST_LineString`, `ST_Polygon`, `ST_MultiPoint`, `ST_MultiLineString`, `ST_MultiPolygon`, or `ST_GeometryCollection`.',\n  examples: [\n    'ROW wkt = [\\n    \"POINT(1.0 2.0)\",\\n    \"LINESTRING (30 10, 10 30, 40 40)\",\\n    \"POLYGON ((30 10, 40 40, 20 40, 10 20, 30 10))\"]\\n| MV_EXPAND wkt\\n| EVAL geometry = TO_GEOSHAPE(wkt),\\n       type = ST_GEOMETRYTYPE(geometry),\\n       points = ST_NPOINTS(geometry)\\n| KEEP type, points',\n  ],\n  params: {\n    geometry: 'Expression of type `geo_point`, `geo_shape`, `cartesian_point` or `cartesian_shape`. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_geotile.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the `geotile` of the supplied geo_point at the specified precision.\\nThe result is long encoded.\\nUse `TO_STRING`\\nto convert the result to a string,\\n`TO_LONG`\\nto convert it to a `long`, or\\n`TO_GEOSHAPE`\\nto calculate the `geo_shape` bounding geometry.\\n\\nThese functions are related to the `geo_grid` query\\nand the `geotile_grid` aggregation.',\n  examples: [\n    'FROM airports\\n| EVAL geotile = ST_GEOTILE(location, 2)\\n| STATS\\n    count = COUNT(geotile),\\n    centroid = ST_CENTROID_AGG(location)\\n      BY geotile\\n| EVAL geotileString = TO_STRING(geotile)\\n| SORT count DESC, geotileString ASC\\n| KEEP count, centroid, geotileString',\n  ],\n  params: {\n    geometry: 'Expression of type `geo_point`. If `null`, the function returns `null`.',\n    precision: 'Expression of type `integer`. If `null`, the function returns `null`. Valid values are between [0 and 29](https://wiki.openstreetmap.org/wiki/Zoom_levels).',\n    bounds: 'Optional bounds to filter the grid tiles, a `geo_shape` of type `BBOX`. Use [`ST_ENVELOPE`](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/spatial-functions/st_envelope) if the `geo_shape` is of any other type.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_intersection.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the geometric intersection of two geometries. The result is a geometry representing the portion that both input geometries have in common. Returns an empty geometry if the inputs do not intersect. Both geometries must share the same coordinate reference system.',\n  examples: [\n    'ROW a = TO_GEOSHAPE(\"POLYGON ((0 0, 3 0, 3 3, 0 3, 0 0))\"),\\n    b = TO_GEOSHAPE(\"POLYGON ((1 1, 4 1, 4 4, 1 4, 1 1))\")\\n| EVAL intersected = ST_INTERSECTION(a, b)\\n| KEEP intersected',\n  ],\n  params: {\n    geomA: 'Expression of type `geo_point`, `geo_shape`, `cartesian_point` or `cartesian_shape`. If `null`, the function returns `null`.',\n    geomB: 'Expression of type `geo_point`, `geo_shape`, `cartesian_point` or `cartesian_shape`. Must share the same coordinate reference system as the first parameter. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_intersects.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns true if two geometries intersect.\\nThey intersect if they have any point in common, including their interior points\\n(points along lines or within polygons).\\nThis is the inverse of the ST_DISJOINT function.\\nIn mathematical terms: ST_Intersects(A, B) ⇔ A ⋂ B ≠ ∅',\n  examples: [\n    'FROM airports\\n| WHERE ST_INTERSECTS(location, TO_GEOSHAPE(\"POLYGON((42 14, 43 14, 43 15, 42 15, 42 14))\"))',\n  ],\n  params: {\n    geomA: 'Expression that is either a geometry (`geo_point`, `cartesian_point`, `geo_shape` or `cartesian_shape`) or a geo-grid value (`geohash`, `geotile`, `geohex`). If `null`, the function returns `null`.',\n    geomB: 'Expression that is either a geometry (`geo_point`, `cartesian_point`, `geo_shape` or `cartesian_shape`) or a geo-grid value (`geohash`, `geotile`, `geohex`). If `null`, the function returns `null`. The second parameter must also have the same coordinate system as the first. This means it is not possible to combine `geo_*` and `cartesian_*` parameters.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_isempty.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns true if the supplied geometry is empty.\\nAn empty geometry is one that has no points, such as an empty geometry collection or an empty linestring.',\n  examples: [\n    'ROW point = TO_GEOPOINT(\"POINT(1.0 2.0)\"),\\n    empty_line = TO_GEOSHAPE(\"LINESTRING EMPTY\"),\\n    empty_polygon = TO_GEOSHAPE(\"POLYGON EMPTY\")\\n| EVAL pt_empty = ST_ISEMPTY(point),\\n       line_empty = ST_ISEMPTY(empty_line),\\n       polygon_empty = ST_ISEMPTY(empty_polygon)\\n| KEEP pt_empty, line_empty, polygon_empty',\n  ],\n  params: {\n    geometry: 'Expression of type `geo_point`, `geo_shape`, `cartesian_point` or `cartesian_shape`. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_npoints.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Counts the number of points in the supplied geometry.',\n  examples: [\n    'FROM airport_city_boundaries\\n| WHERE abbrev == \"CPH\"\\n| EVAL points = ST_NPOINTS(city_boundary)\\n| KEEP abbrev, airport, points',\n  ],\n  params: {\n    geometry: 'Expression of type `geo_point`, `geo_shape`, `cartesian_point` or `cartesian_shape`. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_simplify.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Simplifies the input geometry by applying the Douglas-Peucker algorithm with a specified tolerance. Vertices that fall within the tolerance distance from the simplified shape are removed. Note that the resulting geometry may be invalid, even if the original input was valid.',\n  examples: [\n    'ROW wkt = \"POLYGON ((7.998 53.827, 9.470 53.068, 15.754 53.801, 16.523 57.160, 11.162 57.868, 8.064 57.445, 6.219 55.317, 7.998 53.827))\"\\n| EVAL simplified = ST_SIMPLIFY(TO_GEOSHAPE(wkt), 0.7)',\n  ],\n  params: {\n    geometry: 'Expression of type `geo_point`, `geo_shape`, `cartesian_point` or `cartesian_shape`. If `null`, the function returns `null`.',\n    tolerance: 'Tolerance for the geometry simplification, in the units of the input SRS',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_simplifypreservetopology.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Simplifies the input geometry by applying a topology-preserving variant of the Douglas-Peucker algorithm with a specified tolerance. Vertices that fall within the tolerance distance from the simplified shape are removed. Unlike `ST_SIMPLIFY`, the resulting geometry is guaranteed to be topologically valid.',\n  examples: [\n    'ROW wkt = \"POLYGON ((7.998 53.827, 9.470 53.068, 15.754 53.801, 16.523 57.160, 11.162 57.868, 8.064 57.445, 6.219 55.317, 7.998 53.827))\"\\n| EVAL simplified = ST_SIMPLIFYPRESERVETOPOLOGY(TO_GEOSHAPE(wkt), 0.7)',\n  ],\n  params: {\n    geometry: 'Expression of type `geo_point`, `geo_shape`, `cartesian_point` or `cartesian_shape`. If `null`, the function returns `null`.',\n    tolerance: 'Tolerance for the geometry simplification, in the units of the input SRS',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_symdifference.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the symmetric difference of two geometries, that is the parts of each geometry that are not shared by both. This is equivalent to the union of the two differences: `ST_UNION(ST_DIFFERENCE(geomA, geomB), ST_DIFFERENCE(geomB, geomA))`. Both geometries must share the same coordinate reference system.',\n  examples: [\n    'ROW a = TO_GEOSHAPE(\"POLYGON ((0 0, 3 0, 3 3, 0 3, 0 0))\"),\\n    b = TO_GEOSHAPE(\"POLYGON ((1 1, 4 1, 4 4, 1 4, 1 1))\")\\n| EVAL symdiff = ST_SYMDIFFERENCE(a, b)\\n| KEEP symdiff',\n  ],\n  params: {\n    geomA: 'Expression of type `geo_point`, `geo_shape`, `cartesian_point` or `cartesian_shape`. If `null`, the function returns `null`.',\n    geomB: 'Expression of type `geo_point`, `geo_shape`, `cartesian_point` or `cartesian_shape`. Must share the same coordinate reference system as the first parameter. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_union.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the geometric union of two geometries. The result is a geometry that covers all points covered by either input geometry. Both geometries must share the same coordinate reference system.',\n  examples: [\n    'ROW a = TO_GEOSHAPE(\"POLYGON ((0 0, 2 0, 2 2, 0 2, 0 0))\"),\\n    b = TO_GEOSHAPE(\"POLYGON ((2 0, 4 0, 4 2, 2 2, 2 0))\")\\n| EVAL unioned = ST_UNION(a, b)\\n| KEEP unioned',\n  ],\n  params: {\n    geomA: 'Expression of type `geo_point`, `geo_shape`, `cartesian_point` or `cartesian_shape`. If `null`, the function returns `null`.',\n    geomB: 'Expression of type `geo_point`, `geo_shape`, `cartesian_point` or `cartesian_shape`. Must share the same coordinate reference system as the first parameter. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_within.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns whether the first geometry is within the second geometry.\\nThis is the inverse of the ST_CONTAINS function.',\n  examples: [\n    'FROM airport_city_boundaries\\n| WHERE ST_WITHIN(city_boundary, TO_GEOSHAPE(\"POLYGON((109.1 18.15, 109.6 18.15, 109.6 18.65, 109.1 18.65, 109.1 18.15))\"))\\n| KEEP abbrev, airport, region, city, city_location',\n  ],\n  params: {\n    geomA: 'Expression of type `geo_point`, `cartesian_point`, `geo_shape` or `cartesian_shape`. If `null`, the function returns `null`.',\n    geomB: 'Expression of type `geo_point`, `cartesian_point`, `geo_shape` or `cartesian_shape`. If `null`, the function returns `null`. The second parameter must also have the same coordinate system as the first. This means it is not possible to combine `geo_*` and `cartesian_*` parameters.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_x.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Extracts the `x` coordinate from the supplied point.\\nIf the point is of type `geo_point` this is equivalent to extracting the `longitude` value.',\n  examples: [\n    'ROW point = TO_GEOPOINT(\"POINT(42.97109629958868 14.7552534006536)\")\\n| EVAL x =  ST_X(point), y = ST_Y(point)',\n  ],\n  params: {\n    point: 'Expression of type `geo_point` or `cartesian_point`. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_xmax.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Extracts the maximum value of the `x` coordinates from the supplied geometry.\\nIf the geometry is of type `geo_point` or `geo_shape` this is equivalent to extracting the maximum `longitude` value.',\n  examples: [\n    'FROM airport_city_boundaries\\n| WHERE abbrev == \"CPH\"\\n| EVAL envelope = ST_ENVELOPE(city_boundary)\\n| EVAL xmin = ST_XMIN(envelope), xmax = ST_XMAX(envelope), ymin = ST_YMIN(envelope), ymax = ST_YMAX(envelope)\\n| KEEP abbrev, airport, xmin, xmax, ymin, ymax',\n  ],\n  params: {\n    point: 'Expression of type `geo_point`, `geo_shape`, `cartesian_point` or `cartesian_shape`. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_xmin.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Extracts the minimum value of the `x` coordinates from the supplied geometry.\\nIf the geometry is of type `geo_point` or `geo_shape` this is equivalent to extracting the minimum `longitude` value.',\n  examples: [\n    'FROM airport_city_boundaries\\n| WHERE abbrev == \"CPH\"\\n| EVAL envelope = ST_ENVELOPE(city_boundary)\\n| EVAL xmin = ST_XMIN(envelope), xmax = ST_XMAX(envelope), ymin = ST_YMIN(envelope), ymax = ST_YMAX(envelope)\\n| KEEP abbrev, airport, xmin, xmax, ymin, ymax',\n  ],\n  params: {\n    point: 'Expression of type `geo_point`, `geo_shape`, `cartesian_point` or `cartesian_shape`. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_y.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Extracts the `y` coordinate from the supplied point.\\nIf the point is of type `geo_point` this is equivalent to extracting the `latitude` value.',\n  examples: [\n    'ROW point = TO_GEOPOINT(\"POINT(42.97109629958868 14.7552534006536)\")\\n| EVAL x =  ST_X(point), y = ST_Y(point)',\n  ],\n  params: {\n    point: 'Expression of type `geo_point` or `cartesian_point`. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_ymax.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Extracts the maximum value of the `y` coordinates from the supplied geometry.\\nIf the geometry is of type `geo_point` or `geo_shape` this is equivalent to extracting the maximum `latitude` value.',\n  examples: [\n    'FROM airport_city_boundaries\\n| WHERE abbrev == \"CPH\"\\n| EVAL envelope = ST_ENVELOPE(city_boundary)\\n| EVAL xmin = ST_XMIN(envelope), xmax = ST_XMAX(envelope), ymin = ST_YMIN(envelope), ymax = ST_YMAX(envelope)\\n| KEEP abbrev, airport, xmin, xmax, ymin, ymax',\n  ],\n  params: {\n    point: 'Expression of type `geo_point`, `geo_shape`, `cartesian_point` or `cartesian_shape`. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/st_ymin.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Extracts the minimum value of the `y` coordinates from the supplied geometry.\\nIf the geometry is of type `geo_point` or `geo_shape` this is equivalent to extracting the minimum `latitude` value.',\n  examples: [\n    'FROM airport_city_boundaries\\n| WHERE abbrev == \"CPH\"\\n| EVAL envelope = ST_ENVELOPE(city_boundary)\\n| EVAL xmin = ST_XMIN(envelope), xmax = ST_XMAX(envelope), ymin = ST_YMIN(envelope), ymax = ST_YMAX(envelope)\\n| KEEP abbrev, airport, xmin, xmax, ymin, ymax',\n  ],\n  params: {\n    point: 'Expression of type `geo_point`, `geo_shape`, `cartesian_point` or `cartesian_shape`. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/starts_with.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns a boolean that indicates whether a keyword string starts with another string.',\n  examples: [\n    'FROM employees\\n| KEEP last_name\\n| EVAL ln_S = STARTS_WITH(last_name, \"B\")',\n  ],\n  params: {\n    str: 'String expression. If `null`, the function returns `null`.',\n    prefix: 'String expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/std_dev.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'The population standard deviation of a numeric field.',\n  examples: [\n    'FROM employees\\n| STATS std_dev_height = STD_DEV(height)',\n    'FROM employees\\n| STATS stddev_salary_change = STD_DEV(MV_MAX(salary_change))',\n  ],\n  params: {\n    number: '',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/stddev_over_time.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the population standard deviation over time of a numeric field.',\n  examples: [\n    'TS k8s\\n| STATS max_stddev_cost=MAX(STDDEV_OVER_TIME(network.cost)) BY cluster, time_bucket = TBUCKET(1minute)',\n  ],\n  params: {\n    field: 'the metric field to calculate the standard deviation for',\n    window: 'the time window over which to compute the standard deviation over time',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/substring.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns a substring of a string, specified by a start position and an optional length.',\n  examples: [\n    'FROM employees\\n| KEEP last_name\\n| EVAL ln_sub = SUBSTRING(last_name, 1, 3)',\n    'FROM employees\\n| KEEP last_name\\n| EVAL ln_sub = SUBSTRING(last_name, -3, 3)',\n    'FROM employees\\n| KEEP last_name\\n| EVAL ln_sub = SUBSTRING(last_name, 2)',\n  ],\n  params: {\n    string: 'String expression. If `null`, the function returns `null`.',\n    start: 'Start position.',\n    length: 'Length of the substring from the start position. Optional; if omitted, all positions after `start` are returned.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/sum.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'The sum of a numeric expression.',\n  examples: [\n    'FROM employees\\n| STATS SUM(languages)',\n    'FROM employees\\n| STATS total_salary_changes = SUM(MV_MAX(salary_change))',\n    'TS exp_histo_sample\\n| WHERE instance == \"instance-0\"\\n| STATS total = ROUND(SUM(responseTime), 2)',\n    'TS histogram_timeseries_index\\n| WHERE instance == \"instance-0\"\\n| STATS total = ROUND(SUM(responseTime::tdigest), 2)',\n  ],\n  params: {\n    number: '',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/sum_over_time.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the sum over time value of a field.',\n  examples: [\n    'TS k8s\\n| STATS sum_cost=SUM(SUM_OVER_TIME(network.cost)) BY cluster, time_bucket = TBUCKET(1minute)',\n  ],\n  params: {\n    field: 'the metric field to calculate the value for',\n    window: 'the time window over which to compute the sum over time',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/tan.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the tangent of an angle.',\n  examples: [\n    'ROW a=1.8\\n| EVAL tan=TAN(a)',\n  ],\n  params: {\n    angle: 'An angle, in radians. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/tanh.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the hyperbolic tangent of a number.',\n  examples: [\n    'ROW a=1.8\\n| EVAL tanh=TANH(a)',\n  ],\n  params: {\n    number: 'Numeric expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/tau.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the ratio of a circle’s circumference to its radius.',\n  examples: [\n    'ROW TAU()',\n  ],\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/tbucket.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Creates groups of values - buckets - out of a `@timestamp` attribute.\\nThe size of the buckets can be provided directly as a duration or period.\\nAlternatively, the bucket size can be chosen based on a recommended count\\nand a range.\\n\\nWhen using ES|QL in Kibana, the range can be derived automatically from the\\n`@timestamp` filter\\nthat Kibana adds to the query.',\n  examples: [\n    'FROM sample_data\\n| STATS count = COUNT(*) BY bucket = TBUCKET(3, \"2023-10-23T12:00:00Z\", \"2023-10-23T14:00:00Z\")\\n| SORT bucket',\n    'FROM sample_data\\n| STATS count = COUNT(*) BY bucket = TBUCKET(20, \"2023-10-23T12:00:00Z\", \"2023-10-23T14:00:00Z\")\\n| SORT bucket',\n    'FROM sample_data\\n| STATS min = MIN(@timestamp), max = MAX(@timestamp) BY bucket = TBUCKET(1 hour)\\n| SORT min',\n    'FROM sample_data\\n| STATS min = MIN(@timestamp), max = MAX(@timestamp) BY bucket = TBUCKET(\"1 hour\")\\n| SORT min',\n  ],\n  params: {\n    buckets: 'Target number of buckets, or desired bucket size. When a number is provided, the actual bucket size is derived from `from`/`to` or the `@timestamp` range in the query filter. When a duration or period is provided, it is used as the explicit bucket size.',\n    from: 'Start of the range. Required with a numeric `buckets` when no `@timestamp` range is in the query filter.',\n    to: 'End of the range. Required with a numeric `buckets` when no `@timestamp` range is in the query filter.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/text_embedding.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Generates dense vector embeddings from text input using a specified inference endpoint. Use this function to generate query vectors for KNN searches against your vectorized data or others dense vector based operations.',\n  examples: [\n    'FROM dense_vector_text METADATA _score\\n| WHERE KNN(text_embedding_field, TEXT_EMBEDDING(\"be excellent to each other\", \"test_dense_inference\"))',\n  ],\n  params: {\n    text: 'Text string to generate embeddings from. Must be a non-null literal string value.',\n    inference_id: 'Identifier of an existing inference endpoint that will generate the embeddings. The inference endpoint must have the `text_embedding` task type and should use the same model that was used to embed your indexed data.',\n    options: '(Optional) Options for the inference request.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_aggregate_metric_double.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Encode a numeric to an aggregate_metric_double.',\n  examples: [\n    'ROW x = 3892095203\\n| EVAL agg_metric = TO_AGGREGATE_METRIC_DOUBLE(x)',\n    'ROW x = [5032, 11111, 40814]\\n| EVAL agg_metric = TO_AGGREGATE_METRIC_DOUBLE(x)',\n  ],\n  params: {\n    number: 'Input value. The input can be a single- or multi-valued column or an expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_base64.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Encode a string to a base64 string.',\n  examples: [\n    'ROW a = \"elastic\"\\n| EVAL e = TO_BASE64(a)',\n  ],\n  params: {\n    string: 'A string.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_boolean.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts an input value to a boolean value.\\nA string value of `true` will be case-insensitive converted to the Boolean `true`.\\nFor anything else, including the empty string, the function will return `false`.\\nThe numerical value of `0` will be converted to `false`, anything else will be converted to `true`.',\n  examples: [\n    'ROW str = [\"true\", \"TRuE\", \"false\", \"\", \"yes\", \"1\"]\\n| EVAL bool = TO_BOOLEAN(str)',\n  ],\n  params: {\n    field: 'Input value. The input can be a single- or multi-valued column or an expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_cartesianpoint.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts an input value to a `cartesian_point` value.\\nA string will only be successfully converted if it respects the\\nWKT Point format.',\n  examples: [\n    'ROW wkt = [\"POINT(4297.11 -1475.53)\", \"POINT(7580.93 2272.77)\"]\\n| MV_EXPAND wkt\\n| EVAL pt = TO_CARTESIANPOINT(wkt)',\n  ],\n  params: {\n    field: 'Input value. The input can be a single- or multi-valued column or an expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_cartesianshape.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts an input value to a `cartesian_shape` value.\\nA string will only be successfully converted if it respects the\\nWKT format.',\n  examples: [\n    'ROW wkt = [\"POINT(4297.11 -1475.53)\", \"POLYGON ((3339584.72 1118889.97, 4452779.63 4865942.27, 2226389.81 4865942.27, 1113194.90 2273030.92, 3339584.72 1118889.97))\"]\\n| MV_EXPAND wkt\\n| EVAL geom = TO_CARTESIANSHAPE(wkt)',\n  ],\n  params: {\n    field: 'Input value. The input can be a single- or multi-valued column or an expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_counter.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts a numeric value to its counter equivalent. The output type is determined by the input:\\n`long` converts to `counter_long`, `integer` to `counter_integer`, and `double` to `counter_double`.\\nNo values are modified; only the type annotation changes. If the input is already a counter, the function is a no-op. This is useful when a metric field was misclassified as a plain numeric type instead of a counter in the index mapping.\\nThis function is also available as the `::counter` cast operator.',\n  examples: [\n    'TS k8s\\n| STATS rate_bytes_in=avg(rate(network.total_bytes_in::counter)) BY time_bucket = bucket(@timestamp,1minute)\\n| EVAL rate_bytes_in=ROUND(rate_bytes_in, 6) | KEEP rate_bytes_in, time_bucket\\n| SORT rate_bytes_in DESC, time_bucket DESC | LIMIT 10;',\n  ],\n  params: {\n    field: 'Input value. The input can be a single- or multi-valued column or an expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_date_nanos.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts an input to a nanosecond-resolution date value (aka date_nanos).',\n  examples: [\n    'FROM date_nanos\\n| WHERE MV_MIN(nanos) < TO_DATE_NANOS(\"2023-10-23T12:27:28.948Z\")\\n    AND millis > \"2000-01-01\"\\n| SORT nanos DESC',\n  ],\n  note: 'The range for date nanos is 1970-01-01T00:00:00.000000000Z to 2262-04-11T23:47:16.854775807Z, attempting to convert values outside of that range will result in null with a warning.  Additionally, integers cannot be converted into date nanos, as the range of integer nanoseconds only covers about 2 seconds after epoch.',\n  params: {\n    field: 'Input value. The input can be a single- or multi-valued column or an expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_date_range.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts an input value to a `date_range` value.\\nStrings are parsed as a date range in the format `start..end`, where `start` and `end` are dates in ISO format. The range is half-open `[start, end)`.',\n  examples: [\n    'ROW str = \"2020-01-01T00:00:00.000Z..2021-01-01T00:00:00.000Z\"\\n| EVAL range = TO_DATE_RANGE(str)',\n  ],\n  params: {\n    field: 'Input value. The input can be a single- or multi-valued column or an expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_dateperiod.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts an input value into a `date_period` value.',\n  examples: [\n    'ROW x = \"2024-01-01\"::datetime\\n| EVAL y = x + \"3 DAYS\"::date_period, z = x - TO_DATEPERIOD(\"3 days\");',\n  ],\n  params: {\n    field: 'Input value. The input is a valid constant date period expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_datetime.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts an input value to a date value.\\nA string will only be successfully converted if it’s respecting the format `yyyy-MM-dd\\'T\\'HH:mm:ss.SSS\\'Z\\'`.\\nTo convert dates in other formats, use `DATE_PARSE`.',\n  examples: [\n    'ROW string = [\"1953-09-02T00:00:00.000Z\", \"1964-06-02T00:00:00.000Z\", \"1964-06-02 00:00:00\"]\\n| EVAL datetime = TO_DATETIME(string)',\n    'ROW int = [0, 1]\\n| EVAL dt = TO_DATETIME(int)',\n  ],\n  note: 'Note that when converting from nanosecond resolution to millisecond resolution with this function, the nanosecond date is truncated, not rounded.',\n  params: {\n    field: 'Input value. The input can be a single- or multi-valued column or an expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_degrees.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts a number in radians to degrees.',\n  examples: [\n    'ROW rad = [1.57, 3.14, 4.71]\\n| EVAL deg = TO_DEGREES(rad)',\n  ],\n  params: {\n    number: 'Input value. The input can be a single- or multi-valued column or an expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_dense_vector.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts a multi-valued input of numbers, or a hexadecimal string, to a dense_vector.',\n  examples: [\n    'row ints = [1, 2, 3]\\n| eval vector = to_dense_vector(ints)\\n| keep vector',\n  ],\n  params: {\n    field: 'multi-valued input of numbers or hexadecimal string to convert.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_double.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts an input value to a double value. If the input parameter is of a date type,\\nits value will be interpreted as milliseconds since the Unix epoch,\\nconverted to double. Boolean `true` will be converted to double `1.0`, `false` to `0.0`.',\n  examples: [\n    'ROW str1 = \"5.20128E11\", str2 = \"foo\"\\n| EVAL dbl = TO_DOUBLE(\"520128000000\"), dbl1 = TO_DOUBLE(str1), dbl2 = TO_DOUBLE(str2)',\n  ],\n  params: {\n    field: 'Input value. The input can be a single- or multi-valued column or an expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_double_range.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts an input value to a `double_range` value.\\nStrings are parsed as a double range in the format `start..end`, where `start` and `end` are double-precision floating-point numbers. The range is half-open `[start, end)`.',\n  examples: [\n    'ROW str = \"1.5..2.5\"\\n| EVAL range = TO_DOUBLE_RANGE(str)',\n  ],\n  params: {\n    field: 'Input value. The input can be a single- or multi-valued column or an expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_exponential_histogram.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts histogram-like values to an exponential histogram.',\n  examples: [\n    'FROM histogram_standard_index\\n | WHERE STARTS_WITH(instance, \"hand-rolled\")\\n | EVAL converted = to_exponential_histogram(responseTime)\\n | SORT instance\\n | KEEP responseTime, converted\\n;',\n  ],\n  params: {\n    field: 'The histogram value to be converted',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_gauge.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts a counter value to its gauge (plain numeric) equivalent. The output type is determined by the input:\\n`counter_long` converts to `long`, `counter_integer` to `integer`, and `counter_double` to `double`.\\nNo values are modified; only the type annotation changes. If the input is already a plain numeric or `aggregate_metric_double`, the function is a no-op. This is useful when a metric field was misclassified as a counter type instead of a plain numeric (gauge) in the index mapping.\\nThis function is also available as the `::gauge` cast operator.',\n  examples: [\n    'TS k8s\\n| STATS bytes_in = avg(avg_over_time(network.bytes_in::gauge)) BY cluster, time_bucket = bucket(@timestamp, 10minute)\\n| EVAL bytes_in = round(bytes_in, 4)\\n| KEEP bytes_in, cluster, time_bucket\\n| SORT time_bucket, cluster\\n| LIMIT 10;',\n  ],\n  params: {\n    field: 'Input value. The input can be a single- or multi-valued column or an expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_geohash.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts an input value to a `geohash` value.\\nA string will only be successfully converted if it respects the\\n`geohash` format, as described for the\\ngeohash grid aggregation.',\n  examples: [\n    'ROW string = \"u3bu\"\\n| EVAL geohash = TO_GEOHASH(string)',\n  ],\n  params: {\n    field: 'Input value. The input can be a single- or multi-valued column or an expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_geohex.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts an input value to a `geohex` value.\\nA string will only be successfully converted if it respects the\\n`geohex` format, as described for the\\ngeohex grid aggregation.',\n  examples: [\n    'ROW string = \"841f059ffffffff\"\\n| EVAL geohex = TO_GEOHEX(string)',\n  ],\n  params: {\n    field: 'Input value. The input can be a single- or multi-valued column or an expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_geopoint.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts an input value to a `geo_point` value.\\nA string will only be successfully converted if it respects the\\nWKT Point format.',\n  examples: [\n    'ROW wkt = \"POINT(42.97109630194 14.7552534413725)\"\\n| EVAL pt = TO_GEOPOINT(wkt)',\n  ],\n  params: {\n    field: 'Input value. The input can be a single- or multi-valued column or an expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_geoshape.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts an input value to a `geo_shape` value.\\nA string will only be successfully converted if it respects the\\nWKT format.',\n  examples: [\n    'ROW wkt = \"POLYGON ((30 10, 40 40, 20 40, 10 20, 30 10))\"\\n| EVAL geom = TO_GEOSHAPE(wkt)',\n  ],\n  params: {\n    field: 'Input value. The input can be a single- or multi-valued column or an expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_geotile.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts an input value to a `geotile` value.\\nA string will only be successfully converted if it respects the\\n`geotile` format, as described for the\\ngeotile grid aggregation.',\n  examples: [\n    'ROW string = \"4/8/5\"\\n| EVAL geotile = TO_GEOTILE(string)',\n  ],\n  params: {\n    field: 'Input value. The input can be a single- or multi-valued column or an expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_integer.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts an input value to an integer value.\\nIf the input parameter is of a date type, its value will be interpreted as milliseconds\\nsince the Unix epoch, converted to integer.\\nBoolean `true` will be converted to integer `1`, `false` to `0`.',\n  examples: [\n    'ROW long = [5013792, 2147483647, 501379200000]\\n| EVAL int = TO_INTEGER(long)',\n    'ROW str1 = \"0x32\", str2 = \"31\"\\n| EVAL int1 = TO_INTEGER(str1, 16), int2 = TO_INTEGER(str2, 13)\\n| KEEP str1, int1, str2, int2',\n    'ROW str1 = \"Kona\"\\n| EVAL int1 = TO_INTEGER(str1, 27), fail1 = TO_INTEGER(str1, 10)',\n  ],\n  params: {\n    field: 'Input value. The input can be a single- or multi-valued column or an expression.',\n    base: '(Optional) Radix or base used to convert the input value.When a base is specified the input type must be `keyword` or `text`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_ip.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts an input string to an IP value.',\n  examples: [\n    'ROW str1 = \"1.1.1.1\", str2 = \"foo\"\\n| EVAL ip1 = TO_IP(str1), ip2 = TO_IP(str2)\\n| WHERE CIDR_MATCH(ip1, \"1.0.0.0/8\")',\n    'ROW s = \"1.1.010.1\" | EVAL ip = TO_IP(s, {\"leading_zeros\":\"octal\"})',\n    'ROW s = \"1.1.010.1\" | EVAL ip = TO_IP(s, {\"leading_zeros\":\"decimal\"})',\n  ],\n  params: {\n    field: 'Input value. The input can be a single- or multi-valued column or an expression.',\n    options: '(Optional) Additional options.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_long.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts the input value to a long.\\nIf the input parameter is of a date type, its value will be interpreted as milliseconds\\nsince the Unix epoch, converted to long.\\nBoolean `true` will be converted to long `1`, `false` to `0`.',\n  examples: [\n    'ROW str1 = \"2147483648\", str2 = \"2147483648.2\", str3 = \"foo\"\\n| EVAL long1 = TO_LONG(str1), long2 = TO_LONG(str2), long3 = TO_LONG(str3)',\n    'ROW str1 = \"0x32\", str2 = \"31\"\\n| EVAL long1 = TO_LONG(str1, 16), long2 = TO_LONG(str2, 13)\\n| KEEP str1, long1, str2, long2',\n    'ROW str1 = \"Hazelnut\"\\n| EVAL long1 = TO_LONG(str1, 36), fail1 = TO_LONG(str1, 10)',\n  ],\n  params: {\n    field: 'Input value. The input can be a single- or multi-valued column or an expression.',\n    base: '(Optional) Radix or base used to convert the input value.When a base is specified the input type must be `keyword` or `text`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_lower.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns a new string representing the input string converted to lower case.',\n  examples: [\n    'ROW message = \"Some Text\"\\n| EVAL message_lower = TO_LOWER(message)',\n    'ROW v = TO_LOWER([\"Some\", \"Text\"])',\n  ],\n  params: {\n    str: 'String expression. If `null`, the function returns `null`. The input can be a single-valued column or expression, or a multi-valued column or expression. ',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_radians.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts a number in degrees to radians.',\n  examples: [\n    'ROW deg = [90.0, 180.0, 270.0]\\n| EVAL rad = TO_RADIANS(deg)',\n  ],\n  params: {\n    number: 'Input value. The input can be a single- or multi-valued column or an expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_range.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Constructs a range from two boundary values. The first argument is the inclusive lower bound; the second is the exclusive upper bound, following the half-open `[from, to)` convention used for all range types in ES|QL. Accepts `datetime` arguments and returns a `date_range`, or accepts `double` arguments and returns a `double_range`.',\n  examples: [\n    'ROW from_dt = TO_DATETIME(\"2000-01-01T00:00:00.000Z\"), to_dt = TO_DATETIME(\"2010-01-01T00:00:00.000Z\")\\n| EVAL r = TO_RANGE(from_dt, to_dt)\\n| KEEP r',\n  ],\n  params: {\n    from: 'Inclusive lower bound of the range (`[from, to)`). If `null`, the function returns `null`.',\n    to: 'Exclusive upper bound of the range (`[from, to)`). If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_string.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts an input value into a string.',\n  examples: [\n    'ROW a=10\\n| EVAL j = TO_STRING(a)',\n    'ROW a=[10, 9, 8]\\n| EVAL j = TO_STRING(a)',\n  ],\n  params: {\n    field: 'Input value. The input can be a single- or multi-valued column or an expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_tdigest.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts an untyped histogram to a TDigest, assuming the values are centroids.',\n  examples: [\n    'FROM histogram_standard_index\\n | WHERE instance == \"hand-rolled\"\\n | EVAL tdigest = to_tdigest(responseTime)\\n | KEEP responseTime, tdigest\\n;',\n  ],\n  params: {\n    field: 'The histogram value to be converted',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_text.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts an input value into text.',\n  examples: [\n    'ROW a = [\"this\", \"is\", \"a\", \"text\"]\\n| EVAL text_a = TO_TEXT(a)',\n  ],\n  params: {\n    field: 'Input value. The input can be a single- or multi-valued column or an expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_timeduration.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts an input value into a `time_duration` value.',\n  examples: [\n    'ROW x = \"2024-01-01\"::datetime\\n| EVAL y = x + \"3 hours\"::time_duration, z = x - TO_TIMEDURATION(\"3 hours\");',\n  ],\n  params: {\n    field: 'Input value. The input is a valid constant time duration expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_unsigned_long.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts an input value to an unsigned long value. If the input parameter is of a date type,\\nits value will be interpreted as milliseconds since the Unix epoch, converted to unsigned long.\\nBoolean `true` will be converted to unsigned long `1`, `false` to `0`.',\n  examples: [\n    'ROW str1 = \"2147483648\", str2 = \"2147483648.2\", str3 = \"foo\"\\n| EVAL long1 = TO_UNSIGNED_LONG(str1), long2 = TO_ULONG(str2), long3 = TO_UL(str3)',\n  ],\n  params: {\n    field: 'Input value. The input can be a single- or multi-valued column or an expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_upper.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns a new string representing the input string converted to upper case.',\n  examples: [\n    'ROW message = \"Some Text\"\\n| EVAL message_upper = TO_UPPER(message)',\n  ],\n  params: {\n    str: 'String expression. If `null`, the function returns `null`. The input can be a single-valued column or expression, or a multi-valued column or expression. ',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/to_version.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Converts an input string to a version value.',\n  examples: [\n    'ROW v = TO_VERSION(\"1.2.3\")',\n  ],\n  params: {\n    field: 'Input value. The input can be a single- or multi-valued column or an expression.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/top.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Collects the top values for a field. Includes repeated values.',\n  examples: [\n    'FROM employees\\n| STATS top_salaries = TOP(salary, 3, \"desc\"), top_salary = MAX(salary)',\n  ],\n  params: {\n    field: 'The field to collect the top values for.',\n    limit: 'The maximum number of values to collect.',\n    order: 'The order to calculate the top values. Either `asc` or `desc`, and defaults to `asc` if omitted.',\n    outputField: 'The extra field that, if present, will be the output of the TOP call instead of `field`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/top_snippets.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Use `TOP_SNIPPETS` to extract the best snippets for a given query string from a text field.',\n  examples: [\n    'FROM books\\n| EVAL snippets = TOP_SNIPPETS(description, \"Tolkien\")',\n    'FROM books\\n| WHERE MATCH(title, \"Return\")\\n| EVAL snippets = TOP_SNIPPETS(description, \"Tolkien\", { \"num_snippets\": 3, \"num_words\": 25 })',\n    'FROM books\\n| WHERE MATCH(title, \"return\")\\n| RERANK \"Tolkien\" ON TOP_SNIPPETS(description, \"Tolkien\", { \"num_snippets\": 3, \"num_words\": 25 }) WITH { \"inference_id\" : \"test_reranker\" }',\n    'FROM books\\n| WHERE MATCH(title, \"Return\")\\n| EVAL snippets = TOP_SNIPPETS(description, \"Tolkien\", { \"num_snippets\": 1, \"num_words\": 25, \"highlight\": true })',\n    'ROW chunks = [\"Alice was beginning to get very tired of sitting by her sister on the bank. The white rabbit disappeared down a hole and Alice quickly jumped in after it. The rabbit hole went straight on like a tunnel for some way and then dipped suddenly.\", \"The Queen of Hearts ordered her soldiers to paint the white roses red.\"]\\n| EVAL snippets = TOP_SNIPPETS(chunks, \"alice rabbit hole\", {\"num_words\": 0, \"highlight\": true})',\n    'ROW content = CONCAT(\\n    \"# Climate Change Solutions\\\\\\\\n\\\\\\\\n\",\\n    \"## Renewable Energy\\\\\\\\n\",\\n    \"Solar and wind power are becoming cost-competitive with fossil fuels. Investment in clean energy infrastructure creates jobs.\\\\\\\\n\\\\\\\\n\",\\n    \"## Carbon Capture\\\\\\\\n\",\\n    \"Direct air capture technology removes CO2 from the atmosphere. These systems require significant energy input but show promise for large-scale deployment.\\\\\\\\n\\\\\\\\n\",\\n    \"## Policy Changes\\\\\\\\n\",\\n    \"Government regulations can accelerate the transition to clean energy through carbon pricing and renewable energy mandates.\")\\n| EVAL chunked_content = CHUNK(content, {\"strategy\": \"recursive\", \"max_chunk_size\": 30, \"separators\": [\"##\", \"\\\\\\\\n\\\\\\\\n\"]})\\n| EVAL snippets = TOP_SNIPPETS(chunked_content, \"clean energy\", {\"num_words\": 0, \"num_snippets\": 1, \"highlight\":true})\\n| KEEP snippets',\n  ],\n  params: {\n    field: 'The field to extract snippets from. The input can be a single-valued or multi-valued field. In the case of a multi-valued argument, snippets are extracted from each value separately.',\n    query: 'The input text containing only query terms for snippet extraction. Lucene query syntax, operators, and wildcards are not allowed.',\n    options: '(Optional) `TOP_SNIPPETS` additional options as [function named parameters](https://www.elastic.co/docs/reference/query-languages/esql/esql-syntax#esql-function-named-params).',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/trange.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Filters data for the given time range using the @timestamp attribute.',\n  examples: [\n    'FROM k8s\\n| WHERE TRANGE(1h)\\n| KEEP @timestamp',\n    'FROM k8s\\n| WHERE TRANGE(\"2024-05-10T00:17:14.000Z\", \"2024-05-10T00:18:33.000Z\")\\n| SORT @timestamp\\n| KEEP @timestamp\\n| LIMIT 10',\n    'FROM k8s\\n| WHERE TRANGE(to_datetime(\"2024-05-10T00:17:14Z\"), to_datetime(\"2024-05-10T00:18:33Z\"))\\n| SORT @timestamp\\n| KEEP @timestamp\\n| LIMIT 10',\n    'FROM k8s\\n| WHERE TRANGE(to_datetime(\"2024-05-10T00:17:14.000Z\"), to_datetime(\"2024-05-10T00:18:33.000Z\"))\\n| SORT @timestamp\\n| KEEP @timestamp\\n| LIMIT 10',\n    'FROM k8s\\n| WHERE TRANGE(1715300236000, 1715300282000)\\n| SORT @timestamp\\n| KEEP @timestamp\\n| LIMIT 10',\n  ],\n  params: {\n    start_time_or_offset: ' Offset from NOW for the single parameter mode. Start time for two parameter mode.  In two parameter mode, the start time value can be a date string, date, date_nanos or epoch milliseconds. ',\n    end_time: 'Explicit end time that can be a date string, date, date_nanos or epoch milliseconds.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/trim.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Removes leading and trailing whitespaces from a string.',\n  examples: [\n    'ROW message = \"   some text  \",  color = \" red \"\\n| EVAL message = TRIM(message)\\n| EVAL color = TRIM(color)',\n  ],\n  params: {\n    string: 'String expression. If `null`, the function returns `null`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/tstep.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Creates groups of values - buckets - out of a `@timestamp` attribute using either a fixed step width\\nor a target bucket count.\\nUnlike `TBUCKET`,\\nwhich aligns buckets to calendar boundaries, TSTEP uses a fixed-width UTC grid anchored at the start\\nof the query range. Each bucket is labeled by its right boundary.\\nWhen a target bucket count is provided, TSTEP derives a fixed step width from the query range.\\nThe derived step is rounded up so that the result uses no more than the target number of buckets.\\n\\nWhen using ES|QL in Kibana, the range can be derived automatically from the\\n`@timestamp` filter\\nthat Kibana adds to the query.',\n  examples: [\n    'FROM sample_data\\n| STATS min = MIN(@timestamp), max = MAX(@timestamp) BY bucket = TSTEP(1 hour)\\n| SORT bucket',\n    'FROM sample_data\\n| STATS min = MIN(@timestamp), max = MAX(@timestamp) BY bucket = TSTEP(1 hour, \"2023-10-23T12:15:00.000Z\", \"2023-10-23T13:55:01.543Z\")\\n| SORT bucket',\n    'FROM sample_data\\n| STATS min = MIN(@timestamp), max = MAX(@timestamp) BY bucket = TSTEP(2, \"2023-10-23T12:15:00.000Z\", \"2023-10-23T14:15:00.000Z\")\\n| SORT bucket',\n  ],\n  params: {\n    step: 'Fixed bucket width on a UTC grid, or a target bucket count. When a bucket count is provided, the actual step width is derived from `from` and `to` and rounded up so the target bucket count is not exceeded. TSTEP always needs a range to anchor the grid; when `from` and `to` are omitted, the range is derived from the request `@timestamp` filter.',\n    from: 'Start of the time range that anchors the step grid. Required together with `to`.',\n    to: 'End of the time range. Required together with `from`.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/url_decode.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'URL-decodes the input, or returns `null` and adds a warning header to the response if the input cannot be decoded.',\n  examples: [\n    'ROW u = \"https%3A%2F%2Fexample.com%2F%3Fx%3Dfoo%20bar%26y%3Dbaz\"\\n| EVAL u = URL_DECODE(u)',\n  ],\n  params: {\n    string: 'The URL-encoded string to decode.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/url_encode.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'URL-encodes the input. All characters are percent-encoded except for alphanumerics, `.`, `-`, `_`, and `~`. Spaces are encoded as `+`.',\n  examples: [\n    'ROW u = \"https://example.com/?x=foo bar&y=baz\" | EVAL u = URL_ENCODE(u)',\n  ],\n  params: {\n    string: 'The URL to encode.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/url_encode_component.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'URL-encodes the input. All characters are percent-encoded except for alphanumerics, `.`, `-`, `_`, and `~`. Spaces are encoded as `%20`.',\n  examples: [\n    'ROW u = \"https://example.com/?x=foo bar&y=baz\"\\n| EVAL u = URL_ENCODE_COMPONENT(u)',\n  ],\n  params: {\n    string: 'The URL to encode.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/v_cosine.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the cosine similarity between two dense_vectors.',\n  examples: [\n    'from colors\\n| where color != \"black\"\\n| eval similarity = v_cosine(rgb_vector, [0, 255, 255])\\n| sort similarity desc, color asc',\n  ],\n  params: {\n    left: 'first dense_vector to calculate cosine similarity',\n    right: 'second dense_vector to calculate cosine similarity',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/v_dot_product.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the dot product between two dense_vectors.',\n  examples: [\n    'from colors\\n| eval similarity = v_dot_product(rgb_vector, [0, 255, 255])\\n| sort similarity desc, color asc',\n  ],\n  params: {\n    left: 'first dense_vector to calculate dot product similarity',\n    right: 'second dense_vector to calculate dot product similarity',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/v_hamming.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the Hamming distance between two dense vectors.',\n  examples: [\n    'from colors\\n| eval similarity = v_hamming(rgb_byte_vector, [0, 127, 127])\\n| sort similarity desc, color asc',\n  ],\n  params: {\n    left: 'First dense_vector to use to calculate the Hamming distance',\n    right: 'Second dense_vector to use to calculate the Hamming distance',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/v_l1_norm.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the l1 norm between two dense_vectors.',\n  examples: [\n    'from colors\\n| eval similarity = v_l1_norm(rgb_vector, [0, 255, 255])\\n| sort similarity desc, color asc',\n  ],\n  params: {\n    left: 'first dense_vector to calculate l1 norm similarity',\n    right: 'second dense_vector to calculate l1 norm similarity',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/v_l2_norm.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the l2 norm between two dense_vectors.',\n  examples: [\n    'from colors\\n| eval similarity = v_l2_norm(rgb_vector, [0, 255, 255])\\n| sort similarity desc, color asc',\n  ],\n  params: {\n    left: 'first dense_vector to calculate l2 norm similarity',\n    right: 'second dense_vector to calculate l2 norm similarity',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/v_magnitude.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the magnitude of a dense_vector.',\n  examples: [\n    ' from colors\\n | eval magnitude = v_magnitude(rgb_vector)\\n | sort magnitude desc, color asc',\n  ],\n  params: {\n    input: 'dense_vector for which to compute the magnitude',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/values.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns unique (deduplicated) values as a multivalued field. The order of the returned values isn’t guaranteed.\\nIf you need the values returned in order use\\n`MV_SORT`.',\n  examples: [\n    'FROM employees\\n| EVAL first_letter = SUBSTRING(first_name, 0, 1)\\n| STATS first_name = MV_SORT(VALUES(first_name)) BY first_letter\\n| SORT first_letter',\n  ],\n  params: {\n    field: '',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/variance.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'The population variance of a numeric field.',\n  examples: [\n    'FROM employees\\n| STATS var_height = VARIANCE(height)',\n  ],\n  params: {\n    number: '',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/variance_over_time.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Calculates the population variance over time of a numeric field.',\n  examples: [\n    'TS k8s\\n| STATS avg_var_cost=AVG(VARIANCE_OVER_TIME(network.cost)) BY cluster, time_bucket = TBUCKET(1minute)',\n  ],\n  params: {\n    field: 'the metric field to calculate the value for',\n    window: 'the time window over which to compute the variance over time',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/weighted_avg.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'The weighted average of a numeric expression.',\n  examples: [\n    'FROM employees\\n| STATS w_avg = WEIGHTED_AVG(salary, height) BY languages\\n| EVAL w_avg = ROUND(w_avg)\\n| KEEP w_avg, languages\\n| SORT languages',\n  ],\n  params: {\n    number: 'A numeric value.',\n    weight: 'A numeric weight.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/esql/x-pack-esql/definition/functions/without.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Groups by all time-series dimensions except the specified ones. When called with no arguments, groups by all dimensions.',\n  examples: [\n    'TS k8s\\n| STATS total_cost = sum(network.cost) BY WITHOUT(pod)\\n| SORT total_cost',\n    'TS k8s\\n| STATS total_cost = sum(network.cost) BY WITHOUT(pod, region)\\n| SORT total_cost',\n    'TS k8s\\n| STATS total_cost = sum(network.cost) BY WITHOUT()\\n| SORT total_cost',\n  ],\n  params: {\n    dimension: '(Optional) One or more [time series dimension](docs-content://manage-data/data-store/data-streams/time-series-data-stream-tsds.md#time-series-dimension) fields to exclude from the time series grouping. Must be dimension fields of the index (not metrics, not regular fields). When called with no arguments, groups by all dimensions.',\n  },\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED FROM `elasticsearch/` BY\n// `yarn workspace @elastic/esql-definitions generate`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nimport absDocs from './abs';\nimport absentDocs from './absent';\nimport absentOverTimeDocs from './absent_over_time';\nimport acosDocs from './acos';\nimport acoshDocs from './acosh';\nimport asinDocs from './asin';\nimport asinhDocs from './asinh';\nimport atanDocs from './atan';\nimport atan2Docs from './atan2';\nimport atanhDocs from './atanh';\nimport avgDocs from './avg';\nimport avgOverTimeDocs from './avg_over_time';\nimport bitLengthDocs from './bit_length';\nimport bucketDocs from './bucket';\nimport byteLengthDocs from './byte_length';\nimport caseDocs from './case';\nimport categorizeDocs from './categorize';\nimport cbrtDocs from './cbrt';\nimport ceilDocs from './ceil';\nimport chunkDocs from './chunk';\nimport cidrMatchDocs from './cidr_match';\nimport clampDocs from './clamp';\nimport clampMaxDocs from './clamp_max';\nimport clampMinDocs from './clamp_min';\nimport coalesceDocs from './coalesce';\nimport concatDocs from './concat';\nimport containsDocs from './contains';\nimport copySignDocs from './copy_sign';\nimport cosDocs from './cos';\nimport coshDocs from './cosh';\nimport countDocs from './count';\nimport countDistinctDocs from './count_distinct';\nimport countDistinctOverTimeDocs from './count_distinct_over_time';\nimport countOverTimeDocs from './count_over_time';\nimport dateDiffDocs from './date_diff';\nimport dateExtractDocs from './date_extract';\nimport dateFormatDocs from './date_format';\nimport dateParseDocs from './date_parse';\nimport dateTruncDocs from './date_trunc';\nimport dateUnitCountDocs from './date_unit_count';\nimport dayNameDocs from './day_name';\nimport decayDocs from './decay';\nimport deltaDocs from './delta';\nimport derivDocs from './deriv';\nimport eDocs from './e';\nimport earliestDocs from './earliest';\nimport embeddingDocs from './embedding';\nimport endsWithDocs from './ends_with';\nimport expDocs from './exp';\nimport fieldExtractDocs from './field_extract';\nimport firstDocs from './first';\nimport firstOverTimeDocs from './first_over_time';\nimport floorDocs from './floor';\nimport fromBase64Docs from './from_base64';\nimport greatestDocs from './greatest';\nimport hashDocs from './hash';\nimport hypotDocs from './hypot';\nimport ideltaDocs from './idelta';\nimport increaseDocs from './increase';\nimport ipPrefixDocs from './ip_prefix';\nimport irateDocs from './irate';\nimport jsonExtractDocs from './json_extract';\nimport knnDocs from './knn';\nimport kqlDocs from './kql';\nimport lastDocs from './last';\nimport lastOverTimeDocs from './last_over_time';\nimport latestDocs from './latest';\nimport leastDocs from './least';\nimport leftDocs from './left';\nimport lengthDocs from './length';\nimport locateDocs from './locate';\nimport logDocs from './log';\nimport log10Docs from './log10';\nimport ltrimDocs from './ltrim';\nimport matchDocs from './match';\nimport matchPhraseDocs from './match_phrase';\nimport maxDocs from './max';\nimport maxOverTimeDocs from './max_over_time';\nimport md5Docs from './md5';\nimport medianDocs from './median';\nimport medianAbsoluteDeviationDocs from './median_absolute_deviation';\nimport minDocs from './min';\nimport minOverTimeDocs from './min_over_time';\nimport monthNameDocs from './month_name';\nimport mvAppendDocs from './mv_append';\nimport mvAvgDocs from './mv_avg';\nimport mvConcatDocs from './mv_concat';\nimport mvContainsDocs from './mv_contains';\nimport mvCountDocs from './mv_count';\nimport mvDedupeDocs from './mv_dedupe';\nimport mvDifferenceDocs from './mv_difference';\nimport mvFirstDocs from './mv_first';\nimport mvInRangeDocs from './mv_in_range';\nimport mvIntersectionDocs from './mv_intersection';\nimport mvIntersectsDocs from './mv_intersects';\nimport mvLastDocs from './mv_last';\nimport mvLikeDocs from './mv_like';\nimport mvMaxDocs from './mv_max';\nimport mvMedianDocs from './mv_median';\nimport mvMedianAbsoluteDeviationDocs from './mv_median_absolute_deviation';\nimport mvMinDocs from './mv_min';\nimport mvPercentileDocs from './mv_percentile';\nimport mvPseriesWeightedSumDocs from './mv_pseries_weighted_sum';\nimport mvRlikeDocs from './mv_rlike';\nimport mvSliceDocs from './mv_slice';\nimport mvSortDocs from './mv_sort';\nimport mvSumDocs from './mv_sum';\nimport mvUnionDocs from './mv_union';\nimport mvZipDocs from './mv_zip';\nimport networkDirectionDocs from './network_direction';\nimport nowDocs from './now';\nimport percentileDocs from './percentile';\nimport percentileOverTimeDocs from './percentile_over_time';\nimport piDocs from './pi';\nimport powDocs from './pow';\nimport presentDocs from './present';\nimport presentOverTimeDocs from './present_over_time';\nimport qstrDocs from './qstr';\nimport rangeContainsDocs from './range_contains';\nimport rangeIntersectsDocs from './range_intersects';\nimport rangeMaxDocs from './range_max';\nimport rangeMinDocs from './range_min';\nimport rangeWithinDocs from './range_within';\nimport rateDocs from './rate';\nimport repeatDocs from './repeat';\nimport replaceDocs from './replace';\nimport reverseDocs from './reverse';\nimport rightDocs from './right';\nimport roundDocs from './round';\nimport roundToDocs from './round_to';\nimport rtrimDocs from './rtrim';\nimport sampleDocs from './sample';\nimport scalbDocs from './scalb';\nimport scoreDocs from './score';\nimport sha1Docs from './sha1';\nimport sha256Docs from './sha256';\nimport signumDocs from './signum';\nimport sinDocs from './sin';\nimport sinhDocs from './sinh';\nimport spaceDocs from './space';\nimport sparklineDocs from './sparkline';\nimport splitDocs from './split';\nimport sqrtDocs from './sqrt';\nimport stBufferDocs from './st_buffer';\nimport stCentroidAggDocs from './st_centroid_agg';\nimport stContainsDocs from './st_contains';\nimport stDifferenceDocs from './st_difference';\nimport stDimensionDocs from './st_dimension';\nimport stDisjointDocs from './st_disjoint';\nimport stDistanceDocs from './st_distance';\nimport stEnvelopeDocs from './st_envelope';\nimport stExtentAggDocs from './st_extent_agg';\nimport stGeohashDocs from './st_geohash';\nimport stGeohexDocs from './st_geohex';\nimport stGeometrytypeDocs from './st_geometrytype';\nimport stGeotileDocs from './st_geotile';\nimport stIntersectionDocs from './st_intersection';\nimport stIntersectsDocs from './st_intersects';\nimport stIsemptyDocs from './st_isempty';\nimport stNpointsDocs from './st_npoints';\nimport stSimplifyDocs from './st_simplify';\nimport stSimplifypreservetopologyDocs from './st_simplifypreservetopology';\nimport stSymdifferenceDocs from './st_symdifference';\nimport stUnionDocs from './st_union';\nimport stWithinDocs from './st_within';\nimport stXDocs from './st_x';\nimport stXmaxDocs from './st_xmax';\nimport stXminDocs from './st_xmin';\nimport stYDocs from './st_y';\nimport stYmaxDocs from './st_ymax';\nimport stYminDocs from './st_ymin';\nimport startsWithDocs from './starts_with';\nimport stdDevDocs from './std_dev';\nimport stddevOverTimeDocs from './stddev_over_time';\nimport substringDocs from './substring';\nimport sumDocs from './sum';\nimport sumOverTimeDocs from './sum_over_time';\nimport tanDocs from './tan';\nimport tanhDocs from './tanh';\nimport tauDocs from './tau';\nimport tbucketDocs from './tbucket';\nimport textEmbeddingDocs from './text_embedding';\nimport toAggregateMetricDoubleDocs from './to_aggregate_metric_double';\nimport toBase64Docs from './to_base64';\nimport toBooleanDocs from './to_boolean';\nimport toCartesianpointDocs from './to_cartesianpoint';\nimport toCartesianshapeDocs from './to_cartesianshape';\nimport toCounterDocs from './to_counter';\nimport toDateNanosDocs from './to_date_nanos';\nimport toDateRangeDocs from './to_date_range';\nimport toDateperiodDocs from './to_dateperiod';\nimport toDatetimeDocs from './to_datetime';\nimport toDegreesDocs from './to_degrees';\nimport toDenseVectorDocs from './to_dense_vector';\nimport toDoubleDocs from './to_double';\nimport toDoubleRangeDocs from './to_double_range';\nimport toExponentialHistogramDocs from './to_exponential_histogram';\nimport toGaugeDocs from './to_gauge';\nimport toGeohashDocs from './to_geohash';\nimport toGeohexDocs from './to_geohex';\nimport toGeopointDocs from './to_geopoint';\nimport toGeoshapeDocs from './to_geoshape';\nimport toGeotileDocs from './to_geotile';\nimport toIntegerDocs from './to_integer';\nimport toIpDocs from './to_ip';\nimport toLongDocs from './to_long';\nimport toLowerDocs from './to_lower';\nimport toRadiansDocs from './to_radians';\nimport toRangeDocs from './to_range';\nimport toStringDocs from './to_string';\nimport toTdigestDocs from './to_tdigest';\nimport toTextDocs from './to_text';\nimport toTimedurationDocs from './to_timeduration';\nimport toUnsignedLongDocs from './to_unsigned_long';\nimport toUpperDocs from './to_upper';\nimport toVersionDocs from './to_version';\nimport topDocs from './top';\nimport topSnippetsDocs from './top_snippets';\nimport trangeDocs from './trange';\nimport trimDocs from './trim';\nimport tstepDocs from './tstep';\nimport urlDecodeDocs from './url_decode';\nimport urlEncodeDocs from './url_encode';\nimport urlEncodeComponentDocs from './url_encode_component';\nimport vCosineDocs from './v_cosine';\nimport vDotProductDocs from './v_dot_product';\nimport vHammingDocs from './v_hamming';\nimport vL1NormDocs from './v_l1_norm';\nimport vL2NormDocs from './v_l2_norm';\nimport vMagnitudeDocs from './v_magnitude';\nimport valuesDocs from './values';\nimport varianceDocs from './variance';\nimport varianceOverTimeDocs from './variance_over_time';\nimport weightedAvgDocs from './weighted_avg';\nimport withoutDocs from './without';\n\nexport const functionDocs: Record<string, DefinitionDocs> = {\n  abs: absDocs,\n  absent: absentDocs,\n  absent_over_time: absentOverTimeDocs,\n  acos: acosDocs,\n  acosh: acoshDocs,\n  asin: asinDocs,\n  asinh: asinhDocs,\n  atan: atanDocs,\n  atan2: atan2Docs,\n  atanh: atanhDocs,\n  avg: avgDocs,\n  avg_over_time: avgOverTimeDocs,\n  bit_length: bitLengthDocs,\n  bucket: bucketDocs,\n  byte_length: byteLengthDocs,\n  case: caseDocs,\n  categorize: categorizeDocs,\n  cbrt: cbrtDocs,\n  ceil: ceilDocs,\n  chunk: chunkDocs,\n  cidr_match: cidrMatchDocs,\n  clamp: clampDocs,\n  clamp_max: clampMaxDocs,\n  clamp_min: clampMinDocs,\n  coalesce: coalesceDocs,\n  concat: concatDocs,\n  contains: containsDocs,\n  copy_sign: copySignDocs,\n  cos: cosDocs,\n  cosh: coshDocs,\n  count: countDocs,\n  count_distinct: countDistinctDocs,\n  count_distinct_over_time: countDistinctOverTimeDocs,\n  count_over_time: countOverTimeDocs,\n  date_diff: dateDiffDocs,\n  date_extract: dateExtractDocs,\n  date_format: dateFormatDocs,\n  date_parse: dateParseDocs,\n  date_trunc: dateTruncDocs,\n  date_unit_count: dateUnitCountDocs,\n  day_name: dayNameDocs,\n  decay: decayDocs,\n  delta: deltaDocs,\n  deriv: derivDocs,\n  e: eDocs,\n  earliest: earliestDocs,\n  embedding: embeddingDocs,\n  ends_with: endsWithDocs,\n  exp: expDocs,\n  field_extract: fieldExtractDocs,\n  first: firstDocs,\n  first_over_time: firstOverTimeDocs,\n  floor: floorDocs,\n  from_base64: fromBase64Docs,\n  greatest: greatestDocs,\n  hash: hashDocs,\n  hypot: hypotDocs,\n  idelta: ideltaDocs,\n  increase: increaseDocs,\n  ip_prefix: ipPrefixDocs,\n  irate: irateDocs,\n  json_extract: jsonExtractDocs,\n  knn: knnDocs,\n  kql: kqlDocs,\n  last: lastDocs,\n  last_over_time: lastOverTimeDocs,\n  latest: latestDocs,\n  least: leastDocs,\n  left: leftDocs,\n  length: lengthDocs,\n  locate: locateDocs,\n  log: logDocs,\n  log10: log10Docs,\n  ltrim: ltrimDocs,\n  match: matchDocs,\n  match_phrase: matchPhraseDocs,\n  max: maxDocs,\n  max_over_time: maxOverTimeDocs,\n  md5: md5Docs,\n  median: medianDocs,\n  median_absolute_deviation: medianAbsoluteDeviationDocs,\n  min: minDocs,\n  min_over_time: minOverTimeDocs,\n  month_name: monthNameDocs,\n  mv_append: mvAppendDocs,\n  mv_avg: mvAvgDocs,\n  mv_concat: mvConcatDocs,\n  mv_contains: mvContainsDocs,\n  mv_count: mvCountDocs,\n  mv_dedupe: mvDedupeDocs,\n  mv_difference: mvDifferenceDocs,\n  mv_first: mvFirstDocs,\n  mv_in_range: mvInRangeDocs,\n  mv_intersection: mvIntersectionDocs,\n  mv_intersects: mvIntersectsDocs,\n  mv_last: mvLastDocs,\n  mv_like: mvLikeDocs,\n  mv_max: mvMaxDocs,\n  mv_median: mvMedianDocs,\n  mv_median_absolute_deviation: mvMedianAbsoluteDeviationDocs,\n  mv_min: mvMinDocs,\n  mv_percentile: mvPercentileDocs,\n  mv_pseries_weighted_sum: mvPseriesWeightedSumDocs,\n  mv_rlike: mvRlikeDocs,\n  mv_slice: mvSliceDocs,\n  mv_sort: mvSortDocs,\n  mv_sum: mvSumDocs,\n  mv_union: mvUnionDocs,\n  mv_zip: mvZipDocs,\n  network_direction: networkDirectionDocs,\n  now: nowDocs,\n  percentile: percentileDocs,\n  percentile_over_time: percentileOverTimeDocs,\n  pi: piDocs,\n  pow: powDocs,\n  present: presentDocs,\n  present_over_time: presentOverTimeDocs,\n  qstr: qstrDocs,\n  range_contains: rangeContainsDocs,\n  range_intersects: rangeIntersectsDocs,\n  range_max: rangeMaxDocs,\n  range_min: rangeMinDocs,\n  range_within: rangeWithinDocs,\n  rate: rateDocs,\n  repeat: repeatDocs,\n  replace: replaceDocs,\n  reverse: reverseDocs,\n  right: rightDocs,\n  round: roundDocs,\n  round_to: roundToDocs,\n  rtrim: rtrimDocs,\n  sample: sampleDocs,\n  scalb: scalbDocs,\n  score: scoreDocs,\n  sha1: sha1Docs,\n  sha256: sha256Docs,\n  signum: signumDocs,\n  sin: sinDocs,\n  sinh: sinhDocs,\n  space: spaceDocs,\n  sparkline: sparklineDocs,\n  split: splitDocs,\n  sqrt: sqrtDocs,\n  st_buffer: stBufferDocs,\n  st_centroid_agg: stCentroidAggDocs,\n  st_contains: stContainsDocs,\n  st_difference: stDifferenceDocs,\n  st_dimension: stDimensionDocs,\n  st_disjoint: stDisjointDocs,\n  st_distance: stDistanceDocs,\n  st_envelope: stEnvelopeDocs,\n  st_extent_agg: stExtentAggDocs,\n  st_geohash: stGeohashDocs,\n  st_geohex: stGeohexDocs,\n  st_geometrytype: stGeometrytypeDocs,\n  st_geotile: stGeotileDocs,\n  st_intersection: stIntersectionDocs,\n  st_intersects: stIntersectsDocs,\n  st_isempty: stIsemptyDocs,\n  st_npoints: stNpointsDocs,\n  st_simplify: stSimplifyDocs,\n  st_simplifypreservetopology: stSimplifypreservetopologyDocs,\n  st_symdifference: stSymdifferenceDocs,\n  st_union: stUnionDocs,\n  st_within: stWithinDocs,\n  st_x: stXDocs,\n  st_xmax: stXmaxDocs,\n  st_xmin: stXminDocs,\n  st_y: stYDocs,\n  st_ymax: stYmaxDocs,\n  st_ymin: stYminDocs,\n  starts_with: startsWithDocs,\n  std_dev: stdDevDocs,\n  stddev_over_time: stddevOverTimeDocs,\n  substring: substringDocs,\n  sum: sumDocs,\n  sum_over_time: sumOverTimeDocs,\n  tan: tanDocs,\n  tanh: tanhDocs,\n  tau: tauDocs,\n  tbucket: tbucketDocs,\n  text_embedding: textEmbeddingDocs,\n  to_aggregate_metric_double: toAggregateMetricDoubleDocs,\n  to_base64: toBase64Docs,\n  to_boolean: toBooleanDocs,\n  to_cartesianpoint: toCartesianpointDocs,\n  to_cartesianshape: toCartesianshapeDocs,\n  to_counter: toCounterDocs,\n  to_date_nanos: toDateNanosDocs,\n  to_date_range: toDateRangeDocs,\n  to_dateperiod: toDateperiodDocs,\n  to_datetime: toDatetimeDocs,\n  to_degrees: toDegreesDocs,\n  to_dense_vector: toDenseVectorDocs,\n  to_double: toDoubleDocs,\n  to_double_range: toDoubleRangeDocs,\n  to_exponential_histogram: toExponentialHistogramDocs,\n  to_gauge: toGaugeDocs,\n  to_geohash: toGeohashDocs,\n  to_geohex: toGeohexDocs,\n  to_geopoint: toGeopointDocs,\n  to_geoshape: toGeoshapeDocs,\n  to_geotile: toGeotileDocs,\n  to_integer: toIntegerDocs,\n  to_ip: toIpDocs,\n  to_long: toLongDocs,\n  to_lower: toLowerDocs,\n  to_radians: toRadiansDocs,\n  to_range: toRangeDocs,\n  to_string: toStringDocs,\n  to_tdigest: toTdigestDocs,\n  to_text: toTextDocs,\n  to_timeduration: toTimedurationDocs,\n  to_unsigned_long: toUnsignedLongDocs,\n  to_upper: toUpperDocs,\n  to_version: toVersionDocs,\n  top: topDocs,\n  top_snippets: topSnippetsDocs,\n  trange: trangeDocs,\n  trim: trimDocs,\n  tstep: tstepDocs,\n  url_decode: urlDecodeDocs,\n  url_encode: urlEncodeDocs,\n  url_encode_component: urlEncodeComponentDocs,\n  v_cosine: vCosineDocs,\n  v_dot_product: vDotProductDocs,\n  v_hamming: vHammingDocs,\n  v_l1_norm: vL1NormDocs,\n  v_l2_norm: vL2NormDocs,\n  v_magnitude: vMagnitudeDocs,\n  values: valuesDocs,\n  variance: varianceDocs,\n  variance_over_time: varianceOverTimeDocs,\n  weighted_avg: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,EACX,YAAY;AAAA,EACZ,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,eAAe;AAAA,EACf,eAAe;AAAA,EACf,aAAa;AAAA,EACb,YAAY;AAAA,EACZ,iBAAiB;AAAA,EACjB,WAAW;AAAA,EACX,iBAAiB;AAAA,EACjB,0BAA0B;AAAA,EAC1B,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,aAAa;AAAA,EACb,aAAa;AAAA,EACb,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,OAAO;AAAA,EACP,SAAS;AAAA,EACT,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,UAAU;AAAA,EACV,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,SAAS;AAAA,EACT,iBAAiB;AAAA,EACjB,kBAAkB;AAAA,EAClB,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,KAAK;AAAA,EACL,cAAc;AAAA,EACd,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,OAAO;AAAA,EACP,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,sBAAsB;AAAA,EACtB,UAAU;AAAA,EACV,eAAe;AAAA,EACf,WAAW;AAAA,EACX,WAAW;AAAA,EACX,WAAW;AAAA,EACX,aAAa;AAAA,EACb,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,oBAAoB;AAAA,EACpB,cAAc;AAAA,EACd,SAAS;AACX;","names":["docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs"]}