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-16427: [Java] Provide explicit column type mapping #13166

Closed
wants to merge 1 commit into from

Conversation

toddfarmer
Copy link
Contributor

No description provided.

@github-actions
Copy link

iter.close();
} catch (Exception ex) {
// Fails here due to ARROW-16427:
// fail("Failed to process ResultSet");
Copy link
Member

Choose a reason for hiding this comment

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

If we don't expect this to fail anymore, should we remove the try-catch (or uncomment the fail) instead of swallowing exceptions?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It does fail today. My proposal is to break out the task to enable configurable automatic coercion to greater-scale BigDecimals in a separate task. If you agree, I'll open a new task, update the comment to reference that issue, and start work on that after this is closed. This work only allows explicit type mapping via configuration for known-consistent ResultSets. Further work is needed to enable support for inconsistent ResultSets, where scale differs by row.

Copy link
Member

Choose a reason for hiding this comment

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

Ah, then I misunderstood. Ok, breaking out a separate task for that makes sense.

Can we "xfail" this? I suppose JUnit doesn't support that explicitly but we should assert that it does throw here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I moved the comment and failure test around, and have referenced ARROW-16600 (just created to track the configurable coercion work).

@lidavidm lidavidm closed this in 05bd8fd May 18, 2022
@ursabot
Copy link

ursabot commented May 18, 2022

Benchmark runs are scheduled for baseline = 3df2e05 and contender = 05bd8fd. 05bd8fd 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 ⬇️1.4% ⬆️1.17%] test-mac-arm
[Failed ⬇️0.0% ⬆️5.51%] ursa-i9-9960x
[Finished ⬇️0.87% ⬆️0.12%] ursa-thinkcentre-m75q
Buildkite builds:
[Finished] 05bd8fdd ec2-t3-xlarge-us-east-2
[Failed] 05bd8fdd test-mac-arm
[Failed] 05bd8fdd ursa-i9-9960x
[Finished] 05bd8fdd ursa-thinkcentre-m75q
[Finished] 3df2e056 ec2-t3-xlarge-us-east-2
[Failed] 3df2e056 test-mac-arm
[Failed] 3df2e056 ursa-i9-9960x
[Finished] 3df2e056 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

3 participants