-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for IPv6 in IP Prefix aggr (#1112)
We had support for IPv4, but Jacek wanted for a) IPv6 and b) IPs stored in Clickhouse as ints. This PR adds support for IPv6, and I think having IPs as ints in Clickhouse will also work, because whenever we query for IPs, we use `intDiv(ip_field, some_number)`. So we already make use of the fact that Clickhouse treats all IPs as ints (`IPv4` type: `uint32`, `IPv6` type: `uint128`) Didn't test it yet, though.
- Loading branch information
Showing
6 changed files
with
501 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.