You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
SELECT Dest es-table.Dest, COUNT(*) count, COUNT(DistanceKilometers) es-table.DistanceKilometers_count
FROM kibana_sample_data_flights
GROUP BY Dest
ORDER BY Dest DESC
LIMIT 2
The return is as below, in which the aggregation key returned is Dest instead of es-table.Dest
SELECT date_format(timestamp, 'yyyy-MM') es-table.timestamp_tg, COUNT(*) count, COUNT(DistanceKilometers) es-table.DistanceKilometers_count
FROM kibana_sample_data_flights
GROUP BY date_format(timestamp, 'yyyy-MM')
ORDER BY date_format(timestamp, 'yyyy-MM') DESC
LIMIT 2500
The response is as below, in which the aggregation key returned is date_format_4 instead of the alias(es-table.timestamp_tg)
Query 1:
The return is as below, in which the aggregation key returned is
Dest
instead ofes-table.Dest
Query 2:
The response is as below, in which the aggregation key returned is
date_format_4
instead of the alias(es-table.timestamp_tg)The text was updated successfully, but these errors were encountered: