File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -489,10 +489,30 @@ pub(crate) fn prepare_object_store_with_configs(
489489
490490#[ cfg( test) ]
491491mod 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" ) ) ) ]
You can’t perform that action at this time.
0 commit comments