-
Notifications
You must be signed in to change notification settings - Fork 600
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: support ROUND, NOT LIKE and EXTRACT #1498
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1498 +/- ##
=========================================
Coverage 70.45% 70.46%
Complexity 2766 2766
=========================================
Files 1031 1031
Lines 90539 90590 +51
Branches 1790 1790
=========================================
+ Hits 63792 63835 +43
- Misses 25856 25864 +8
Partials 891 891
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
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
query T | ||
values(round(42.4382)); | ||
---- | ||
42 |
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.
May also add some e2e tests for not like
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.
Ok, I will copy some tests from duckdb or elsewhere in later pr.
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.
Rest LGTM
@@ -0,0 +1,18 @@ | |||
include ../../tpch/create_tables.slt.part |
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.
may move this file to batch/tpch.slt
?
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.
Well batch/tpch.slt actually includes some tests that's only supported by java frontend. I will totally substitute the old tpch.slt when frontend-v2 are full-featured.
What's changed and what's your intention?
This PR tried to list the already supported tpch tests. Some were previously blocked by ROUND, NOT LIKE and EXTRACT, which this PR has addressed. Now we have supported q1/q5/q6/q7/q13.
Checklist
Refer to a related PR or issue link (optional)