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
精彩评论