Skip to content
Open
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
60 changes: 22 additions & 38 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 @@ -118,7 +118,7 @@ bytes = "1.11"
bzip2 = "0.6.1"
chrono = { version = "0.4.44", default-features = false }
criterion = "0.8"
ctor = "0.10.0"
ctor = "1.0.1"
dashmap = "6.0.1"
datafusion = { path = "datafusion/core", version = "53.1.0", default-features = false }
datafusion-catalog = { path = "datafusion/catalog", version = "53.1.0" }
Expand Down
2 changes: 1 addition & 1 deletion datafusion-cli/tests/cli_integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ async fn setup_minio_container() -> Result<ContainerAsync<minio::MinIO>, String>
}

#[cfg(test)]
#[ctor::ctor]
#[ctor::ctor(unsafe)]
fn init() {
// Enable RUST_LOG logging configuration for tests
let _ = env_logger::try_init();
Expand Down
2 changes: 1 addition & 1 deletion datafusion/core/tests/core_integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ mod tracing;
mod extension_types;

#[cfg(test)]
#[ctor::ctor]
#[ctor::ctor(unsafe)]
fn init() {
// Enable RUST_LOG logging configuration for test
let _ = env_logger::try_init();
Expand Down
2 changes: 1 addition & 1 deletion datafusion/core/tests/fuzz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
mod fuzz_cases;

#[cfg(test)]
#[ctor::ctor]
#[ctor::ctor(unsafe)]
fn init() {
// Enable RUST_LOG logging configuration for test
let _ = env_logger::try_init();
Expand Down
2 changes: 1 addition & 1 deletion datafusion/core/tests/memory_limit/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ use futures::StreamExt;
use tokio::fs::File;

#[cfg(test)]
#[ctor::ctor]
#[ctor::ctor(unsafe)]
fn init() {
// Enable RUST_LOG logging configuration for test
let _ = env_logger::try_init();
Expand Down
2 changes: 1 addition & 1 deletion datafusion/core/tests/optimizer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ use datafusion_expr::expr_rewriter::rewrite_with_guarantees;
use datafusion_functions::datetime;

#[cfg(test)]
#[ctor::ctor]
#[ctor::ctor(unsafe)]
fn init() {
// enable logging so RUST_LOG works
let _ = env_logger::try_init();
Expand Down
2 changes: 1 addition & 1 deletion datafusion/core/tests/parquet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ mod schema_coercion;
mod utils;

#[cfg(test)]
#[ctor::ctor]
#[ctor::ctor(unsafe)]
fn init() {
// Enable RUST_LOG logging configuration for test
let _ = env_logger::try_init();
Expand Down
2 changes: 1 addition & 1 deletion datafusion/core/tests/user_defined_integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
mod user_defined;

#[cfg(test)]
#[ctor::ctor]
#[ctor::ctor(unsafe)]
fn init() {
// Enable RUST_LOG logging configuration for test
let _ = env_logger::try_init();
Expand Down
2 changes: 1 addition & 1 deletion datafusion/expr/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ pub use udwf::{LimitEffect, ReversedUDWF, WindowUDF, WindowUDFImpl};
pub use window_frame::{WindowFrame, WindowFrameBound, WindowFrameUnits};

#[cfg(test)]
#[ctor::ctor]
#[ctor::ctor(unsafe)]
fn init() {
// Enable RUST_LOG logging configuration for test
let _ = env_logger::try_init();
Expand Down
2 changes: 1 addition & 1 deletion datafusion/functions/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ pub fn register_all(registry: &mut dyn FunctionRegistry) -> Result<()> {
}

#[cfg(test)]
#[ctor::ctor]
#[ctor::ctor(unsafe)]
fn init() {
// Enable RUST_LOG logging configuration for test
let _ = env_logger::try_init();
Expand Down
2 changes: 1 addition & 1 deletion datafusion/optimizer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pub(crate) mod join_key_set;
mod plan_signature;

#[cfg(test)]
#[ctor::ctor]
#[ctor::ctor(unsafe)]
fn init() {
// Enable RUST_LOG logging configuration for test
let _ = env_logger::try_init();
Expand Down
2 changes: 1 addition & 1 deletion datafusion/optimizer/tests/optimizer_integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ use datafusion_sql::sqlparser::parser::Parser;
use insta::assert_snapshot;

#[cfg(test)]
#[ctor::ctor]
#[ctor::ctor(unsafe)]
fn init() {
// enable logging so RUST_LOG works
let _ = env_logger::try_init();
Expand Down
2 changes: 1 addition & 1 deletion datafusion/sql/tests/sql_integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4966,7 +4966,7 @@ fn assert_field_not_found(mut err: DataFusionError, name: &str) {
}

#[cfg(test)]
#[ctor::ctor]
#[ctor::ctor(unsafe)]
fn init() {
// Enable RUST_LOG logging configuration for tests
let _ = env_logger::try_init();
Expand Down
Loading