jackylee-ch opened a new pull request, #10159:
URL: https://github.com/apache/paimon/pull/10159

   ### Purpose
   
   `test_signed_zero_key_ranges_keep_versions_in_one_split` fails on master:
   
   ```
   AttributeError: 'types.SimpleNamespace' object has no attribute 
'path_factory'
   ```
   
   #10155 made `AbstractSplitGenerator._build_split_from_pack` call 
`self.table.path_factory()` to detect partitions whose values need filesystem 
escaping, but `interval_partition_test` builds its table as a `SimpleNamespace` 
without `path_factory`, so the split-generator path now raises. This breaks the 
Python test lane on master.
   
   The mock table now supplies a minimal `path_factory` whose `bucket_path` is 
independent of `canonical_partition`, so `escaped_partition` stays `False` and 
the generator does not probe the (absent) file system.
   
   ### Tests
   
   `interval_partition_test` passes (5 tests). It fails on master without this 
change.
   
   Written with Claude Code; verification is mine.
   


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