Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
SQLSpout group by hostname and get top N results #609
Similar to what is done in ES with aggregations. At the moment we rely on shard numbers only but this does not guarantee a good mix of URL sources.
Uses Window functions
These are supported in recent versions of MariaDB or MySQL
The sharding mechanism can still be used. A new parameter mysql.max.urls.per.bucket has been introduced.