-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[flink] [spark] Introduce Built-in functions for flink and spark #6891
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
base: master
Are you sure you want to change the base?
Conversation
7533cb0 to
30723eb
Compare
| public static final Map<String, UnboundFunction> FUNCTIONS = | ||
| new HashMap<String, UnboundFunction>() { | ||
| { | ||
| put("path_to_descriptor", new PathToDescriptorUnbound()); |
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 no descriptor to string?
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.
Added
3653931 to
0f8b1c5
Compare
| @Override | ||
| public Identifier[] listFunctions(String[] namespace) throws NoSuchNamespaceException { | ||
| List<Identifier> result = new ArrayList<>(); | ||
| BuiltInFunctions.FUNCTIONS.keySet().forEach(fn -> result.add(Identifier.of(namespace, fn))); |
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.
cc @Zouxxyy to take a look
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.
Can refer to the sys.max_pt in PaimonFunctions, which is separate from user-defined functions.
|
You can add doc to |
Purpose
Linked issue: close #xxx
Tests
API and Format
Documentation