Skip to content

Commit

Permalink
DX-61034: Arrow changes from apacheGH-34865 PR
Browse files Browse the repository at this point in the history
  • Loading branch information
stevelorddremio committed Feb 23, 2024
1 parent f8dd969 commit 4515fac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cpp/src/arrow/flight/sql/example/sqlite_server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ arrow::Result<std::unique_ptr<FlightDataStream>> DoGetSQLiteQuery(
arrow::Result<std::unique_ptr<FlightInfo>> GetFlightInfoForCommand(
const FlightDescriptor& descriptor, const std::shared_ptr<Schema>& schema) {
std::vector<FlightEndpoint> endpoints{
FlightEndpoint{{descriptor.cmd}, {}, std::nullopt}};
FlightEndpoint{{descriptor.cmd}, {}, std::nullopt, ""}};
ARROW_ASSIGN_OR_RAISE(auto result,
FlightInfo::Make(*schema, descriptor, endpoints, -1, -1, false))

Expand Down Expand Up @@ -305,7 +305,7 @@ class SQLiteFlightSqlServer::Impl {
ARROW_ASSIGN_OR_RAISE(auto ticket,
EncodeTransactionQuery(query, command.transaction_id));
std::vector<FlightEndpoint> endpoints{
FlightEndpoint{std::move(ticket), {}, std::nullopt}};
FlightEndpoint{std::move(ticket), {}, std::nullopt, ""}};
// TODO: Set true only when "ORDER BY" is used in a main "SELECT"
// in the given query.
const bool ordered = false;
Expand Down Expand Up @@ -389,7 +389,7 @@ class SQLiteFlightSqlServer::Impl {
const ServerCallContext& context, const GetTables& command,
const FlightDescriptor& descriptor) {
std::vector<FlightEndpoint> endpoints{
FlightEndpoint{{descriptor.cmd}, {}, std::nullopt}};
FlightEndpoint{{descriptor.cmd}, {}, std::nullopt, ""}};

bool include_schema = command.include_schema;
ARROW_LOG(INFO) << "GetTables include_schema=" << include_schema;
Expand Down

0 comments on commit 4515fac

Please sign in to comment.