Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix withIntDistributionForField copy #11644

Closed
wants to merge 1 commit into from

Conversation

rui-mo
Copy link
Collaborator

@rui-mo rui-mo commented Nov 25, 2024

For decimal(8, 5) data build, Arrow reports below error due to out of range.
The reason is in the copy of 'withIntDistributionForField', the target index
and source index are reversed.

`C++ exception with description "Invalid: Invalid cast from Decimal128 to 4 byte integer" thrown in the test body.

@rui-mo rui-mo requested a review from majetideepak as a code owner November 25, 2024 08:02
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 25, 2024
Copy link

netlify bot commented Nov 25, 2024

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 8b72de7
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/679a0700bf4b0200084597d0

@Yuhta Yuhta added the ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall label Nov 26, 2024
@facebook-github-bot
Copy link
Contributor

@xiaoxmeng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@xiaoxmeng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@rui-mo
Copy link
Collaborator Author

rui-mo commented Jan 7, 2025

Hi @kevinwilfong, could you help merge this minor fix? Thanks!

@bikramSingh91
Copy link
Contributor

@rui-mo I can help merge this, can you please rebase the change when you get a chance?

@rui-mo
Copy link
Collaborator Author

rui-mo commented Jan 29, 2025

@bikramSingh91 Thanks a lot for your help. I rebased this change.

@facebook-github-bot
Copy link
Contributor

@bikramSingh91 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@bikramSingh91 merged this pull request in 6a05878.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants