Skip to content

Commit 1a949c3

Browse files
committed
Add support for remote Parquet writer with openDAL
1 parent 7e800b4 commit 1a949c3

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

native/core/src/parquet/parquet_support.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -406,18 +406,6 @@ fn create_hdfs_object_store(
406406
Ok((Box::new(store), path))
407407
}
408408

409-
/// Stub implementation when hdfs-opendal feature is not enabled
410-
#[cfg(not(feature = "hdfs-opendal"))]
411-
pub async fn write_to_hdfs_with_opendal_async(
412-
_url: &Url,
413-
_data: bytes::Bytes,
414-
) -> Result<(), object_store::Error> {
415-
Err(object_store::Error::Generic {
416-
store: "hdfs-opendal",
417-
source: "HDFS OpenDAL support is not enabled in this build".into(),
418-
})
419-
}
420-
421409
#[cfg(feature = "hdfs-opendal")]
422410
fn get_name_node_uri(url: &Url) -> Result<String, object_store::Error> {
423411
use std::fmt::Write;

0 commit comments

Comments
 (0)