Skip to content
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

Merged
merged 45 commits into from
Jan 7, 2023
Merged

Conversation

yakov-olkhovskiy
Copy link
Member

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

closes #14567

@robot-ch-test-poll2 robot-ch-test-poll2 added the pr-not-for-changelog This PR should not be mentioned in the changelog label Nov 14, 2022
@yakov-olkhovskiy
Copy link
Member Author

IPv6 is not yet fully operational - parser isn't working properly...

Copy link
Member Author

@yakov-olkhovskiy yakov-olkhovskiy left a 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..)

@yakov-olkhovskiy yakov-olkhovskiy marked this pull request as ready for review November 28, 2022 13:39
@kolya7k
Copy link
Contributor

kolya7k commented Jan 30, 2023

This commit will produce regression errors while trying to insert UInt32 as IPv4 without ::UInt32 like
INSERT INTO stats_logins (player_id, ip, time) VALUES (52471021, 2319771222, 1675099213);

@den-crane den-crane mentioned this pull request Jan 30, 2023
monogon-bot pushed a commit to monogon-dev/NetMeta that referenced this pull request Feb 27, 2023
This is required because ClickHouse/ClickHouse#43221 forbids usage of reinterpret with IPv6 values

Change-Id: I257feb0d4e930aed54cf58e8c6732ed747e2d14b
lizhou1111 pushed a commit to timeplus-io/proton that referenced this pull request Dec 5, 2023
lizhou1111 pushed a commit to timeplus-io/proton that referenced this pull request Dec 5, 2023
lizhou1111 pushed a commit to timeplus-io/proton that referenced this pull request Dec 6, 2023
lizhou1111 pushed a commit to timeplus-io/proton that referenced this pull request Dec 6, 2023
lizhou1111 pushed a commit to timeplus-io/proton that referenced this pull request Dec 6, 2023
lizhou1111 pushed a commit to timeplus-io/proton that referenced this pull request Dec 6, 2023
lizhou1111 pushed a commit to timeplus-io/proton that referenced this pull request Dec 6, 2023
lizhou1111 pushed a commit to timeplus-io/proton that referenced this pull request Dec 7, 2023
lizhou1111 pushed a commit to timeplus-io/proton that referenced this pull request Dec 7, 2023
lizhou1111 pushed a commit to timeplus-io/proton that referenced this pull request Dec 7, 2023
lizhou1111 pushed a commit to timeplus-io/proton that referenced this pull request Dec 7, 2023
lizhou1111 pushed a commit to timeplus-io/proton that referenced this pull request Dec 7, 2023
lizhou1111 added a commit to timeplus-io/proton that referenced this pull request Dec 7, 2023
* functions fixed, test fixed, porting ClickHouse/ClickHouse#43221

* IPAddressDictionary fixed, test fixed, porting ClickHouse/ClickHouse#43221
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-not-for-changelog This PR should not be mentioned in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bad comparison of IPv6 to String: toIPv6('::1') != '::1'
5 participants