ksuarez1423 commented on code in PR #13859:
URL: https://github.com/apache/arrow/pull/13859#discussion_r943956478
##########
cpp/examples/tutorial_examples/arrow_example.cc:
##########
@@ -0,0 +1,90 @@
+#include <arrow/api.h>
+#include <arrow/result.h>
+#include <arrow/status.h>
+#include <arrow/table.h>
+
+#include <iostream>
+
+arrow::Status RunMain(int argc, char** argv) {
Review Comment:
Given that we use macros for this in "normal" code, I'm not quite sure how
to show them off, in a sense. The biggest difference is generally that you use
ARROW_RETURN_NOT_OK for procedures that return Status, and
ARROW_ASSIGN_OR_RAISE otherwise. I have methods that do both, so maybe I could
just call out when it's happening?
--
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]