-
-
Notifications
You must be signed in to change notification settings - Fork 60
Clickhouse schema weirdness #63
Copy link
Copy link
Open
Description
I've noticed that on a number of the CH tables you are including timestamp in the order by. Rather than doing this you should probably have a truncated timestamp such as by minute (or at least truncated to per-second) otherwise there's not much point in the MV's compared to just sampling from the raw table itself.
Additionally there are a number of times when you sum() a value such as DoBit which is a UInt8 in the primary table. It would be better to cast those to UInt64 and then sum that to avoid overflows.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels