Skip to content

Commit

Permalink
fix build issue in optional code
Browse files Browse the repository at this point in the history
  • Loading branch information
milenkovicm committed Nov 6, 2024
1 parent fe81de8 commit 8e388e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ballista/scheduler/src/flight_sql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ impl FlightSqlServiceImpl {
}

fn df_schema_to_arrow(&self, schema: &DFSchemaRef) -> Result<Vec<u8>, 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)
}
Expand Down

0 comments on commit 8e388e3

Please sign in to comment.