Skip to content

Apache DataFusion SQL Query Engine

Minor: make uuid an optional dependency on datafusion-functions (#9771)

Andrew Lambbf141dd11329
diff --git a/datafusion/functions/Cargo.toml b/datafusion/functions/Cargo.toml
index 0cab0276ff..3ae3061012 100644
--- a/datafusion/functions/Cargo.toml
+++ b/datafusion/functions/Cargo.toml
@@ -52,7 +52,7 @@ math_expressions = []
# enable regular expressions
regex_expressions = ["regex"]
# enable string functions
-string_expressions = []
+string_expressions = ["uuid"]
# enable unicode functions
unicode_expressions = ["unicode-segmentation"]
@@ -79,7 +79,7 @@ md-5 = { version = "^0.10.0", optional = true }
regex = { version = "1.8", optional = true }
sha2 = { version = "^0.10.1", optional = true }
unicode-segmentation = { version = "^1.7.1", optional = true }
-uuid = { version = "1.7", features = ["v4"] }
+uuid = { version = "1.7", features = ["v4"], optional = true }
[dev-dependencies]
criterion = "0.5"