Skip to content

Commit 14c57a2

Browse files
committed
Declare force_hash_collisions feature in datafusion-common
Newest clippy version complains about undeclared feature in use.
1 parent 358ab65 commit 14c57a2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

datafusion/common/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ path = "src/lib.rs"
3939
avro = ["apache-avro"]
4040
backtrace = []
4141
pyarrow = ["pyo3", "arrow/pyarrow", "parquet"]
42+
force_hash_collisions = []
4243

4344
[dependencies]
4445
ahash = { workspace = true }

datafusion/core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ default = [
6262
]
6363
encoding_expressions = ["datafusion-functions/encoding_expressions"]
6464
# Used for testing ONLY: causes all values to hash to the same value (test for collisions)
65-
force_hash_collisions = []
65+
force_hash_collisions = ["datafusion-common/force_hash_collisions"]
6666
math_expressions = ["datafusion-functions/math_expressions"]
6767
parquet = ["datafusion-common/parquet", "dep:parquet"]
6868
pyarrow = ["datafusion-common/pyarrow", "parquet"]

0 commit comments

Comments
 (0)