MCPcopy Create free account
hub / github.com/apache/datafusion / test_get_store_hdfs

Function test_get_store_hdfs

datafusion/datasource/src/mod.rs:675–681  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

673
674 #[test]
675 fn test_get_store_hdfs() {
676 let sut = DefaultObjectStoreRegistry::default();
677 let url = Url::parse("hdfs://localhost:8020").unwrap();
678 sut.register_store(&url, Arc::new(LocalFileSystem::new()));
679 let url = ListingTableUrl::parse("hdfs://localhost:8020/key").unwrap();
680 sut.get_store(url.as_ref()).unwrap();
681 }
682
683 #[test]
684 fn test_get_store_s3() {

Callers

nothing calls this directly

Calls 4

newFunction · 0.85
register_storeMethod · 0.45
get_storeMethod · 0.45
as_refMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…