| 468 | } |
| 469 | |
| 470 | arrow::Result<std::unique_ptr<FlightInfo>> FlightSqlClient::GetImportedKeys( |
| 471 | const FlightCallOptions& options, const TableRef& table_ref) { |
| 472 | flight_sql_pb::CommandGetImportedKeys command; |
| 473 | |
| 474 | if (table_ref.catalog.has_value()) { |
| 475 | command.set_catalog(table_ref.catalog.value()); |
| 476 | } |
| 477 | |
| 478 | if (table_ref.db_schema.has_value()) { |
| 479 | command.set_db_schema(table_ref.db_schema.value()); |
| 480 | } |
| 481 | |
| 482 | command.set_table(table_ref.table); |
| 483 | |
| 484 | return GetFlightInfoForCommand(this, options, command); |
| 485 | } |
| 486 | |
| 487 | arrow::Result<std::unique_ptr<SchemaResult>> FlightSqlClient::GetImportedKeysSchema( |
| 488 | const FlightCallOptions& options) { |