aglinxinyuan commented on code in PR #9677:
URL: https://github.com/apache/texera/pull/9677#discussion_r4683613520
##########
amber/src/main/python/pytexera/storage/large_binary_output_stream.py:
##########
@@ -129,7 +130,7 @@ def _raise_if_upload_failed(self) -> None:
with self._lock:
exception = self._upload_exception
if exception is not None:
- raise IOError(f"Background upload failed: {exception}") from
exception
+ raise OSError(f"Background upload failed: {exception}") from
exception
Review Comment:
Changed the three docstrings to `OSError` in f84888ca6c, so the file names
the class one way.
_🤖 Addressed by [Claude Code](https://claude.com/claude-code)_
##########
workflow-compiling-service/src/test/resources/python/py_op_driver.py:
##########
@@ -314,8 +304,7 @@ def _jsonify(value: Any, attr_type: AttributeType) -> Any:
# standalone path pickles the same object without one, so strip it and
# both sides carry the same payload.
raw = value
- if raw.startswith(_CAST_PICKLE_MARKER):
- raw = raw[len(_CAST_PICKLE_MARKER) :]
+ raw = raw.removeprefix(_CAST_PICKLE_MARKER)
Review Comment:
Inlined as suggested in f84888ca6c; `_jsonify` now encodes
`value.removeprefix(_CAST_PICKLE_MARKER)` directly.
_🤖 Addressed by [Claude Code](https://claude.com/claude-code)_
--
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]