希望 doris 官方能够提供一些关于 doris 内置的各种 hash 函数的 java 版本的仓库,比如,xxhash_64 函数, murmur_hash64 函数等等。
在数据生产过程中,在 flink 或者 spark 中会使用各种 hash 函数,但是发现和 doris 中内置的 hash 函数的值会有所不同。
所以官方能不能给出一个库呢?
希望 doris 官方能够提供一些关于 doris 内置的各种 hash 函数的 java 版本的仓库,比如,xxhash_64 函数, murmur_hash64 函数等等。
在数据生产过程中,在 flink 或者 spark 中会使用各种 hash 函数,但是发现和 doris 中内置的 hash 函数的值会有所不同。
所以官方能不能给出一个库呢?
举个例子,在 doris 中
xxhash_64('hello')
输出:-7685981735718036227
在 spark sql 中
xxhash64('hello')
输出:-4367754540140381902
如果我要在 spark 中复现 doris 的 xxhash_64,那我就需要去看 doris 的源代码。总之,我希望是 spark 生产的 hash 函数向 doris 看齐。