Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to arrow 52 #47

Merged
merged 2 commits into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions snowflake-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license = "Apache-2.0"
name = "snowflake-api"
readme = "README.md"
repository = "https://github.com/mycelial/snowflake-rs"
version = "0.8.1"
version = "0.9.0"

[features]
all = ["cert-auth", "polars"]
Expand All @@ -19,7 +19,7 @@ default = ["cert-auth"]
polars = ["dep:polars-core", "dep:polars-io"]

[dependencies]
arrow = "51"
arrow = "52"
async-trait = "0.1"
base64 = "0.22"
bytes = "1"
Expand Down Expand Up @@ -49,12 +49,12 @@ polars-io = { version = ">=0.32", features = [

# put request support
glob = { version = "0.3" }
object_store = { version = "0.9", features = ["aws"] }
object_store = { version = "0.10", features = ["aws"] }
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }

[dev-dependencies]
anyhow = "1"
arrow = { version = "51", features = ["prettyprint"] }
arrow = { version = "52", features = ["prettyprint"] }
clap = { version = "4", features = ["derive"] }
pretty_env_logger = "0.5"
tokio = { version = "1.35", features = ["macros", "rt-multi-thread"] }
12 changes: 6 additions & 6 deletions snowflake-api/examples/tracing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ version = "0.1.0"

[dependencies]
anyhow = "1"
arrow = { version = "51", features = ["prettyprint"] }
arrow = { version = "52", features = ["prettyprint"] }
dotenv = "0.15"
snowflake-api = { path = "../../../snowflake-api" }

opentelemetry = "0.22"
opentelemetry-otlp = "0.15"
opentelemetry-semantic-conventions = "0.14"
opentelemetry_sdk = { version = "0.22", features = ["rt-tokio"] }
opentelemetry = "0.23"
opentelemetry-otlp = "0.16"
opentelemetry-semantic-conventions = "0.15"
opentelemetry_sdk = { version = "0.23", features = ["rt-tokio"] }
reqwest-middleware = "0.3"
reqwest-tracing = { version = "0.5", features = ["opentelemetry_0_21"] }
tokio = { version = "1", features = ["full"] }
tracing = "0.1"
tracing-opentelemetry = "0.23"
tracing-opentelemetry = "0.24"
tracing-subscriber = "0.3"
2 changes: 1 addition & 1 deletion snowflake-api/src/put.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ async fn put_file<T: ObjectStore>(
let src_path = object_store::path::Path::parse(src_path)?;
let fs = LocalFileSystem::new().get(&src_path).await?;

store.put(&dest_path, fs.bytes().await?).await?;
store.put(&dest_path, fs.bytes().await?.into()).await?;

Ok::<(), SnowflakeApiError>(())
}
Expand Down
Loading