leaves12138 commented on code in PR #10417:
URL: https://github.com/apache/paimon/pull/10417#discussion_r4208398004


##########
paimon-python/pypaimon/write/native_write.py:
##########
@@ -135,6 +136,8 @@ def _new_python_writer(self):
             writer.with_write_type(self._write_cols)
         if self._blob_consumer is not None:
             writer.with_blob_consumer(self._blob_consumer)
+        if self._blob_uri_reader_factory is not None:

Review Comment:
   Blocking: this state is replayed only by 
`NativeTableWrite._new_python_writer`, but 
`NativePostponeFixedBucketTableWrite` overrides that method and does not apply 
`_blob_uri_reader_factory`. If a postpone-fixed writer is configured with 
`with_blob_uri_reader_factory(factory)` and then a row-oriented API triggers 
`_switch_to_python()`, the Python writer silently loses the configured factory 
and cannot resolve custom URI Blob descriptors consistently with the native 
path. Please propagate this factory in the override and add a regression test 
for the fallback path.



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