-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace domain IP types (IPv4, IPv6) with native #43221
Conversation
IPv6 is not yet fully operational - parser isn't working properly... |
…IPv6 in casting to better match previous behavior, some cleanup, test fixed
…ext in cast function (will require review), docs appended
b69b95d
to
c47f13a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NOTE: this comment is outdated...
@alexey-milovidov BTW I'm not completely sure this is correct - probably it needs the same std::is_copy_constructible enabler for type U as above for type T (it will be a template template parameter I guess..)
This commit will produce regression errors while trying to insert UInt32 as IPv4 without ::UInt32 like |
This is required because ClickHouse/ClickHouse#43221 forbids usage of reinterpret with IPv6 values Change-Id: I257feb0d4e930aed54cf58e8c6732ed747e2d14b
* functions fixed, test fixed, porting ClickHouse/ClickHouse#43221 * IPAddressDictionary fixed, test fixed, porting ClickHouse/ClickHouse#43221
Changelog category (leave one):
closes #14567