-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Support external users to contribute udf #3760
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
Contributor
Author
|
Changing doc file |
Contributor
|
Create a proposal first |
morningman
reviewed
Jun 4, 2020
morningman
reviewed
Jun 4, 2020
morningman
reviewed
Jun 11, 2020
*Source code:
The new directory nanmed `custom_udf` is used to add and build custom udf.
The directory structure is as follows:
Doris
-- be
-- custom_udf
-- fe
If user wants to add a new udf in Doris, the source code will be placed in custom_udf such as:
Doris
-- be
-- custom_udf
-- src
-- udf_samples
-- udf_sample.h
-- fe
*Build:
It can be built independently also the udf does not effect BE.
The file 'build_custom_udf.sh' is used to build udf with 2 params: --udf, --clean.
The default behavior is that building udf only.
*Output:
The dynamic link library will be placed in
Doris
-- be
-- output
-- custom_udf
-- udf_samples
-- libUdfSample.so
Change-Id: Ic8ae16d37b53a904c3ec04e25f99e63442850e5a
Change-Id: Iaac181a887a0e2855457e7a7dda3e3330cce6f12
Change-Id: Id5a36aca627c1d87a3c83920b2cc978e0131d9ca
Change-Id: I9391a79f12614e78cce19b11df1e5d92eb4817c4
Change-Id: Iad5cd3be688731992709b080d1842530fe7a2a5b
Change-Id: I6f5ffe72463146046914c6c64d448d51901478fb
Change-Id: Ibfa7260193953611bf0cbdd3d3a38086230d0de6
Change-Id: Idfcda8bede3d980618f5b249129c54f9b15567f5
Change-Id: I167b7812a2d780a69c7f24183c9671a8053c6793
Change-Id: I932a1759fbca676206a228193e6e7697aca68e8a
Change-Id: I52bf4d19ae915444867f783f2e0534eaca9e8c36
Change-Id: If60dde5acb6cb7500f9e704636afabdf3907432d
morningman
reviewed
Jun 21, 2020
Change-Id: Ief33d948febd28c9c9866d52e192ab84f561f397
Change-Id: I3bf09825e06d629dfeee8f8cc4b7e3ccd9e8d3a1
Change-Id: I930e3007e52a78678c420bbd4288565c3e06edf7
Change-Id: I53d93075e33e1a29293aa47d84d4995fef585c39
morningman
approved these changes
Jun 22, 2020
Contributor
morningman
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
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/udf
Issues or PRs related to the UDF
kind/docs
Categorizes issue or PR as related to documentation.
kind/improvement
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.
Support independently add and build custom udf in Doris
*Source code:
The new directory named
custom_udfis used to add and build custom udf.The directory structure is as follows:
If user wants to add a new udf in Doris, the source code will be placed in custom_udf such as:
*Build:
It can be built independently also the udf does not effect BE.
The file 'build_custom_udf.sh' is used to build udf with 2 params: --udf, --clean.
The default behavior is that building udf only.
*Output:
The dynamic link library will be placed in