We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
elaticsearch sql have below dsl, { "aggs" : { "articles_over_time" : { "date_histogram" : { "field" : "date", "interval" : "1.5h" } } } }
is it possible?
The text was updated successfully, but these errors were encountered:
I'll try to implement it in this weekend
Sorry, something went wrong.
@affinity226 #5 group by date_histogram is supported now you can use
select * from table_name group by date_histogram(field='create_time', `interval`='1h')
to generate your dsl
No branches or pull requests
elaticsearch sql have below dsl,
{
"aggs" : {
"articles_over_time" : {
"date_histogram" : {
"field" : "date",
"interval" : "1.5h"
}
}
}
}
is it possible?
The text was updated successfully, but these errors were encountered: