-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-5346: [C++] Revert changed to vendored datetime library #4324
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
Conversation
lgtm. |
|
Looks like I missed a gandiva file, will fix tomorrow. |
|
Have you tried reporting the issue upstream? |
|
I agree that the issue should get fixed upstream. If we are having this |
|
I can ask for a fix upstream, but it isn't small and it really is an edge case with how we wrapped the library into our own namespace. The only other way this occurs is if someone has "duration" included in a file for before "date.h" without any namespace. Essentially the code boiled down to: So print_me was getting resolved to |
|
Opened an issue upstream. I think this is a worthwhile fix anyways (i've removed the util namespace). |
Codecov Report
@@ Coverage Diff @@
## master #4324 +/- ##
=========================================
+ Coverage 88.22% 89.2% +0.97%
=========================================
Files 777 632 -145
Lines 97881 86483 -11398
Branches 1251 0 -1251
=========================================
- Hits 86360 77147 -9213
+ Misses 11285 9336 -1949
+ Partials 236 0 -236
Continue to review full report at Codecov.
|
The best way I could think of accomplishing this was to introduce another top level namespace arrow_vendored, so "duration" does not conflict between the two. Other suggestions welcome.