Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Iceberg $files table not show delete files #16233

Closed
0xffmeta opened this issue Feb 23, 2023 · 1 comment · Fixed by #23142
Closed

Iceberg $files table not show delete files #16233

0xffmeta opened this issue Feb 23, 2023 · 1 comment · Fixed by #23142
Assignees
Labels
iceberg Iceberg connector

Comments

@0xffmeta
Copy link
Member

For iceberg v2 format, if query $files metadata table, e.g.
select * from tmp."test_table$files" where content =1 limit 10;
it will return empty result, the reason is that FilesTable only iterates DataFile, however I think it needs to scan DeleteFile as well.

return getRecord(planFilesIterator.next().file());

#16232 for the fix.

@alexjo2144
Copy link
Member

alexjo2144 commented Feb 24, 2023

@krvikash volunteered to take a look at this, thanks for reporting

I didn't see the PR haha, thanks for the fix!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
iceberg Iceberg connector
Development

Successfully merging a pull request may close this issue.

3 participants