forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-4800: [C++] Introduce a Result<T> class
- Mostly an adaptation of StatusOr from google/asylo (both header and unittests). - Demonstrate usage in ipc/writer* - If this PR is accepted I can do a follow-up PR to port over useful testing utilities. Author: Micah Kornfield <[email protected]> Author: emkornfield <[email protected]> Closes apache#4501 from emkornfield/error_or and squashes the following commits: 82e48c4 <Micah Kornfield> fix linter. Add unittest. aad79b1 <Micah Kornfield> rename to Return 1d7dbfb <Micah Kornfield> Use bkietz's suggestion. cleanup test d8e8043 <Micah Kornfield> fix compile errors cc62607 <Micah Kornfield> try non anonyous namespace 86e43ac <Micah Kornfield> export before 8a4b3cc <Micah Kornfield> try explicit instantation for msvc f12f6d0 <Micah Kornfield> Revert "remove ARROW_EXPORT from test and try add link to gtest_main" 9581b05 <Micah Kornfield> remove ARROW_EXPORT from test and try add link to gtest_main 7a21e57 <Micah Kornfield> try exporting private test classes for appveyor 0b44389 <Micah Kornfield> fix format de9d2d0 <Micah Kornfield> remove duplicate code. fix format 504fcd7 <emkornfield> Update cpp/src/arrow/error_or.h 31d9906 <Micah Kornfield> use vendored variant aa540da <Micah Kornfield> fix append 6f459a5 <Micah Kornfield> address review comments 7a1e54d <Micah Kornfield> Add Arrow export 2886733 <Micah Kornfield> use ARROW_RETURN_NOT_OK f7ed04f <Micah Kornfield> address comments 3e2b369 <Micah Kornfield> follow recommendation of docs for macro d5e43d0 <Micah Kornfield> ARROW-4800: Introduce an ErrorOr class
- Loading branch information
1 parent
1515fe1
commit 7e16ee4
Showing
10 changed files
with
1,040 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.