开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜