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

ARROW-17899: [Go][CSV] Add Decimal support to CSV reader #14504

Merged
merged 3 commits into from Nov 1, 2022

Conversation

zeroshade
Copy link
Member

No description provided.

@zeroshade
Copy link
Member Author

CC @mitchdevenport

@github-actions
Copy link

field.AppendNull()
return
}
field.(*array.Decimal256Builder).Append(val)
Copy link
Contributor

Choose a reason for hiding this comment

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

Will it be called if r.err != nil?

Copy link
Member Author

Choose a reason for hiding this comment

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

the reason for the r.err == nil check is so that we don't lose the first error we find. The assumption being that if we get an error we're going to stop reading after this record and the data is bad anyways.

Copy link
Member Author

Choose a reason for hiding this comment

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

if err != nil then val will be the default value, which is 0

@zeroshade zeroshade merged commit 4755e0f into apache:master Nov 1, 2022
@zeroshade zeroshade deleted the arrow-17899-add-decimal-csv branch November 1, 2022 15:02
@ursabot
Copy link

ursabot commented Nov 1, 2022

Benchmark runs are scheduled for baseline = 16fd7f3 and contender = 4755e0f. 4755e0f is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
Conbench compare runs links:
[Finished ⬇️0.0% ⬆️0.0%] ec2-t3-xlarge-us-east-2
[Failed ⬇️0.0% ⬆️0.0%] test-mac-arm
[Finished ⬇️0.0% ⬆️0.0%] ursa-i9-9960x
[Finished ⬇️0.75% ⬆️0.0%] ursa-thinkcentre-m75q
Buildkite builds:
[Finished] 4755e0f2 ec2-t3-xlarge-us-east-2
[Failed] 4755e0f2 test-mac-arm
[Finished] 4755e0f2 ursa-i9-9960x
[Finished] 4755e0f2 ursa-thinkcentre-m75q
[Finished] 16fd7f3f ec2-t3-xlarge-us-east-2
[Failed] 16fd7f3f test-mac-arm
[Finished] 16fd7f3f ursa-i9-9960x
[Finished] 16fd7f3f ursa-thinkcentre-m75q
Supported benchmarks:
ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
test-mac-arm: Supported benchmark langs: C++, Python, R
ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java

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

Successfully merging this pull request may close these issues.

None yet

4 participants