diff --git a/tests-integration/src/tests/instance_test.rs b/tests-integration/src/tests/instance_test.rs index 2da472ae9d..54c2c3c543 100644 --- a/tests-integration/src/tests/instance_test.rs +++ b/tests-integration/src/tests/instance_test.rs @@ -575,7 +575,12 @@ async fn test_execute_external_create_infer_format(instance: Arc String { // We need unix style path even in the Windows, because the path is used in object-store, must // be delimited with '/'. Inside the object-store, it will be converted to file system needed // path in the end. - let p = p.replace('\\', "/"); + let p = p.replace(':', "").replace('\\', "/"); // Prepend a '/' to indicate it's a file system path when parsed as object-store url in Windows. format!("/{p}")