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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to