开发者

Impala fnv_hash() result not matching the one in Python fnv library

开发者 https://www.devze.com 2022-12-07 19:57 出处:网络
I\'m using Impala 3.2.0, and when I run fnv_hash(), I can\'t seem to be able to match the value with the fnv 开发者_JS百科hash I get using Python, may I know why?

I'm using Impala 3.2.0, and when I run fnv_hash(), I can't seem to be able to match the value with the fnv 开发者_JS百科hash I get using Python, may I know why?

select fnv_hash('test')
7063314956707709637
!pip install fnv
import fnv
fnv.hash(b'test', algorithm=fnv.fnv_1a, bits=64)
18007334074686647077
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号