diff --git a/native/Cargo.lock b/native/Cargo.lock index cbe3762d01..8cb572dc35 100644 --- a/native/Cargo.lock +++ b/native/Cargo.lock @@ -1535,6 +1535,7 @@ dependencies = [ "datafusion-spark", "futures", "hdfs-sys", + "hdrs", "hex", "itertools 0.14.0", "jni", diff --git a/native/core/Cargo.toml b/native/core/Cargo.toml index d7a067b103..16a8a7316d 100644 --- a/native/core/Cargo.toml +++ b/native/core/Cargo.toml @@ -81,6 +81,9 @@ opendal = { version ="0.54.0", optional = true, features = ["services-hdfs"] } [target.'cfg(target_os = "linux")'.dependencies] procfs = "0.18.0" +[target.'cfg(target_os = "macos")'.dependencies] +hdrs = { version = "0.3.2", features = ["vendored"] } + [dev-dependencies] pprof = { version = "0.15", features = ["flamegraph"] } criterion = { version = "0.7", features = ["async", "async_tokio", "async_std"] }