pitrou commented on a change in pull request #11982:
URL: https://github.com/apache/arrow/pull/11982#discussion_r811329732
##########
File path: cpp/src/arrow/flight/sql/client.h
##########
@@ -135,6 +135,19 @@ class ARROW_EXPORT FlightSqlClient {
arrow::Result<std::unique_ptr<FlightInfo>> GetTableTypes(
const FlightCallOptions& options);
+ /// \brief Request the information about all the data types supported.
+ /// \param[in] options RPC-layer hints for this call.
+ /// \return The FlightInfo describing where to access the dataset.
+ arrow::Result<std::unique_ptr<FlightInfo>> GetTypeInfo(
+ const FlightCallOptions& options);
+
+ /// \brief Request the information about all the data types supported.
+ /// \param[in] options RPC-layer hints for this call.
+ /// \param[in] data_type The data type to search for as filtering.
+ /// \return The FlightInfo describing where to access the dataset.
+ arrow::Result<std::unique_ptr<FlightInfo>> GetTypeInfo(const
FlightCallOptions& options,
+ int data_type);
Review comment:
Are there situations where it is desirable to call this instead of
getting all data types supported (there shouldn't be thousands of them...)?
--
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]