Skip to content

Commit

Permalink
Merge pull request #17 from probably-nothing-labs/df-41
Browse files Browse the repository at this point in the history
upgrade to datafusion 41.0.0
  • Loading branch information
emgeee authored Aug 13, 2024
2 parents 4aa8f50 + 8e704ca commit c6f3d9a
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 36 deletions.
60 changes: 30 additions & 30 deletions Cargo.lock

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

9 changes: 7 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ description = "Embeddable stream processing engine"

[workspace.dependencies]
df-streams-core = { path = "crates/core" }
datafusion = "40.0"
datafusion = "41.0.0"

arrow = { version = "52.0.0", features = ["prettyprint"] }
arrow-array = { version = "52.0.0", default-features = false, features = [
Expand All @@ -39,7 +39,12 @@ futures = "0.3"
tracing = "0.1.40"
tracing-log = "0.2.0"
tracing-subscriber = "0.3.18"
tokio = { version = "1.36", features = ["macros", "rt", "sync", "rt-multi-thread"] }
tokio = { version = "1.36", features = [
"macros",
"rt",
"sync",
"rt-multi-thread",
] }
async-trait = "0.1.81"
rdkafka = "0.36.2"
log = "^0.4"
Expand Down
3 changes: 2 additions & 1 deletion examples/examples/csv_streaming.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ use datafusion::common::test_util::datafusion_test_data;
use datafusion::dataframe::DataFrameWriteOptions;
use datafusion::datasource::MemTable;
use datafusion::error::Result;
use datafusion::logical_expr::{col, max, min};
use datafusion::functions_aggregate::expr_fn::{max, min};
use datafusion::logical_expr::col;
use datafusion::prelude::*;

/// This example demonstrates executing a simple query against an Arrow data source (CSV) and
Expand Down
3 changes: 2 additions & 1 deletion examples/examples/kafka_rideshare.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use datafusion::error::Result;
use datafusion::functions::core::expr_ext::FieldAccessor;
use datafusion::functions_aggregate::count::count;
use datafusion::logical_expr::{col, max, min};
use datafusion::functions_aggregate::expr_fn::{max, min};
use datafusion::logical_expr::col;

use df_streams_core::context::Context;
use df_streams_core::datasource::kafka::{ConnectionOpts, KafkaTopicBuilder};
Expand Down
4 changes: 2 additions & 2 deletions examples/examples/simple_aggregation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ use std::time::Duration;
use datafusion::error::Result;
use datafusion::functions_aggregate::average::avg;
use datafusion::functions_aggregate::count::count;
use datafusion::logical_expr::lit;
use datafusion::logical_expr::{col, max, min};
use datafusion::functions_aggregate::expr_fn::{max, min};
use datafusion::logical_expr::{col, lit};

use df_streams_core::context::Context;
use df_streams_core::datasource::kafka::{ConnectionOpts, KafkaTopicBuilder};
Expand Down

0 comments on commit c6f3d9a

Please sign in to comment.