Skip to content

Commit

Permalink
Bugfix for DuckDBFlightSqlServer::DoGetCatalogs
Browse files Browse the repository at this point in the history
  • Loading branch information
prmoore77 committed Feb 5, 2024
1 parent 55ba20a commit eecf5a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/duckdb/duckdb_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ WHERE constraint_type = 'FOREIGN KEY') WHERE )" +
const ServerCallContext &context) {
std::string query = "SELECT DISTINCT catalog_name FROM information_schema.schemata ORDER BY catalog_name";

return DoGetDuckDBQuery(db_conn_, query, SqlSchema::GetTableTypesSchema());
return DoGetDuckDBQuery(db_conn_, query, SqlSchema::GetCatalogsSchema());
}

arrow::Result<std::unique_ptr<FlightInfo>> GetFlightInfoSchemas(
Expand Down

0 comments on commit eecf5a1

Please sign in to comment.