diff --git a/Cargo.toml b/Cargo.toml index 04c5f4755fe40..2f2a6cfb54b69 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -102,6 +102,7 @@ object_store = { version = "0.9.1", default-features = false } parking_lot = "0.12" parquet = { version = "51.0.0", default-features = false, features = ["arrow", "async", "object_store"] } rand = "0.8" +regex = "1.8" rstest = "0.19.0" serde_json = "1" sqlparser = { version = "0.45.0", features = ["visitor"] } diff --git a/datafusion/core/Cargo.toml b/datafusion/core/Cargo.toml index cef45e41a33ca..63538c0dae451 100644 --- a/datafusion/core/Cargo.toml +++ b/datafusion/core/Cargo.toml @@ -145,7 +145,7 @@ postgres-protocol = "0.6.4" postgres-types = { version = "0.2.4", features = ["derive", "with-chrono-0_4"] } rand = { workspace = true, features = ["small_rng"] } rand_distr = "0.4.3" -regex = "1.5.4" +regex = { workspace = true } rstest = { workspace = true } rust_decimal = { version = "1.27.0", features = ["tokio-pg"] } serde_json = { workspace = true } diff --git a/datafusion/functions/Cargo.toml b/datafusion/functions/Cargo.toml index ceb851a390271..e4e99beee97f9 100644 --- a/datafusion/functions/Cargo.toml +++ b/datafusion/functions/Cargo.toml @@ -80,7 +80,7 @@ itertools = { workspace = true } log = { workspace = true } md-5 = { version = "^0.10.0", optional = true } rand = { workspace = true } -regex = { version = "1.8", optional = true } +regex = { worksapce = true, optional = true } sha2 = { version = "^0.10.1", optional = true } unicode-segmentation = { version = "^1.7.1", optional = true } uuid = { version = "1.7", features = ["v4"], optional = true } diff --git a/datafusion/physical-expr/Cargo.toml b/datafusion/physical-expr/Cargo.toml index 7104b5d6605e9..f315aca7bc826 100644 --- a/datafusion/physical-expr/Cargo.toml +++ b/datafusion/physical-expr/Cargo.toml @@ -68,7 +68,7 @@ itertools = { workspace = true, features = ["use_std"] } log = { workspace = true } paste = "^1.0" petgraph = "0.6.2" -regex = { version = "1.8", optional = true } +regex = { workspace = true, optional = true } [dev-dependencies] arrow = { workspace = true, features = ["test_utils"] } diff --git a/datafusion/sql/Cargo.toml b/datafusion/sql/Cargo.toml index 02d5fd391b305..06bcdc9a1bd44 100644 --- a/datafusion/sql/Cargo.toml +++ b/datafusion/sql/Cargo.toml @@ -47,7 +47,7 @@ arrow-schema = { workspace = true } datafusion-common = { workspace = true, default-features = true } datafusion-expr = { workspace = true } log = { workspace = true } -regex = { version = "1.8" } +regex = { workspace = true } sqlparser = { workspace = true } strum = { version = "0.26.1", features = ["derive"] }