-
Notifications
You must be signed in to change notification settings - Fork 333
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
fix: refactor and fix to_unixtime #2695
Merged
waynexia
merged 6 commits into
GreptimeTeam:develop
from
killme2008:feature/fix-to-unixtime
Nov 6, 2023
Merged
fix: refactor and fix to_unixtime #2695
waynexia
merged 6 commits into
GreptimeTeam:develop
from
killme2008:feature/fix-to-unixtime
Nov 6, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #2695 +/- ##
===========================================
- Coverage 84.91% 84.81% -0.10%
===========================================
Files 743 763 +20
Lines 120832 122599 +1767
===========================================
+ Hits 102604 103984 +1380
- Misses 18228 18615 +387 |
killme2008
force-pushed
the
feature/fix-to-unixtime
branch
from
November 6, 2023 00:27
6e48402
to
6a8500c
Compare
v0y4g3r
reviewed
Nov 6, 2023
NiwakaDev
reviewed
Nov 6, 2023
v0y4g3r
approved these changes
Nov 6, 2023
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.
LGTM
waynexia
reviewed
Nov 6, 2023
tests/cases/standalone/common/types/string/scan_big_varchar.sql
Outdated
Show resolved
Hide resolved
@waynexia PTAL |
waynexia
approved these changes
Nov 6, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
Main changes:
to_unixtime
process theTimestampMillisecondVector
andTimestampNanosecondVector
not correctly, return the wrong value. It should return the unix timestamp in seconds.to_unixtime
function to avoid some unnecessary conversions.date
type.Checklist
Refer to a related PR or issue link (optional)