Few in this thread have suggested ClickHouse would do well here. We tested 1 trillon rows recently, albeit much simpler data - https://clickhouse.com/blog/clickhouse-1-trillion-row-challe...
This is a good dataset though and the level of detail in the post is appreciated. I'll give ClicKHouse a go on the same...
Disclaimer: I work for ClickHouse