Skip to content

Apache DataFusion SQL Query Engine

fix: make the `sql` feature truly optional (#20625)

Heran Lin0bf376735e6e
diff --git a/datafusion/core/Cargo.toml b/datafusion/core/Cargo.toml
index 3d0a76a182..8965948a0f 100644
--- a/datafusion/core/Cargo.toml
+++ b/datafusion/core/Cargo.toml
@@ -88,8 +88,8 @@ recursive_protection = [
"datafusion-optimizer/recursive_protection",
"datafusion-physical-optimizer/recursive_protection",
"datafusion-physical-expr/recursive_protection",
- "datafusion-sql/recursive_protection",
- "sqlparser/recursive-protection",
+ "datafusion-sql?/recursive_protection",
+ "sqlparser?/recursive-protection",
]
serde = [
"dep:serde",