New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARROW-17078: [C++] Clean up error handling in C++ Examples #13598
Conversation
While usually I'm strongly in favour of avoiding duplication and building up reusable facilities, in this case I'm not sure it's a good idea to introduce a specific header file for examples, instead of a single |
If anything I'd rather have examples ported to the cookbook, but yes, I'd rather try to keep examples here reasonably self-contained. |
In general, I want to keep examples as simple as possible for easy to understand by users. For example, minimal dependencies, straightforward implementations and so on. In this case, I don't want to do this because it increases a (small) dependency ( How about removing |
@kou may be I can do that here. |
Yes, please. :-) |
We should also file a JIRA since this isn't really a minor change |
@lidavidm I renamed the PR to match with the filed JIRA. Should we do something to track it here? |
It will automatically link the JIRA, just be patient and let the Dev CI pipeline run to make the link. |
Looks like failures are primarily due to the Protobuf linkage issue. |
Is this independent of this change? |
Benchmark runs are scheduled for baseline = 4db3222 and contender = ffd31d8. ffd31d8 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
A simple util file was added to include a macro used in each example and may be in future we can include common utils like data generators, writers, etc in the here. This is just a suggestion.