Skip to content

Commit 878cc04

Browse files
committed
implement hash based CSE identifier
1 parent 38beb1a commit 878cc04

File tree

9 files changed

+676
-267
lines changed

9 files changed

+676
-267
lines changed

datafusion-cli/Cargo.lock

Lines changed: 38 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

datafusion/common/src/hash_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ use crate::error::{Result, _internal_err};
3434

3535
// Combines two hashes into one hash
3636
#[inline]
37-
fn combine_hashes(l: u64, r: u64) -> u64 {
37+
pub fn combine_hashes(l: u64, r: u64) -> u64 {
3838
let hash = (17 * 37u64).wrapping_add(l);
3939
hash.wrapping_mul(37).wrapping_add(r)
4040
}

0 commit comments

Comments
 (0)