Skip to content

Commit 959f192

Browse files
committed
[WIP] opendal writes
1 parent da9ebd3 commit 959f192

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

native/core/src/parquet/parquet_support.rs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,10 +489,30 @@ pub(crate) fn prepare_object_store_with_configs(
489489

490490
#[cfg(test)]
491491
mod tests {
492+
#[cfg(any(
493+
all(not(feature = "hdfs"), not(feature = "hdfs-opendal")),
494+
feature = "hdfs"
495+
))]
492496
use datafusion::execution::object_store::ObjectStoreUrl;
497+
#[cfg(any(
498+
all(not(feature = "hdfs"), not(feature = "hdfs-opendal")),
499+
feature = "hdfs"
500+
))]
493501
use datafusion::execution::runtime_env::RuntimeEnv;
502+
#[cfg(any(
503+
all(not(feature = "hdfs"), not(feature = "hdfs-opendal")),
504+
feature = "hdfs"
505+
))]
494506
use object_store::path::Path;
507+
#[cfg(any(
508+
all(not(feature = "hdfs"), not(feature = "hdfs-opendal")),
509+
feature = "hdfs"
510+
))]
495511
use std::sync::Arc;
512+
#[cfg(any(
513+
all(not(feature = "hdfs"), not(feature = "hdfs-opendal")),
514+
feature = "hdfs"
515+
))]
496516
use url::Url;
497517

498518
#[cfg(all(not(feature = "hdfs"), not(feature = "hdfs-opendal")))]

0 commit comments

Comments
 (0)