-
Notifications
You must be signed in to change notification settings - Fork 84
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
flag truncate_timestamps
added to fetcharrow functions
#209
base: master
Are you sure you want to change the base?
flag truncate_timestamps
added to fetcharrow functions
#209
Conversation
It looks like OSX if failing but I don't think it is related to this PR (I might be wrong though) |
Hi @JorgeGarciaIrazabal - Could you please try rebasing to master and reopen the PR? OSX is fixed there. |
c795f3f
to
997f327
Compare
Codecov Report
@@ Coverage Diff @@
## master #209 +/- ##
==========================================
+ Coverage 98.59% 98.65% +0.05%
==========================================
Files 136 145 +9
Lines 2999 3349 +350
==========================================
+ Hits 2957 3304 +347
- Misses 42 45 +3
Continue to review full report at Codecov.
|
@MathMagique I have a different error after rebasing, I am not 100% sure why it failed this time though. |
Arrow only allows timestamps within years between 1400 to 9999. This new flag will allow to truncate the dates preventing errors.
997f327
to
c488cc5
Compare
@MathMagique running the job again, all the checks passed! let me know if you want me to change/add anything to the PR. Thanks in advance |
This is not an issue with |
Yeah, that makes more sense. Unfortunately, with my limited c++ experience, I can not think of a better alternative for the library. Are you guys planing on working on this any time soon? |
2f4e5f5
to
c488cc5
Compare
#207
Arrow only allows timestamps with years between 1400 to 9999.
Adding the new boolean parameter
truncate_timestamps
to functionsfetchallarrow
andfetcharrowbatches
to truncate the value to the valid range instead of throwing.