From 9d2f91632a76cd8131198fdd7d6cad3ed3a24d46 Mon Sep 17 00:00:00 2001 From: hozan23 Date: Sun, 22 Dec 2024 18:16:45 +0100 Subject: [PATCH] flight-sql-server: Add protoc as feature when building substrait dependency According to substrait-rs documentation: > In environments where no `protoc` is available the `protoc` feature can > be enabled to build `protoc` from source: --- datafusion-flight-sql-server/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datafusion-flight-sql-server/Cargo.toml b/datafusion-flight-sql-server/Cargo.toml index 5caa4af..fded856 100644 --- a/datafusion-flight-sql-server/Cargo.toml +++ b/datafusion-flight-sql-server/Cargo.toml @@ -14,14 +14,14 @@ path = "src/lib.rs" arrow-flight.workspace = true arrow.workspace = true datafusion-federation = { workspace = true, features = ["sql"] } -datafusion-substrait.workspace = true +datafusion-substrait = { workspace = true, features = ["protoc"] } datafusion.workspace = true futures.workspace = true log = "0.4.22" once_cell = "1.19.0" prost = "0.13.1" tonic.workspace = true -async-trait.workspace = true +async-trait.workspace = true [dev-dependencies] tokio.workspace = true