You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "axreldable (via GitHub)" <gi...@apache.org> on 2026/02/08 13:32:39 UTC
[PR] GH-301: Allow adding a vector at the end of VectorSchemaRoot [arrow-java]
axreldable opened a new pull request, #1013:
URL: https://github.com/apache/arrow-java/pull/1013
## What's Changed
Previously, the precondition `index < fieldVectors.size()` rejected `index == fieldVectors.size()`, so appending was impossible. The precondition is now `index <= fieldVectors.size()`, and when `index == fieldVectors.size()` the new vector is appended after all existing vectors.
The implementation of `VectorSchemaRoot#addVector()` is now aligned with [BaseTable#insertVector()](https://github.com/apache/arrow-java/blob/main/vector/src/main/java/org/apache/arrow/vector/table/BaseTable.java#L156)
**This contains breaking changes.** <!-- Remove this line if there are no breaking changes. -->
As it changes behavior of the `VectorSchemaRoot#addVector()` method.
Closes #301.
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-301: Allow adding a vector at the end of VectorSchemaRoot [arrow-java]
Posted by "axreldable (via GitHub)" <gi...@apache.org>.
axreldable commented on PR #1013:
URL: https://github.com/apache/arrow-java/pull/1013#issuecomment-4026924126
@jbonofre , what do you think about this change?
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-301: Allow adding a vector at the end of VectorSchemaRoot [arrow-java]
Posted by "axreldable (via GitHub)" <gi...@apache.org>.
axreldable commented on PR #1013:
URL: https://github.com/apache/arrow-java/pull/1013#issuecomment-3867184433
I'd say it's an `enhancement` rather than a bug fix (#301 is labeled as a bug).
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-301: [Vector] Allow adding a vector at the end of VectorSchemaRoot [arrow-java]
Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre merged PR #1013:
URL: https://github.com/apache/arrow-java/pull/1013
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-301: Allow adding a vector at the end of VectorSchemaRoot [arrow-java]
Posted by "axreldable (via GitHub)" <gi...@apache.org>.
axreldable commented on PR #1013:
URL: https://github.com/apache/arrow-java/pull/1013#issuecomment-3946193730
> > @axreldable can you please rebase this PR ? The CI should be triggered and clean.
>
> @jbonofre , rebased, but looks like it needs to be kicked off. It's not triggered automatically. Could you help with it?
Hi @jbonofre ! The build was successful. Should I rebase again after the latest changes?
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-301: Allow adding a vector at the end of VectorSchemaRoot [arrow-java]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #1013:
URL: https://github.com/apache/arrow-java/pull/1013#issuecomment-3867179027
<!-- label_helper_comment -->
Thank you for opening a pull request!
Please label the PR with one or more of:
- bug-fix
- chore
- dependencies
- documentation
- enhancement
Also, add the 'breaking-change' label if appropriate.
See [CONTRIBUTING.md](https://github.com/apache/arrow-java/blob/main/CONTRIBUTING.md) for details.
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-301: Allow adding a vector at the end of VectorSchemaRoot [arrow-java]
Posted by "axreldable (via GitHub)" <gi...@apache.org>.
axreldable commented on PR #1013:
URL: https://github.com/apache/arrow-java/pull/1013#issuecomment-3915680090
> @axreldable can you please rebase this PR ? The CI should be triggered and clean.
@jbonofre , rebased, but looks like it needs to be kicked off. It's not triggered automatically. Could you help with it?
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-301: Allow adding a vector at the end of VectorSchemaRoot [arrow-java]
Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre commented on PR #1013:
URL: https://github.com/apache/arrow-java/pull/1013#issuecomment-3914607598
@axreldable can you please rebase this PR ? The CI should be triggered and clean.
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-301: Allow adding a vector at the end of VectorSchemaRoot [arrow-java]
Posted by "axreldable (via GitHub)" <gi...@apache.org>.
axreldable commented on PR #1013:
URL: https://github.com/apache/arrow-java/pull/1013#issuecomment-3913456015
Hi @lidavidm and probably @kou ! Could you please help kicking off the build?
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org