Skip to content

Commit dc7eea8

Browse files
committed
Try make sure location always end with /
Signed-off-by: Xuanwo <github@xuanwo.io>
1 parent fbbb523 commit dc7eea8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/query/storages/hive/hive/src/converters.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ pub fn try_into_table_info(
7878
storage
7979
.location
8080
.as_ref()
81-
.map(|location| location.to_string())
81+
.map(|location| format!("{}/", location.trim_end_matches('/')))
8282
} else {
8383
None
8484
};

0 commit comments

Comments
 (0)