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

Function test_get_store_s3

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

Source from the content-addressed store, hash-verified

682
683 #[test]
684 fn test_get_store_s3() {
685 let sut = DefaultObjectStoreRegistry::default();
686 let url = Url::parse("s3://bucket/key").unwrap();
687 sut.register_store(&url, Arc::new(LocalFileSystem::new()));
688 let url = ListingTableUrl::parse("s3://bucket/key").unwrap();
689 sut.get_store(url.as_ref()).unwrap();
690 }
691
692 #[test]
693 fn test_get_store_file() {

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…