Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ES|QL] - Duplicate auto-complete in drop-down list when using auto-complete #174154

Closed
ninoslavmiskovic opened this issue Jan 3, 2024 · 2 comments
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:ES|QL ES|QL related features in Kibana impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@ninoslavmiskovic
Copy link
Contributor

Kibana version: 8.13

Original install method (e.g. download page, yum, from source, etc.): Tested both on cloud and local setup.

Describe the bug:

When a user aggregates using STATS using the new auto-complete suggestions without defining a name for the field, and afterward wants to use EVAL, then the user gets duplicate results in the auto-complete suggestion.

See video:

auto_complete_bug.mov

Steps to reproduce:

  1. Go to ES|QL in Discover
  2. Use STATS in your query without defining a name for the field, but instead choose the suggested e.g. avg(x,x)
  3. use EVAL on the next line in the query, and then you will get duplicate results.

Expected behavior: Not to see duplicate results in the dropdown.

An additional challenge this is causing is if the user selects the first selection then the auto-complete does not add '' and throws an error.

See video:

auto_complete_bug_2.mov
@ninoslavmiskovic ninoslavmiskovic added bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:ES|QL ES|QL related features in Kibana labels Jan 3, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations (Team:Visualizations)

@stratoula stratoula added the impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. label Jan 3, 2024
@dej611 dej611 self-assigned this Jan 11, 2024
@dej611
Copy link
Contributor

dej611 commented Jan 12, 2024

Fixed by #174676

@dej611 dej611 closed this as completed Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:ES|QL ES|QL related features in Kibana impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

4 participants