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

Canvas: Default SQL statement produces error with sample data #53836

Closed
flash1293 opened this issue Dec 30, 2019 · 2 comments · Fixed by #99549
Closed

Canvas: Default SQL statement produces error with sample data #53836

flash1293 opened this issue Dec 30, 2019 · 2 comments · Fixed by #99549
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Canvas impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:needs-research This issue requires some research before it can be worked on or estimated Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas

Comments

@flash1293
Copy link
Contributor

flash1293 commented Dec 30, 2019

Kibana version: master

Elasticsearch version:

Server OS version:

Browser version:

Browser OS version:

Original install method (e.g. download page, yum, from source, etc.):

Describe the bug: Currently the default SQL query (SELECT * FROM "kibana_sample_data_ecommerce") produces an error because the index contains error fields:

[essql] > Unexpected error from Elasticsearch: [sql_illegal_argument_exception] Arrays (returned by [manufacturer]) are not supported

This is also the case for the logs sample data.

Steps to reproduce:

  1. Crate fresh Kibana instance with only sample data sets
  2. Create new canvas workpad
  3. Add new element
  4. Switch data to SQL

Expected behavior:

Getting started with sql in canvas isn't as seamless as it could be because of this. Maybe the default query should not select * but just the time field of the default index (which is very likely not an array field)?

This is not a big issue, but it would make getting started with essql easier if the default query would work with the sample data sets.

Screenshots (if relevant):

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context:

@flash1293 flash1293 added the Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas label Dec 30, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-canvas (Team:Canvas)

@timductive timductive added bug Fixes for quality problems that affect the customer experience impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. labels Jan 2, 2020
@clintandrewhall clintandrewhall added the loe:needs-research This issue requires some research before it can be worked on or estimated label Mar 1, 2021
@poffdeluxe
Copy link
Contributor

Took a look at this a bit and it's certainly an issue with the sample data. Changing the default query would be easy but we'd still have to pick some fields.

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:Canvas impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:needs-research This issue requires some research before it can be worked on or estimated Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas
Projects
None yet
6 participants