LuciferYang opened a new pull request, #11026:
URL: https://github.com/apache/paimon/pull/11026

   ### Purpose
   
   close #11025
   
   `TagManager.list_tags` split every file name in the tag directory on the 
first dash, so a file such as `.DS_Store` made tag listing fail, and 
`rollback_to(tag)` failed after it had already deleted the newer snapshots. It 
now lists only files with the `tag-` prefix, like the Java `TagManager`.
   
   ### Tests
   
   `filesystem_catalog_tag_test.py`, both failing on master:
   
   - `test_list_tags_skips_stray_files`: tags are listed with a `.DS_Store` in 
the tag directory.
   - `test_rollback_with_stray_file_in_tag_directory`: `rollback_to('t1')` with 
a `.DS_Store` there leaves only tag `t1`, snapshot 1 as the latest, and its 
rows.
   


-- 
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]

Reply via email to