You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "wgtmac (via GitHub)" <gi...@apache.org> on 2023/04/20 01:52:00 UTC

[GitHub] [arrow] wgtmac commented on a diff in pull request #35178: GH-34852: [C++][FlightRPC] Add support for ordered data

wgtmac commented on code in PR #35178:
URL: https://github.com/apache/arrow/pull/35178#discussion_r1172002140


##########
cpp/src/arrow/flight/types.h:
##########
@@ -554,6 +556,9 @@ class ARROW_FLIGHT_EXPORT FlightInfo {
   /// The total number of bytes in the dataset. If unknown, set to -1
   int64_t total_bytes() const { return data_.total_bytes; }
 
+  /// Whether endpoints are in the same order as the data.
+  bool ordered() const { return data_.ordered; }

Review Comment:
   I am not familiar with flight so maybe a dumb question: does the user know which order it is? Like ascending/descending and what are the sorted columns?



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org