Skip to content

MINOR: Reject non zero offset on array import - #1263

Open
robert3005 wants to merge 4 commits into
apache:mainfrom
robert3005:rk/importoffset
Open

MINOR: Reject non zero offset on array import#1263
robert3005 wants to merge 4 commits into
apache:mainfrom
robert3005:rk/importoffset

Conversation

@robert3005

Copy link
Copy Markdown

What's Changed

Instead of silently accepting the array and pretending the import went fine reject arrays where offset is non 0. Add mention to the docs that this is not supported

This is documentation and negative case for #251

@github-actions

This comment has been minimized.

@lidavidm lidavidm added the bug-fix PRs that fix a big. label Aug 25, 2026
@github-actions github-actions Bot added this to the 20.0.0 milestone Aug 25, 2026
Comment thread c/src/main/java/org/apache/arrow/c/ArrayImporter.java Outdated
Comment thread c/src/main/java/org/apache/arrow/c/ArrayImporter.java
@robert3005

Copy link
Copy Markdown
Author

Thanks for the suggestion, I applied it and added test to make sure we don't regress it in the future

@jbonofre

Copy link
Copy Markdown
Member

@robert3005 thanks! I'm doing a new pass 😄

@jbonofre

Copy link
Copy Markdown
Member

By the way, we merged a fix on CI, I will rebase.

Signed-off-by: Robert Kruszewski <github@robertk.io>
Signed-off-by: Robert Kruszewski <github@robertk.io>
注册 for free to join this conversation on GitHub. Already have an account? 登录 to comment

标签

bug-fix PRs that fix a big.

项目

None yet

Development

Successfully merging this pull request may close these issues.

3 participants