Skip to content

Commit 2e9b693

Browse files
committed
Use name instead
Signed-off-by: Xuanwo <github@xuanwo.io>
1 parent 5c0babe commit 2e9b693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/query/service/src/interpreters/interpreter_common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ pub async fn list_files_from_dal(
177177
let mut ds = op.batch().walk_top_down(&dir)?;
178178
while let Some(de) = ds.try_next().await? {
179179
if de.mode().is_file() {
180-
let path = de.path().to_string();
180+
let path = de.name().to_string();
181181
let meta = de.metadata().await?;
182182
files.push((path, meta));
183183
}

0 commit comments

Comments
 (0)