Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ export const esqlFunctionNames = [
'TANH',
'TAU',
'TBUCKET',
'TERM',
'TEXT_EMBEDDING',
'TO_AGGREGATE_METRIC_DOUBLE',
'TO_BASE64',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const inlineCastsMapping = {
date: 'to_datetime',
date_nanos: 'to_date_nanos',
date_period: 'to_dateperiod',
date_range: 'to_date_range',
datetime: 'to_datetime',
dense_vector: 'to_dense_vector',
double: 'to_double',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4445,7 +4445,11 @@ const matchOperatorDefinition: FunctionDefinition = {
},
],
locationsAvailable: [Location.WHERE, Location.STATS_WHERE, Location.JOIN, Location.EVAL],
examples: ['FROM books\n| WHERE author:"Faulkner"'],
examples: [
'FROM books\n| WHERE author:"Faulkner"',
'FROM employees\n| WHERE job_positions:"Internship"\n| KEEP emp_no, job_positions',
'FROM books METADATA _score\n| WHERE semantic_title:"Shakespeare"\n| SORT _score DESC\n| KEEP _score, semantic_title',
],
};

// Do not edit this manually... generated by scripts/generate_function_definitions.ts
Expand Down
Loading