Skip to content

Commit a02b1be

Browse files
committed
remove broken core_expressions flag
1 parent 18de2aa commit a02b1be

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

.github/workflows/rust.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,6 @@ jobs:
223223
run: cargo check --profile ci -p datafusion-functions
224224
- name: Check datafusion-functions (no-default-features)
225225
run: cargo check --profile ci --no-default-features -p datafusion-functions
226-
- name: Check datafusion-functions (core_expressions)
227-
run: cargo check --profile ci --no-default-features -p datafusion-functions --features=core_expressions
228226
- name: Check datafusion-functions (crypto_expressions)
229227
run: cargo check --profile ci --no-default-features -p datafusion-functions --features=crypto_expressions
230228
- name: Check datafusion-functions (datetime_expressions)

datafusion/functions/Cargo.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,12 @@ all-features = true
3535
workspace = true
3636

3737
[features]
38-
# enable core functions
39-
core_expressions = []
4038
crypto_expressions = ["md-5", "sha2", "blake2", "blake3"]
4139
# enable datetime functions
4240
datetime_expressions = []
43-
# Enable encoding by default so the doctests work. In general don't automatically enable all packages.
41+
# Enable encoding by default so the doctests work.
42+
# In general don't automatically enable all packages.
4443
default = [
45-
"core_expressions",
4644
"datetime_expressions",
4745
"encoding_expressions",
4846
"math_expressions",
@@ -146,7 +144,6 @@ required-features = ["math_expressions"]
146144
[[bench]]
147145
harness = false
148146
name = "nullif"
149-
required-features = ["core_expressions"]
150147

151148
[[bench]]
152149
harness = false

datafusion/functions/src/lib.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,8 @@ pub mod macros;
9898
pub mod string;
9999
make_stub_package!(string, "string_expressions");
100100

101-
/// Core datafusion expressions
102-
/// Enabled via feature flag `core_expressions`
103-
#[cfg(feature = "core_expressions")]
101+
/// Core datafusion expressions. These are always enabled
104102
pub mod core;
105-
make_stub_package!(core, "core_expressions");
106103

107104
/// Date and time expressions.
108105
/// Contains functions such as to_timestamp
@@ -147,7 +144,6 @@ pub mod utils;
147144

148145
/// Fluent-style API for creating `Expr`s
149146
pub mod expr_fn {
150-
#[cfg(feature = "core_expressions")]
151147
pub use super::core::expr_fn::*;
152148
#[cfg(feature = "crypto_expressions")]
153149
pub use super::crypto::expr_fn::*;

0 commit comments

Comments
 (0)