Skip to content

Conversation

@jimexist
Copy link
Member

@jimexist jimexist commented Jun 10, 2021

Which issue does this PR close?

Closes #.

Rationale for this change

remove redundant into_iter calls because Vec<Result<_>> can automatically be transposed to Result<Vec<_>> - there is no need for additional into_iter calls

What changes are included in this PR?

Are there any user-facing changes?

@jimexist jimexist changed the title remove redundant into_iter() calls remove redundant into_iter() calls Jun 10, 2021
@codecov-commenter
Copy link

Codecov Report

Merging #527 (7792c6c) into master (d5bca0e) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #527   +/-   ##
=======================================
  Coverage   76.03%   76.03%           
=======================================
  Files         157      157           
  Lines       26990    26990           
=======================================
  Hits        20521    20521           
  Misses       6469     6469           
Impacted Files Coverage Δ
...sta/rust/core/src/serde/logical_plan/from_proto.rs 35.20% <ø> (ø)
datafusion/src/physical_plan/windows.rs 86.22% <ø> (ø)
datafusion/src/sql/planner.rs 84.62% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d5bca0e...7792c6c. Read the comment docs.

@alamb
Copy link
Contributor

alamb commented Jun 10, 2021

I am surprised Clippy didn't complain about this ;)

@alamb alamb merged commit 5c88450 into apache:master Jun 10, 2021
@jimexist jimexist deleted the remove-redundant-into-iter branch June 10, 2021 15:17
H0TB0X420 pushed a commit to H0TB0X420/datafusion that referenced this pull request Oct 7, 2025
* Remove libprotobuf as a build time dependency of Conda

* Add substrait feature which enables building with substrait features

* Add datafusion._internal/substrait to the pyproject.toml file so substrait will be built for pytests when using pip

* Rename feature to just substrait

* Add protoc since libprotobuf was removed from conda requirements file

* Refactor substrait module being initialized as a function

* Reintroduce libprotobuf as build dependency for conda build
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.

4 participants