forked from facebookincubator/velox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix:Support hashing ipaddress (facebookincubator#11640)
Summary: Pull Request resolved: facebookincubator#11640 Checksuming on ipaddress fails because the prestoHasher treats ipaddress as a HUGEINT, which it is; however, the hashing for HUGEINT is different than the hashing for binaries. In Velox, we represent IPAddress as a HUGEINT (16 bytes) instead of varbinary. So we need to compute the checksum on the varbinary representation of the int128_t. Reviewed By: bikramSingh91 Differential Revision: D66416538 fbshipit-source-id: 6becaae50c9cc09132190b65811f068b4578be48
- Loading branch information
韦佟
committed
Nov 26, 2024
1 parent
224c43f
commit b1662c8
Showing
3 changed files
with
42 additions
and
12 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