DN
Size: a a a
DN
DN
DN
DN
DN
DN
DN
C
DN
DN
EE
M
DT
M
A(
SELECT _ActionID, _Created, _StatusID as status, Number FROM (SELECT ActionID AS _ActionID, argMin(Created, CreatedServer) AS _Created, argMax(StatusID, CreatedServer) AS _StatusID, count() as Number FROM actions GROUP BY ActionID) WHERE (_Created > 1612112400 AND _Created < 1614531599) AND (_StatusID = 1)
CREATE TABLE default.actions (`ActionID` String, `Created` DateTime, `UserID` String, `StatusID` UInt8, `CreatedServer` UInt64) ENGINE = MergeTree() PARTITION BY toYYYYMM(Created) ORDER BY (ActionID, Created, UserID) SETTINGS index_granularity = 8192
DT
SELECT _ActionID, _Created, _StatusID as status, Number FROM (SELECT ActionID AS _ActionID, argMin(Created, CreatedServer) AS _Created, argMax(StatusID, CreatedServer) AS _StatusID, count() as Number FROM actions GROUP BY ActionID) WHERE (_Created > 1612112400 AND _Created < 1614531599) AND (_StatusID = 1)
CREATE TABLE default.actions (`ActionID` String, `Created` DateTime, `UserID` String, `StatusID` UInt8, `CreatedServer` UInt64) ENGINE = MergeTree() PARTITION BY toYYYYMM(Created) ORDER BY (ActionID, Created, UserID) SETTINGS index_granularity = 8192
A(
DT
A(