You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add built-in C++ function in src/udf/udf.h and src/udf/udf.cc
Register function to default library from function void DefaultUdfLibrary::IniMathUdf() in src/udf/default_udf_library.cc.
Add related unit test in src/codegen/udf_ir_builder_test.cc
Documenting function
If you have any questions or concerns, please let us know. We appreciate every piece of code, comment. Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
degrees(value) - Converts radians to degrees.
Examples:
reference:
https://dev.mysql.com/doc/refman/8.0/en/mathematical-functions.html#function_degrees
https://spark.apache.org/docs/2.3.0/api/sql/#degrees
Describe the solution you'd like
We do provide a built-in function development guide for you.
Please check OpenMLDB Build-In Function Develop Guide or the Chinese version for help.
Please make sure you:
void DefaultUdfLibrary::IniMathUdf()
in src/udf/default_udf_library.cc.If you have any questions or concerns, please let us know. We appreciate every piece of code, comment.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: