-
Notifications
You must be signed in to change notification settings - Fork 26
fix: Scalar timestamp parsing #1109
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
This was broken with #1095
scalar/timestamp.go
Outdated
|
|
||
| // this is used by arrow string format (time is in UTC) | ||
| const arrowStringFormat = "2006-01-02 15:04:05.999999999" | ||
| const arrowStringFormatNew = "2006-01-02 15:04:05.999999999Z" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not adding a new line and using the one above seems to break some other things (at least in the test src plugin) probably because of older arrow versions without the Z :)
⏱️ Benchmark results
|
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1109 +/- ##
==========================================
- Coverage 48.75% 47.63% -1.13%
==========================================
Files 85 85
Lines 7839 7799 -40
==========================================
- Hits 3822 3715 -107
- Misses 3682 3746 +64
- Partials 335 338 +3
☔ View full report in Codecov by Sentry. |
yevgenypats
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add some tests to that, given it's a "hot path"
@yevgenypats added |
🤖 I have created a release *beep* *boop* --- ## [4.5.0](v4.4.0...v4.5.0) (2023-08-14) ### Features * Add publish command ([#1143](#1143)) ([fdd44d5](fdd44d5)) ### Bug Fixes * **deps:** Update github.com/cloudquery/arrow/go/v13 digest to e9683e1 ([#1144](#1144)) ([763c549](763c549)) * Scalar timestamp parsing ([#1109](#1109)) ([c15b214](c15b214)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This was broken with #1095 (at least for the test source, which gets its data from testdata)