Skip to content

Commit 77febb0

Browse files
Update dependencies to point to the massive-com GitHub organization (#19)
* Update dependencies to point to the massive-com GitHub organization * Pin the toolchain * Bump rust and toolchain to 1.91 * Make Clippy Happy * Fix license --------- Co-authored-by: Wyatt Herkamp <[email protected]>
1 parent a67c23a commit 77febb0

File tree

3 files changed

+33
-12
lines changed

3 files changed

+33
-12
lines changed

Cargo.toml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ version = "0.1.1"
2121
edition = "2021"
2222
homepage = "https://github.com/datafusion-contrib/datafusion-materialized-views"
2323
repository = "https://github.com/datafusion-contrib/datafusion-materialized-views"
24-
authors = ["Matthew Cramerus <[email protected]>"]
24+
authors = ["Massive Engineering <[email protected]>"]
2525
license = "Apache-2.0"
2626
description = "Materialized Views & Query Rewriting in DataFusion"
2727
keywords = ["arrow", "arrow-rs", "datafusion"]
28-
rust-version = "1.80"
28+
rust-version = "1.91"
2929

3030
[dependencies]
3131

@@ -34,15 +34,15 @@ arrow-schema = { version = "55.0.0" }
3434
async-trait = "0.1"
3535
chrono = "= 0.4.40"
3636
dashmap = "6"
37-
datafusion = { git = "https://github.com/polygon-io/arrow-datafusion", rev = "a13a6fe" }
38-
datafusion-common = { git = "https://github.com/polygon-io/arrow-datafusion", rev = "a13a6fe" }
39-
datafusion-expr = { git = "https://github.com/polygon-io/arrow-datafusion", rev = "a13a6fe" }
40-
datafusion-functions = { git = "https://github.com/polygon-io/arrow-datafusion", rev = "a13a6fe" }
41-
datafusion-functions-aggregate = { git = "https://github.com/polygon-io/arrow-datafusion", rev = "a13a6fe" }
42-
datafusion-optimizer = { git = "https://github.com/polygon-io/arrow-datafusion", rev = "a13a6fe" }
43-
datafusion-physical-expr = { git = "https://github.com/polygon-io/arrow-datafusion", rev = "a13a6fe" }
44-
datafusion-physical-plan = { git = "https://github.com/polygon-io/arrow-datafusion", rev = "a13a6fe" }
45-
datafusion-sql = { git = "https://github.com/polygon-io/arrow-datafusion", rev = "a13a6fe" }
37+
datafusion = { git = "https://github.com/massive-com/arrow-datafusion", rev = "a13a6fe" }
38+
datafusion-common = { git = "https://github.com/massive-com/arrow-datafusion", rev = "a13a6fe" }
39+
datafusion-expr = { git = "https://github.com/massive-com/arrow-datafusion", rev = "a13a6fe" }
40+
datafusion-functions = { git = "https://github.com/massive-com/arrow-datafusion", rev = "a13a6fe" }
41+
datafusion-functions-aggregate = { git = "https://github.com/massive-com/arrow-datafusion", rev = "a13a6fe" }
42+
datafusion-optimizer = { git = "https://github.com/massive-com/arrow-datafusion", rev = "a13a6fe" }
43+
datafusion-physical-expr = { git = "https://github.com/massive-com/arrow-datafusion", rev = "a13a6fe" }
44+
datafusion-physical-plan = { git = "https://github.com/massive-com/arrow-datafusion", rev = "a13a6fe" }
45+
datafusion-sql = { git = "https://github.com/massive-com/arrow-datafusion", rev = "a13a6fe" }
4646
futures = "0.3"
4747
itertools = "0.14"
4848
log = "0.4"

rust-toolchain.toml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
[toolchain]
19+
channel = "1.91.0"
20+
components = ["rust-analyzer", "rustfmt", "clippy"]
21+

tests/materialized_listing_table.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ impl TableProvider for MaterializedListingTable {
503503
self.inner.get_table_definition()
504504
}
505505

506-
fn get_logical_plan(&self) -> Option<Cow<LogicalPlan>> {
506+
fn get_logical_plan(&self) -> Option<Cow<'_, LogicalPlan>> {
507507
// We _could_ return the LogicalPlan here,
508508
// but it will cause this table to be treated like a regular view
509509
// and the materialized results will not be used.

0 commit comments

Comments
 (0)