Skip to content

ARROW-9122: [C++] Properly handle sliced arrays in ascii_lower, ascii_upper kernels#7458

Closed
wesm wants to merge 2 commits intoapache:masterfrom
wesm:ARROW-9122
Closed

ARROW-9122: [C++] Properly handle sliced arrays in ascii_lower, ascii_upper kernels#7458
wesm wants to merge 2 commits intoapache:masterfrom
wesm:ARROW-9122

Conversation

@wesm
Copy link
Copy Markdown
Member

@wesm wesm commented Jun 16, 2020

We must both take into account the referenced range of the data buffer and shift the value offsets if the array slice offset is nonzero.

@github-actions
Copy link
Copy Markdown

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this implicitly test sliced arrays?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does now -- @bkietz added this in ARROW-971

Comment thread cpp/src/arrow/compute/kernels/scalar_string.cc Outdated
Comment thread cpp/src/arrow/compute/kernels/scalar_string.cc Outdated
@wesm
Copy link
Copy Markdown
Member Author

wesm commented Jun 17, 2020

+1, merge on green

@wesm
Copy link
Copy Markdown
Member Author

wesm commented Jun 18, 2020

the test failure is an s390x flake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants