joellubi commented on code in PR #38385:
URL: https://github.com/apache/arrow/pull/38385#discussion_r1382161355
##########
cpp/src/arrow/flight/sql/server.h:
##########
@@ -85,6 +85,32 @@ struct ARROW_FLIGHT_SQL_EXPORT PreparedStatementUpdate {
std::string prepared_statement_handle;
};
+/// \brief A bulk ingestion request
+struct ARROW_FLIGHT_SQL_EXPORT StatementIngest {
+ enum IngestMode {
+ kUnspecified,
+ kCreate,
+ kAppend,
+ kReplace,
+ kCreateAppend,
+ };
+
+ /// \brief The ingestion behavior.
+ IngestMode mode;
+ /// \brief The destination table to load into.
+ std::string table;
+ /// \brief The DB schema of the destination table.
+ std::string schema;
Review Comment:
Good point. Looks better now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]