We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65ba95e commit 439f6dcCopy full SHA for 439f6dc
datafusion/core/src/datasource/listing/url.rs
@@ -249,8 +249,14 @@ mod tests {
249
let child = Path::parse("/foob/bar").unwrap();
250
assert!(url.strip_prefix(&child).is_none());
251
252
- let url = ListingTableUrl::parse("file:///with space/foo/bar").unwrap();
253
- assert_eq!(url.prefix.as_ref(), "with space/foo/bar");
+ let url = ListingTableUrl::parse("file:///foo/ bar").unwrap();
+ assert_eq!(url.prefix.as_ref(), "foo/ bar");
254
+
255
+ let url = ListingTableUrl::parse("file:///foo/bar?").unwrap();
256
+ assert_eq!(url.prefix.as_ref(), "foo/bar");
257
258
+ let url = ListingTableUrl::parse("file:///foo/😺").unwrap();
259
+ assert_eq!(url.prefix.as_ref(), "foo/%F0%9F%98%BA");
260
}
261
262
#[test]
0 commit comments