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] revisit field and variable representations #191111

Open drewdaemon opened 3 weeks ago

drewdaemon commented 3 weeks ago

Describe the feature: Column names can be escaped and written in a variety of ways. For example, the following are all valid for event.dataset.

`event.dataset`
"event.dataset"
"""event.dataset"""
`event`.`dataset`

// low priority
`event` . `dataset`
event . dataset
event . /* comment */ dataset

Our support for these in validation and autocomplete is spotty. There are several known bugs that are likely related to this.

There are also things we just can't support today

The ask

Take a comprehensive look at the situation. We have options

Some implementations

elasticmachine commented 3 weeks ago

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

drewdaemon commented 3 weeks ago

Relevant discussion: https://github.com/elastic/kibana/discussions/182393#discussioncomment-10453762