diff --git a/datafusion/common/Cargo.toml b/datafusion/common/Cargo.toml index 62ea85a4a33d..85dfb2e8f73a 100644 --- a/datafusion/common/Cargo.toml +++ b/datafusion/common/Cargo.toml @@ -39,6 +39,7 @@ path = "src/lib.rs" avro = ["apache-avro"] backtrace = [] pyarrow = ["pyo3", "arrow/pyarrow", "parquet"] +force_hash_collisions = [] [dependencies] ahash = { workspace = true } diff --git a/datafusion/core/Cargo.toml b/datafusion/core/Cargo.toml index bed9265ff016..bbf5aa36109f 100644 --- a/datafusion/core/Cargo.toml +++ b/datafusion/core/Cargo.toml @@ -62,7 +62,7 @@ default = [ ] encoding_expressions = ["datafusion-functions/encoding_expressions"] # Used for testing ONLY: causes all values to hash to the same value (test for collisions) -force_hash_collisions = [] +force_hash_collisions = ["datafusion-common/force_hash_collisions"] math_expressions = ["datafusion-functions/math_expressions"] parquet = ["datafusion-common/parquet", "dep:parquet"] pyarrow = ["datafusion-common/pyarrow", "parquet"]