Custom ORDER BY for system.asynchronous_metric_log

This commit is contained in:
Alexey Milovidov 2022-04-17 23:59:05 +02:00
parent e36e22812a
commit 8ea14d2664

View File

@ -51,7 +51,8 @@ public:
void addValues(const AsynchronousMetricValues &);
static const char * getDefaultOrderBy() { return "(event_date, event_time)"; }
/// This table is usually queried for fixed metric name.
static const char * getDefaultOrderBy() { return "(metric, event_date, event_time)"; }
};
}