Open stratoula opened 4 months ago
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)
Pinging @elastic/kibana-esql (Team:ESQL)
This is a recommendation from @jughosta. I see we are using this class multiple times in the code for both dataview and text based fields. We don't have extra utilities for the dataview mode nor the text based mode.
Creating an ES|QL field doesnt add special properties atm so I am not sure how important this is. Unless we want to do something different here that I am missing.
Anyway I will leave this to the @elastic/kibana-data-discovery team to evaluate.
Describe the feature:
There are many occurences in the code where we are creating a new ES|QL field like:
It will be great to create a utility and change this everywhere we are using it.