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

SQL: Consider adding the columnar option for the returned results #37702

Closed
astefan opened this issue Jan 22, 2019 · 3 comments
Closed

SQL: Consider adding the columnar option for the returned results #37702

astefan opened this issue Jan 22, 2019 · 3 comments

Comments

@astefan
Copy link
Contributor

astefan commented Jan 22, 2019

At the moment ES-SQL adopts a row based approach for returning the results, meaning a list of lists where each sub-list contains one value for each column/field.

The columnar approach, on the other hand, returns all values of a certain column in a single list. Still to be decided if all the variants of clients (ODBC, JDBC, REST etc) and formats (json, yaml, txt, csv etc) make sense for this feature.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

@costin costin added the v7.0.0 label Jan 28, 2019
@astefan astefan self-assigned this Jan 28, 2019
@monfera
Copy link

monfera commented Jan 28, 2019

Kibana Canvas functions involving common renderers that use column JSONs themselves would benefit, as there'd be no need to expensively transpose big arrays in the browser, besides the all-around gain of better compressibility (due to negligible [ ] and lower , noise; serially adjacent data likely having the same format; common parts or, in the case of ordered output, identical values)

@astefan
Copy link
Contributor Author

astefan commented Feb 27, 2019

master (8.0.0): 5b7e0de
7.x (7.1.0): 4deb69e

@monfera this is merged with the soonest available version - 7.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants