From 8e388e34061963208554395a86b8d601c6680112 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Milenkovi=C4=87?= Date: Wed, 6 Nov 2024 14:11:01 +0000 Subject: [PATCH] fix build issue in optional code --- ballista/scheduler/src/flight_sql.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ballista/scheduler/src/flight_sql.rs b/ballista/scheduler/src/flight_sql.rs index 8956ba46e..2187db064 100644 --- a/ballista/scheduler/src/flight_sql.rs +++ b/ballista/scheduler/src/flight_sql.rs @@ -361,7 +361,7 @@ impl FlightSqlServiceImpl { } fn df_schema_to_arrow(&self, schema: &DFSchemaRef) -> Result, Status> { - let Schema = (&**schema).into(); + let arrow_schema: Schema = (&**schema).into(); let schema_bytes = self.schema_to_arrow(Arc::new(arrow_schema))?; Ok(schema_bytes) }