-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[feature](function) support any type in SQL function #18392
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 tasks
cf6524d to
1e6a8a5
Compare
Contributor
|
clang-tidy review says "All clean, LGTM! 👍" |
Member
Author
|
run buildall |
c87bf42 to
bf61059
Compare
Member
Author
|
run buildall |
Member
Author
|
run p0 |
bf61059 to
10dc471
Compare
Member
Author
|
run buildall |
10dc471 to
6f6f19c
Compare
Member
Author
|
run buildall |
Member
Author
|
run compile |
Member
Author
|
run p0 |
cambyzju
approved these changes
Apr 11, 2023
Contributor
cambyzju
left a comment
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
Contributor
|
PR approved by at least one committer and no changes requested. |
Contributor
|
PR approved by anyone and no changes requested. |
gnehil
pushed a commit
to gnehil/doris
that referenced
this pull request
Apr 21, 2023
Add AnyType to Doris. Support Inference function in fe SQL function.
Reminiscent
pushed a commit
to Reminiscent/doris
that referenced
this pull request
May 15, 2023
Add AnyType to Doris. Support Inference function in fe SQL function.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
approved
Indicates a PR has been approved by one committer.
area/planner
Issues or PRs related to the query planner
area/sql/function
Issues or PRs related to the SQL functions
area/vectorization
reviewed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed changes
In #17344 , we support template and variadic template function.
e.g.
Then it raises a new issue, as some functions has unpredictable return type.
e.g.
This commit support
ANY_TYPE.If a function has
ANY_TYPEas return type, then this function is an inference function.e.g.
An inference function's return type will be analyze to actual type at runtime in FE.
Problem summary
Describe your changes.
Checklist(Required)
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...