dhruv-pratap commented on code in PR #6069: URL: https://github.com/apache/iceberg/pull/6069#discussion_r1012044761
########## python/pyiceberg/cli/console.py: ########## @@ -361,3 +361,24 @@ def table(ctx: Context, identifier: str, property_name: str): # noqa: F811 ctx.exit(1) else: raise NoSuchPropertyException(f"Property {property_name} does not exist on {identifier}") + + +@run.group() +def scan(): + """Create a table scan.""" + + +@scan.command("table") +@click.argument("identifier") +@click.pass_context +@catch_exception() +def scan_table(ctx: Context, identifier: str): Review Comment: Maybe we can make files with three options: - `files --snapshot=all` - The current files behavior - `files --snapshot=current` - Files under the current snapshot - `files --snapshot=<snapshot_id>` - Files under the snapshot_id specified -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org