iceberg-python icon indicating copy to clipboard operation
iceberg-python copied to clipboard

Add samples for listing table.files and table.partitions

Open moryachok opened this issue 1 year ago • 4 comments

Question

After examining your documentation, I couldn't locate the methods to list a table's partitions or its data files. Could you please provide relevant examples or consider adding this capability if it's not currently available?

moryachok avatar Apr 03 '24 20:04 moryachok

Hey @moryachok Thanks for raising this. This is currently being worked on in https://github.com/apache/iceberg-python/issues/511

The files one should be rather straightforward since that's also supported through the CLI: pyiceberg files database.table

Fokko avatar Apr 04 '24 08:04 Fokko

@moryachok It looks like someone else is already working on files, how about partitions? I'll merge https://github.com/apache/iceberg-python/pull/551 later today and then it should be relative straightforward.

Fokko avatar Apr 04 '24 18:04 Fokko

Hey @Fokko, that would be awesome, let me know when it merged and I will test it on my side.

moryachok avatar Apr 04 '24 18:04 moryachok

This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.

github-actions[bot] avatar Oct 02 '24 00:10 github-actions[bot]

This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'

github-actions[bot] avatar Oct 16 '24 00:10 github-actions[bot]