[ https://issues.apache.org/jira/browse/ARROW-4568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rok Mihevc updated ARROW-4568: ------------------------------ External issue URL: https://github.com/apache/arrow/issues/21114 > [C++] Add version macros to headers > ----------------------------------- > > Key: ARROW-4568 > URL: https://issues.apache.org/jira/browse/ARROW-4568 > Project: Apache Arrow > Issue Type: Improvement > Components: C++ > Reporter: Lawrence Chan > Assignee: Uwe Korn > Priority: Minor > Labels: pull-request-available > Fix For: 0.13.0 > > Time Spent: 0.5h > Remaining Estimate: 0h > > It would be useful to have compile-time macros in the headers specifying the > major/minor/patch versions, so that users can more easily maintain code that > can be built with a range of arrow versions. > Other nice-to-haves: > - Maybe a "combiner" func that basically spits out the value as an easy to > compare integer e.g. 12000 for 0.12.0 or something. > - Git hash -- This message was sent by Atlassian Jira (v8.20.10#820010)