-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Support MySQL-based FunctionNamespaceManager #13972
Conversation
caithagoras
commented
Jan 16, 2020
•
edited by rongrong
Loading
edited by rongrong
cb46ab3
to
b6d4803
Compare
7cc9ff8
to
6b887ea
Compare
A very high level comment: I see that you are renaming the module |
@rongrong Renamed package |
...ce-managers/src/main/java/com/facebook/presto/functionNamespace/db/FunctionNamespaceDao.java
Outdated
Show resolved
Hide resolved
...ce-managers/src/main/java/com/facebook/presto/functionNamespace/db/FunctionNamespaceDao.java
Outdated
Show resolved
Hide resolved
...ce-managers/src/main/java/com/facebook/presto/functionNamespace/db/FunctionNamespaceDao.java
Outdated
Show resolved
Hide resolved
...ce-managers/src/main/java/com/facebook/presto/functionNamespace/db/FunctionNamespaceDao.java
Outdated
Show resolved
Hide resolved
...ce-managers/src/main/java/com/facebook/presto/functionNamespace/db/FunctionNamespaceDao.java
Outdated
Show resolved
Hide resolved
...ce-managers/src/main/java/com/facebook/presto/functionNamespace/db/FunctionNamespaceDao.java
Outdated
Show resolved
Hide resolved
...ce-managers/src/main/java/com/facebook/presto/functionNamespace/db/FunctionNamespaceDao.java
Outdated
Show resolved
Hide resolved
...gers/src/main/java/com/facebook/presto/functionNamespace/db/SqlInvokedFunctionRowMapper.java
Outdated
Show resolved
Hide resolved
...s/src/test/java/com/facebook/presto/functionNamespace/db/TestDbFunctionNamespaceManager.java
Outdated
Show resolved
Hide resolved
...src/main/java/com/facebook/presto/functionNamespace/db/DbFunctionNamespaceManagerConfig.java
Outdated
Show resolved
Hide resolved
459927a
to
9b97d8d
Compare
4ae4d07
to
ad2a9a6
Compare
@rongrong Ready for another pass.
|
a57e47d
to
9740926
Compare
presto-docs/src/main/sphinx/admin/function-namespace-managers.rst
Outdated
Show resolved
Hide resolved
presto-docs/src/main/sphinx/admin/function-namespace-managers.rst
Outdated
Show resolved
Hide resolved
presto-docs/src/main/sphinx/admin/function-namespace-managers.rst
Outdated
Show resolved
Hide resolved
presto-docs/src/main/sphinx/admin/function-namespace-managers.rst
Outdated
Show resolved
Hide resolved
b5816c3
to
1ff467c
Compare
All comments addressed. Thanks for the feedback! |
fba7572
to
5e34041
Compare
|
||
Function namespace managers support storing and retrieving SQL | ||
functions, allowing Presto engine to perform actions such as creating, | ||
altering, deleting, and executing functions. |
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.
"executing functions" is not new and it's not something "allowed" by function namespace managers.
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 intend to say "resolving functions"
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.
resolving function is also not introduced by function namespace manager though.
975a5c9
to
177bd36
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.
The function namespace part is very understandable. Looks good. Couple of minor suggested changes but overall seems very clear.
presto-docs/src/main/sphinx/admin/function-namespace-managers.rst
Outdated
Show resolved
Hide resolved
name. A function is uniquely identified by its qualified function name | ||
and parameter type list. | ||
|
||
Each instance of function namespace manager binds to a catalog name |
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.
of a
function namespace manager
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.
When we're saying a function namespace manager
, we're referencing an instance, not a type of function namespace manager. So, maybe, I should just say each Each function namespace manager...
.
presto-docs/src/main/sphinx/admin/function-namespace-managers.rst
Outdated
Show resolved
Hide resolved
Also, include function namespace managers plugin in Presto server
e754e1f
to
48e5619
Compare
- Add documentation for CREATE FUNCTION, ALTER FUNCTION, and DROP FUNCTION statements. - Add documentation for Function Namespace Managers configuration.
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.
Thanks for the contribution!
For the release note, I'd mention "function namespace manager" and refer to the documentation added. |