-
-
Notifications
You must be signed in to change notification settings - Fork 141
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(tianmu): Supports user-defined functions (#538) #835
Conversation
This pull request's title should follow requirements next. @adofsauron please check it 👇. Valid format:
Valid types:
|
Thanks for the contribution! Please review the labels and make any necessary changes. |
@@ -0,0 +1,9 @@ | |||
use test; |
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.
using "--source have_tianmu.inc"
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.
using --disable_query_log/ --enable_query_log to shut down the unused log.
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.
the file name should be attached to an issue.
`department_id` int(11) DEFAULT NULL | ||
) ENGINE=TIANMU DEFAULT CHARSET=utf8mb4; | ||
|
||
--disable_warnings |
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.
Why do u use disable warnings twice?
a.employee_id = b.employee_id | ||
and b.employee_name = 'David Tian'; | ||
|
||
SELECT get_value(1); |
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.
I think we need these test. Taking an instance:
select sum (xx + get_value(1)) xxx
or
select xxx from xxx where xxx oper get_value.
....
etc.
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.
sure, wait a time for add this
Demand analysis: https://adofsauron.blog.csdn.net/article/details/126991367 Detailed modification description: https://blog.csdn.net/adofsauron/article/details/127543458
Summary about this PR
Issue Number: close #538
Tests Check List
Changelog
Documentation