-
Notifications
You must be signed in to change notification settings - Fork 341
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
feat: impl interval type #1952
feat: impl interval type #1952
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1952 +/- ##
===========================================
- Coverage 85.25% 84.88% -0.37%
===========================================
Files 664 667 +3
Lines 104783 105516 +733
===========================================
+ Hits 89333 89570 +237
- Misses 15450 15946 +496 |
354ef9e
to
84de48d
Compare
This comment was marked as resolved.
This comment was marked as resolved.
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.
Next time, I think you could open a PR to add files like src/common/time/src/interval.rs
first. This file has over 700 lines and doesn't depend on other changes in this PR.
Ok,Thank you for your suggestion. |
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.
Mostly LGTM. It'd be great if we support interval type in our pg protocol implementation. But I think we could track it in another issue and open a new PR for it #1952 (comment)
17c42b1
to
2af7a27
Compare
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. Please go ahead 💪
@QuenKar There are some conflicts that have to be resolved. |
2af7a27
to
9184b84
Compare
I solved it (•̀ᴗ• ) |
* feat: impl interval type in common time * feat: impl datatype, vectors, value for interval pick 0c1d9f2 feat: impl interval type in common time pick d528c64 feat: impl datatype, vectors, value for interval pick 1e12dd5 comments update pick 74103e3 add license header * comments update * add license header * cargo clippy * refactor interval type * add unit test and case to dummy.sql * cargo clippy * chore: add doc comments * chore: cargo fmt * feat: add formats, refactor comparison * add docs comments * Apply suggestions from code review Co-authored-by: Yingwen <[email protected]> * chore: cr comment --------- Co-authored-by: Yingwen <[email protected]>
I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
interval
type in common time package.DataType
,Vector
,Value
trait for IntervalMonthDayNano.Checklist
Refer to a related PR or issue link (optional)
closes #1886