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 9f34c76 commit 9918909Copy full SHA for 9918909
src/query/service/src/interpreters/interpreter_common.rs
@@ -178,7 +178,7 @@ pub async fn list_files_from_dal(
178
let mut ds = op.batch().walk_top_down(&dir)?;
179
while let Some(de) = ds.try_next().await? {
180
if de.mode().is_file() {
181
- let path = de.path().trim_start_matches(&prefix).to_string();
+ let path = de.path().trim_start_matches(&prefix[1..]).to_string();
182
let meta = de.metadata().await?;
183
files.push((path, meta));
184
}
0 commit comments