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

Visualization - we could improve the error message to a more user friendly one when adding a filter with incorrect birthdate of the customer #138210

Closed
Tracked by #166068
rashmivkulkarni opened this issue Aug 5, 2022 · 5 comments
Labels
enhancement New value added to drive a business result Feature:Search Querying infrastructure in Kibana Icebox impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:small Small Level of Effort Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.

Comments

@rashmivkulkarni
Copy link
Contributor

Kibana version: 8.4.0 BC2

Create an area chart, add sample date eCommerce.
Now try adding a filter to this date for customer_birth_date - if you enter an incorrect date, you see the following error :
[esaggs] > Expected literal, whitespace but end of input found. customer_birth_date > --

and a bunch of pop ups appearing with the same error message as shown . Upon clicking full error

Expected literal, whitespace but end of input found. customer_birth_date > ----------------------^

KQLSyntaxError: Expected literal, whitespace but end of input found.
customer_birth_date > 
----------------------^
    at mt (https://bc2-0f4aea.kb.europe-west1.gcp.cloud.es.io:9243/55166/bundles/plugin/data/kibana/data.plugin.js:1:40718)
    at https://bc2-0f4aea.kb.europe-west1.gcp.cloud.es.io:9243/55166/bundles/plugin/data/kibana/data.plugin.js:1:41715
    at Array.map (<anonymous>)
    at vt (https://bc2-0f4aea.kb.europe-west1.gcp.cloud.es.io:9243/55166/bundles/plugin/data/kibana/data.plugin.js:1:41691)
    at jt (https://bc2-0f4aea.kb.europe-west1.gcp.cloud.es.io:9243/55166/bundles/plugin/data/kibana/data.plugin.js:1:44907)
    at search_source_SearchSource.flatten (https://bc2-0f4aea.kb.europe-west1.gcp.cloud.es.io:9243/55166/bundles/plugin/data/kibana/data.plugin.js:1:70544)
    at https://bc2-0f4aea.kb.europe-west1.gcp.cloud.es.io:9243/55166/bundles/plugin/data/kibana/data.plugin.js:1:62467
    at https://bc2-0f4aea.kb.europe-west1.gcp.cloud.es.io:9243/55166/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:334:112148
    at s._next (https://bc2-0f4aea.kb.europe-west1.gcp.cloud.es.io:9243/55166/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:6:29452)
    at t.next (https://bc2-0f4aea.kb.europe-west1.gcp.cloud.es.io:9243/55166/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:334:88780)

Screen Shot 2022-08-05 at 11 49 04 AM

Screen Shot 2022-08-05 at 11 48 57 AM

@rashmivkulkarni rashmivkulkarni added bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Aug 5, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors)

@flash1293
Copy link
Contributor

This is a KQL error message, relabeling

@flash1293 flash1293 added enhancement New value added to drive a business result Team:AppServicesSv and removed bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Aug 5, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-services (Team:AppServicesSv)

@exalate-issue-sync exalate-issue-sync bot added impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:small Small Level of Effort labels Aug 17, 2022
@petrklapka petrklapka added Feature:Search Querying infrastructure in Kibana Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. and removed Team:AppServicesSv labels Nov 23, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@kertal
Copy link
Member

kertal commented Oct 1, 2024

Closing this because it's not planned to be resolved in the foreseeable future. It will be tracked in our Icebox and will be re-opened if our priorities change. Feel free to re-open if you think it should be melted sooner.

@kertal kertal closed this as not planned Won't fix, can't repro, duplicate, stale Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Search Querying infrastructure in Kibana Icebox impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:small Small Level of Effort Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Projects
None yet
Development

No branches or pull requests

5 participants