LuciferYang opened a new issue, #11025: URL: https://github.com/apache/paimon/issues/11025
### Search before asking - [X] I searched in the [issues](https://github.com/apache/paimon/issues) and found nothing similar. ### Paimon version master (b000c3945f) ### Compute Engine Python ### Minimal reproduce step On a local warehouse, commit twice and tag each snapshot (`t1`, `t2`), put any file without a dash in the table's `tag/` directory (macOS Finder writes `.DS_Store` there when the directory is opened), then call `table.rollback_to('t1')`. ### What doesn't meet your expectations? `rollback_to` fails with `ValueError: not enough values to unpack (expected 2, got 1)`, and so do `list_tags()`, the `$tags` system table and `catalog.list_tags_paged`. The rollback has already deleted snapshot 2 and moved LATEST by then, so the table is left at snapshot 1 with tag `t2` still pointing at the deleted snapshot. `TagManager.list_tags` splits every file name in the tag directory on the first dash. The Java `TagManager` only lists files with the `tag-` prefix. ### Anything else? _No response_ ### Are you willing to submit a PR? - [X] I'm willing to submit a PR! -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
