You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "nzw921rx (via GitHub)" <gi...@apache.org> on 2026/06/29 14:37:59 UTC

[PR] [Improve][Connector-V2] Optimize Arrow Converter SPI registration using AutoService [seatunnel]

nzw921rx opened a new pull request, #11219:
URL: https://github.com/apache/seatunnel/pull/11219

   ### Purpose of this pull request
   
   Replace the hand-maintained `META-INF/services/...Converter` SPI file with `@AutoService(Converter.class)` annotations on each Arrow `Converter` implementation in `connector-common`.
   
   This eliminates the risk of forgetting to register new converters and keeps the SPI configuration closer to the implementation classes.
   
   Affected converters: 
   
   - DateMilliConvertor
   - FixedSizeListConverter
   - LargeListConverter
   - ListConverter
   - MapConverter
   - NullConverter
   - StructConverter
   - TimeStampMicroConverter
   - TimeStampMilliConverter
   - TimeStampNanoConverter
   - TimeStampSecConverter
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. The set of registered converters is unchanged; only the registration mechanism changed from a manual SPI file to compile-time annotation processing.
   
   ### How was this patch tested?
   
   Not run yet. Recommended:
   
   ```bash
   ./mvnw spotless:apply -pl seatunnel-connectors-v2/connector-common -Dskip.ui=true
   ./mvnw test -pl seatunnel-connectors-v2/connector-common -Dskip.ui=true


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Improve][Connector-V2] Optimize Arrow Converter SPI registration using AutoService [seatunnel]

Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo merged PR #11219:
URL: https://github.com/apache/seatunnel/pull/11219


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Improve][Connector-V2] Optimize Arrow Converter SPI registration using AutoService [seatunnel]

Posted by "nzw921rx (via GitHub)" <gi...@apache.org>.
nzw921rx commented on PR #11219:
URL: https://github.com/apache/seatunnel/pull/11219#issuecomment-4904105882

   @davidzollo  can you help me review this, thanks


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Improve][Connector-V2] Optimize Arrow Converter SPI registration using AutoService [seatunnel]

Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on PR #11219:
URL: https://github.com/apache/seatunnel/pull/11219#issuecomment-4845334282

   Thanks for the update. I rechecked the current head against the latest `dev`, and this branch is still behind upstream.
   
   - base branch: `dev`
   - head SHA: `3fe20b77d652fb5ce0f1610215970cfbf7d8cf15`
   - compare status: `diverged`
   - ahead_by: `1`
   - behind_by: `9`
   - mergeable_state: `unknown`
   - CI / merge gate snapshot: `failing` (failing: `Build [cancelled]`)
   
   Because the PR is still behind the latest base, any CI result and merge gate signal here is mixed with upstream drift. The lowest-cost next step is to sync with the latest `dev` and rerun CI first. If anything still fails after the sync, I'm happy to take another look on top of the updated head.


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org