Skip to content

Commit

Permalink
feat: update to df 40 (#575)
Browse files Browse the repository at this point in the history
  • Loading branch information
tshauck authored Jul 15, 2024
1 parent 07c6dcc commit 2432fe9
Show file tree
Hide file tree
Showing 28 changed files with 142 additions and 49 deletions.
94 changes: 48 additions & 46 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ resolver = "2"
[workspace.dependencies]
arrow = { version = "52.1.0" }
async-trait = "0.1.80"
datafusion = { version = "39", features = ["compression", "parquet"] }
datafusion = { version = "40", features = ["compression", "parquet"] }
futures = "0.3"
noodles = { version = "0.77" }
object_store = { version = "0.10.1" }
Expand Down
2 changes: 1 addition & 1 deletion exon/exon-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
datafusion-cli = { version = "39" }
datafusion-cli = { version = "40" }
clap = { version = "4", features = ["derive", "cargo"] }
datafusion = { workspace = true }
exon = { path = "../exon-core", version = "0.26.1", features = ["default"] }
Expand Down
4 changes: 4 additions & 0 deletions exon/exon-core/src/datasources/bam/indexed_scanner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ impl ExecutionPlan for IndexedBAMScan {
self
}

fn name(&self) -> &str {
"IndexedBAMScan"
}

fn repartitioned(
&self,
target_partitions: usize,
Expand Down
4 changes: 4 additions & 0 deletions exon/exon-core/src/datasources/bam/scanner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ impl ExecutionPlan for BAMScan {
Ok(self.statistics.clone())
}

fn name(&self) -> &str {
"BAMScan"
}

fn repartitioned(
&self,
target_partitions: usize,
Expand Down
4 changes: 4 additions & 0 deletions exon/exon-core/src/datasources/bcf/scanner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ impl ExecutionPlan for BCFScan {
self
}

fn name(&self) -> &str {
"BCFScanExec"
}

fn schema(&self) -> SchemaRef {
self.projected_schema.clone()
}
Expand Down
4 changes: 4 additions & 0 deletions exon/exon-core/src/datasources/bed/scanner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ impl ExecutionPlan for BEDScan {
self
}

fn name(&self) -> &str {
"BEDScan"
}

fn properties(&self) -> &PlanProperties {
&self.properties
}
Expand Down
4 changes: 4 additions & 0 deletions exon/exon-core/src/datasources/bigwig/value/scanner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ impl ExecutionPlan for Scanner {
self
}

fn name(&self) -> &str {
"BigWigValueScanner"
}

fn schema(&self) -> SchemaRef {
self.projected_schema.clone()
}
Expand Down
Loading

0 comments on commit 2432fe9

Please sign in to comment.