You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "thswlsqls (via GitHub)" <gi...@apache.org> on 2026/07/11 06:02:45 UTC
[PR] [fs] Declare serialVersionUID in COSNLoader for Serializable consistency [paimon]
thswlsqls opened a new pull request, #8555:
URL: https://github.com/apache/paimon/pull/8555
### Purpose
- `FileIOLoader` is `@Public` and `extends Serializable`, so its implementations are serialized.
- Among the loaders using the `PluginFileIO` pattern (`OBSLoader`, `OSSLoader`, `S3Loader`, `GSLoader`, `AzureLoader`, `COSNLoader`), `COSNLoader` is the only one that declares `serialVersionUID` on its inner `PluginFileIO` but omits it on the outer loader class.
- Declaring it pins the UID to `1L` instead of relying on the compiler-computed value, aligning `COSNLoader` with the other five loaders.
### Tests
- Consistency change with no behavior change — no test added (matches the sibling loaders, which declare `serialVersionUID` without dedicated tests; the thin loader modules have no `src/test`).
- `mvn -pl paimon-filesystems/paimon-cosn -DfailIfNoTests=false clean install` passed (spotless / checkstyle / rat / enforcer) on JDK 11.
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [fs] Declare serialVersionUID in COSNLoader for Serializable consistency [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #8555:
URL: https://github.com/apache/paimon/pull/8555
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [fs] Declare serialVersionUID in COSNLoader for Serializable consistency [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi commented on PR #8555:
URL: https://github.com/apache/paimon/pull/8555#issuecomment-4953864847
+1
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org