Skip to content
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

Projection processor recognizes 'Array' return type of UDF as String. #1271

Open
eduardzl opened this issue May 9, 2018 · 0 comments
Open

Comments

@eduardzl
Copy link

eduardzl commented May 9, 2018

Hello.
First would like to a big positive feedback to Hortonworks for the Streamline product. :)

Now..
I have a case when the output of Kafka source component is a string field and I would like to feed it as input to my custom processor which requests array of strings as input.
So it seems that this can be handled using Projection. I have implemented the UDF that simply converts string to list of strings.

1

Uploaded this udf to the Streamline, it recognizes the output type of udf as Array.
2

So far, so good.
Now when I try to apply this udf in Projection :
3

The Projection produces the output field with type String and not Array.
4

How can I resolve this problem ?
I would like to work with arrays as event fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant