Skip to content

Commit c30ebf4

Browse files
try
1 parent 96c5146 commit c30ebf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test_utils/sqllogictest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ impl DatafusionDistributedDB {
4343
/// Ex. "Users/jay/code/datafusion-distributed/....../file-0000.parquet" -> "datafusion-distributed/....../file-0000.parquet"
4444
fn sanitize_file_paths(plan_str: &str) -> String {
4545
let re = Regex::new(r"(?m)(^|[\[,]\s*)(?:[^,\[\s]*/)*datafusion-distributed/").unwrap();
46-
re.replace_all(plan_str, "datafusion-distributed/")
46+
re.replace_all(plan_str, "${1}datafusion-distributed/")
4747
.to_string()
4848
}
4949

0 commit comments

Comments
 (0)