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

chore: Remove some calls to unwrap #598

Merged
merged 4 commits into from
Jun 27, 2024
Merged

Conversation

andygrove
Copy link
Member

@andygrove andygrove commented Jun 27, 2024

Which issue does this PR close?

Related to #597

Rationale for this change

it is better to return Err than to call unwrap.

What changes are included in this PR?

How are these changes tested?

@andygrove andygrove mentioned this pull request Jun 27, 2024
@@ -108,7 +108,7 @@ strip = "debuginfo"
[lib]
name = "comet"
# "rlib" is for benchmarking with criterion.
crate_type = ["cdylib", "rlib"]
Copy link
Member Author

Choose a reason for hiding this comment

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

drive-by cleanup to fix a warning since we upgraded to Rust 1.79. Unrelated to other changes in this PR.

Copy link
Contributor

@huaxingao huaxingao left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the PR!

@andygrove andygrove merged commit 9bbfddf into apache:main Jun 27, 2024
66 checks passed
@andygrove andygrove deleted the scan-unwrap branch June 27, 2024 18:08
himadripal pushed a commit to himadripal/datafusion-comet that referenced this pull request Sep 7, 2024
* remove an unwrap from ScanExec

* remove another unwrap

* remove another unwrap

* remove more unwraps
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.

2 participants