-
Notifications
You must be signed in to change notification settings - Fork 2.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
[pkg/ottl] Add String
converter
#27867
Comments
Hi @TylerHelmuth , can I give it a try? |
@TylerHelmuth I think this should be closed, I could see func_is_string.go and it's test function already been committed to repo. |
@Palecha the |
Hey Tyler, I would love to be assigned this issue and work on this! |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
**Description:** - implemented func_string (string_converter) - added new unit tests in `pkg/ottl/ottlfuncs/func_string_test.go` - added function to `pkg/ottl/ottlfuncs/functions.go` - updatet README.md at `pkg/ottl/ottlfuncs/README.md` - added changelog **Link to tracking Issue:** - #27867 **Testing:** - added similar tests as in `pkg/ottl/ottlfuncs/func_double_test.go` **Documentation:** <Describe the documentation added.> --------- Co-authored-by: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
should be solved by #31790 |
Component(s)
pkg/ottl
Is your feature request related to a problem? Please describe.
OTTL currently provides no way to convert from another type to a String.
Describe the solution you'd like
A new
String
converter function, similar toInt
andDouble
that converts the input to a string.The implementing PR should
pkg/ottl/ottlfuncs/functions.go
pkg/ottl/ottlfuncs/README.md
Example PR for
Double
: #27457The text was updated successfully, but these errors were encountered: