-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Elasticsearch Nested Aggregations #2789
Comments
Please share an example of the results you do get for this query in Redash and the results you get when querying directly. Thanks. |
Hi Arik, This is my actual query
|
@arikfr Any update on this? |
@arikfr I met this issue too.
The result from elasticsearch:
See above result, there has 3 rows in result. But in the redash table, there just 2 rows: |
@ivanli1990 Your query looks fairly similar to what I'm implementing support for, you could try the PR I've just referenced |
It works fine. Thanks!!! |
@lkm I met another issue may be caused by your pr. When I query es, redash displays 'unicode' object has no attribute 'iteritems'. The full response from redash api:
And, the query:
|
@ivanli1990 Would you be able to provide a sample result from that query? |
hi @lkm , the resut from query in elasticsearch as below:
|
Acutally the elasticsearch tabify meant to do the same work. I think we could port it to redash:) |
Seems good, would probably be an easy job. Not the most maintained project ever (the python implementation). Would you use it as requirement or copy in the code? |
Issue Summary
I am working on creating the table from elasticsearch with nested aggregation query.
Below is my example Query
The above Nested aggregated query does not give all the columns in the table as the response of elasticsearch. Also “agg_abc” have more than 5 categories in it but in table it shows only for 2 categories which is also not complete.
According to me the nested aggregated query is not being parsed properly as some of the columns are missing.
But when I hit the above query to elastic search It gives the proper response with all categories.
Technical details:
The text was updated successfully, but these errors were encountered: