Skip to content

Commit 0061384

Browse files
committed
Fix lint
1 parent 5eb35f9 commit 0061384

2 files changed

Lines changed: 15 additions & 11 deletions

File tree

‎Cargo.toml‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ object_store = { version = "0.14" }
6767
url = "2"
6868
log = "0.4.29"
6969
parking_lot = "0.12"
70-
prost-types = "0.14.3" # keep in line with `datafusion-substrait`
70+
prost-types = "0.14.3" # keep in line with `datafusion-substrait`
7171
pyo3-build-config = "0.29"
7272
datafusion-python-util = { path = "crates/util", version = "55.0.0" }
7373

@@ -78,14 +78,14 @@ codegen-units = 2
7878
# We cannot publish to crates.io with any patches in the below section. Developers
7979
# must remove any entries in this section before creating a release candidate.
8080
[patch.crates-io]
81-
datafusion = { git = "https://github.com/apache/datafusion", branch = "branch-56"}
82-
datafusion-substrait = { git = "https://github.com/apache/datafusion", branch = "branch-56"}
83-
datafusion-proto = { git = "https://github.com/apache/datafusion", branch = "branch-56"}
84-
datafusion-ffi = { git = "https://github.com/apache/datafusion", branch = "branch-56"}
81+
datafusion = { git = "https://github.com/apache/datafusion", branch = "branch-56" }
82+
datafusion-substrait = { git = "https://github.com/apache/datafusion", branch = "branch-56" }
83+
datafusion-proto = { git = "https://github.com/apache/datafusion", branch = "branch-56" }
84+
datafusion-ffi = { git = "https://github.com/apache/datafusion", branch = "branch-56" }
8585
datafusion-catalog = { git = "https://github.com/apache/datafusion", branch = "branch-56" }
8686
datafusion-common = { git = "https://github.com/apache/datafusion", branch = "branch-56" }
87-
datafusion-functions-aggregate = { git = "https://github.com/apache/datafusion", branch = "branch-56"}
88-
datafusion-functions-window = { git = "https://github.com/apache/datafusion", branch = "branch-56"}
89-
datafusion-spark = { git = "https://github.com/apache/datafusion", branch = "branch-56"}
90-
datafusion-expr = { git = "https://github.com/apache/datafusion", branch = "branch-56"}
91-
datafusion-session = { git = "https://github.com/apache/datafusion", branch = "branch-56"}
87+
datafusion-functions-aggregate = { git = "https://github.com/apache/datafusion", branch = "branch-56" }
88+
datafusion-functions-window = { git = "https://github.com/apache/datafusion", branch = "branch-56" }
89+
datafusion-spark = { git = "https://github.com/apache/datafusion", branch = "branch-56" }
90+
datafusion-expr = { git = "https://github.com/apache/datafusion", branch = "branch-56" }
91+
datafusion-session = { git = "https://github.com/apache/datafusion", branch = "branch-56" }

‎crates/core/src/table.rs‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,11 @@ impl TableProvider for TempViewTable {
174174

175175
let mut plan = if let Some(projection) = projection {
176176
// avoiding adding a redundant projection (e.g. SELECT * FROM view)
177-
if projection.iter().copied().eq(0..plan.schema().fields().len()) {
177+
if projection
178+
.iter()
179+
.copied()
180+
.eq(0..plan.schema().fields().len())
181+
{
178182
plan
179183
} else {
180184
let fields: Vec<Expr> = projection

0 commit comments

Comments
 (0)