elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.72k stars 8.13k forks source link

[ES|QL] special character prefix not handled in `WHERE` clause #192598

Open drewdaemon opened 1 week ago

drewdaemon commented 1 week ago

Kibana version: main, probably further back

When @ has been typed, suggestions are shown which do not include that prefix. Accepting the suggestions does not remove the prefix.

https://github.com/user-attachments/assets/4a0d5e49-197c-4fb6-ab80-934efe4e170d

This is probably due to range not being attached to the generated completion item.

Correct behavior:

https://github.com/user-attachments/assets/3b4bfdb6-687b-4fd5-aef7-2638389fca01

elasticmachine commented 1 week ago

Pinging @elastic/kibana-esql (Team:ESQL)