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

Function test_object_store_listing_url

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

Source from the content-addressed store, hash-verified

662
663 #[test]
664 fn test_object_store_listing_url() {
665 let listing = ListingTableUrl::parse("file:///").unwrap();
666 let store = listing.object_store();
667 assert_eq!(store.as_str(), "file:///");
668
669 let listing = ListingTableUrl::parse("s3://bucket/").unwrap();
670 let store = listing.object_store();
671 assert_eq!(store.as_str(), "s3://bucket/");
672 }
673
674 #[test]
675 fn test_get_store_hdfs() {

Callers

nothing calls this directly

Calls 1

object_storeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…