Open bhavyarm opened 1 month ago
Pinging @elastic/kibana-esql (Team:ESQL)
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)
I am passing this to the Discovery team as it is related to the Discover state updates but let me know if there is something that the team can help with
Thx @bhavyarm I can see this makes sense from UX side, sind when I drop a column in the ES|QL query, it's unlikely I want to have a look at an empty column, even if I added it before.
wouldn't label it as a bug, since it currently works like expected. @stratoula we change the columns in state if there's a transformational command given, right?
so for this case we could need to have the information that there's a Drop command and filter out the dropped column if it's part of the current column state.
yes I agree it is not a bug. yes we could parse the query, check the DROP commands, take the fields and check if they exist in the columns state. If yes, then remove the dropped fields from the state and update.
I personally find it as a low impact enhancement. I think users would understand what is going on here. I changed it to enhancement with low impact
I personally find it as a low impact enhancement. I think users would understand what is going on here. I changed it to enhancement with low impact
yes, I do agree, it's a simple workaround to just remove the column, no bug, impact:low
Kibana version: 8.15.0 BC5
Browser version: chrome latest
Browser OS version: OS X
Original install method (e.g. download page, yum, from source, etc.): from staging
Describe the bug: If user has already added a field as a column in discover and then executes DROP command on that field in an ES|QL query, Kibana only drops the field values from discover but still retains the column name(field name) in the header with deadspace below it.
Steps to reproduce: