Details
-
Improvement
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
None
-
None
-
None
Description
"date histogram aggregation" is one of the most popular analysis function of elastic search. It is not pushed down to elastic search in current calcite es adapter. Is there any plan to support it? Given the below example, if it can be pushed down to es, the query should be very efficient.
select count as cc from t group by date_histogram(`@timestamp`, interval '5' minute)
Another question is currently there seems no proper sql function/keyword for date_histogram. One possible option is TUMBLE function. Is it right?