fix: replace empty schema with GET_PRIMARY_KEYS_SCHEMA (#7508)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>pull/24376/head
parent
980589504d
commit
911d57c2d4
|
@ -287,7 +287,7 @@ async fn plan_get_primary_keys(
|
|||
_db_schema: Option<String>,
|
||||
_table: String,
|
||||
) -> Result<LogicalPlan> {
|
||||
let batch = RecordBatch::new_empty(Arc::new(Schema::new(vec![])));
|
||||
let batch = RecordBatch::new_empty(Arc::clone(&GET_PRIMARY_KEYS_SCHEMA));
|
||||
Ok(ctx.batch_to_logical_plan(batch)?)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue