Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Commit 3d81e65

Browse files
authored
toolchain: use latest stable (#225)
also bump dependencies Signed-off-by: Alex Chi <[email protected]>
1 parent be2077f commit 3d81e65

File tree

14 files changed

+927
-670
lines changed

14 files changed

+927
-670
lines changed

Cargo.lock

Lines changed: 910 additions & 627 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

datafusion-optd-cli/src/exec.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ pub async fn exec_from_lines(
8585
reader: &mut BufReader<File>,
8686
print_options: &PrintOptions,
8787
) {
88-
let mut query = "".to_owned();
88+
let mut query = String::new();
8989

9090
for line in reader.lines() {
9191
match line {
@@ -100,7 +100,7 @@ pub async fn exec_from_lines(
100100
Ok(_) => {}
101101
Err(err) => eprintln!("{err}"),
102102
}
103-
query = "".to_owned();
103+
query = String::new();
104104
} else {
105105
query.push('\n');
106106
}

optd-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repository = { workspace = true }
1414
anyhow = "1"
1515
tracing = "0.1"
1616
ordered-float = "4"
17-
itertools = "0.11"
17+
itertools = "0.13"
1818
serde = { version = "1.0", features = ["derive", "rc"] }
1919
arrow-schema = "47.0.0"
2020
chrono = "0.4"

optd-core/src/cascades/tasks.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,7 @@ pub use optimize_inputs::OptimizeInputsTask;
2222

2323
pub trait Task<T: NodeType, M: Memo<T>>: 'static + Send + Sync {
2424
fn execute(&self, optimizer: &mut CascadesOptimizer<T, M>) -> Result<Vec<Box<dyn Task<T, M>>>>;
25+
26+
#[allow(dead_code)]
2527
fn describe(&self) -> String;
2628
}

optd-datafusion-bridge/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repository = { workspace = true }
1414
datafusion = "32.0.0"
1515
datafusion-expr = "32.0.0"
1616
async-trait = "0.1"
17-
itertools = "0.11"
17+
itertools = "0.13"
1818
optd-core = { path = "../optd-core" }
1919
optd-datafusion-repr = { path = "../optd-datafusion-repr" }
2020
anyhow = "1"

optd-datafusion-repr-adv-cost/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ optd-datafusion-repr = { path = "../optd-datafusion-repr" }
1515
optd-core = { path = "../optd-core" }
1616
serde = { version = "1.0", features = ["derive"] }
1717
rayon = "1.10"
18-
itertools = "0.11"
18+
itertools = "0.13"
1919
test-case = "3.3"
2020
tracing = "0.1"
2121
tracing-subscriber = "0.3"
2222
optd-gungnir = { path = "../optd-gungnir" }
23-
serde_with = {version = "3.7.0", features = ["json"]}
23+
serde_with = { version = "3.7.0", features = ["json"] }

optd-datafusion-repr/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ arrow-schema = "47.0.0"
1616
tracing = "0.1"
1717
tracing-subscriber = "0.3"
1818
pretty-xmlish = "0.1"
19-
itertools = "0.11"
19+
itertools = "0.13"
2020
optd-core = { path = "../optd-core" }
2121
camelpaste = "0.1"
2222
datafusion-expr = "32.0.0"

optd-datafusion-repr/src/plan_nodes/predicates.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ pub trait PredExt {
4646
/// return either Some(usize) or None.
4747
/// - If it is Some, the column index can be rewritten with the value.
4848
/// - If any of the columns is None, we will return None all the way up
49+
///
4950
/// the call stack, and no expression will be returned.
5051
fn rewrite_column_refs(&self, rewrite_fn: impl FnMut(usize) -> Option<usize>) -> Option<Self>
5152
where

optd-datafusion-repr/src/rules/filter_pushdown.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ fn apply_filter_inner_join_transpose(
191191
/// - Push down to the left child (only involves keys from the left child)
192192
/// - Push down to the right child (only involves keys from the right child)
193193
/// - Push into the join condition (involves keys from both children)
194+
///
194195
/// We will consider each part of the conjunction separately, and push down
195196
/// only the relevant parts.
196197
fn filter_join_transpose(

optd-gungnir/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repository = { workspace = true }
1111
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1212

1313
[dependencies]
14-
itertools = "0.11"
14+
itertools = "0.13"
1515
rand = "0.8"
1616
crossbeam = "0.8"
1717
lazy_static = "1.4"
@@ -20,3 +20,4 @@ serde_with = { version = "3.7.0", features = ["json"] }
2020
ordered-float = "4"
2121
optd-core = { path = "../optd-core", version = "0.1.0" }
2222
hashbrown = { version = "0.14", features = ["serde"] }
23+
murmur2 = "0.1"

0 commit comments

Comments
 (0)