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

UDFs panic() when passed a point with a boolean field #1485

Closed
forestjohnsonpeoplenet opened this issue Jul 19, 2017 · 0 comments
Closed

UDFs panic() when passed a point with a boolean field #1485

forestjohnsonpeoplenet opened this issue Jul 19, 2017 · 0 comments
Assignees

Comments

@forestjohnsonpeoplenet
Copy link

Hello, I have been experimenting with applying filters to our entire metrics firehose using Kapacitor. The first thing I noticed was that i cannot use User Defined functions on a stream that contains points with boolean fields. It triggers this line to be hit:

https://github.com/influxdata/kapacitor/blob/master/udf/server.go#L522

For now I have created a patched version of kapacitor so I can work around this issue but I just thought I would bring it up here and I will post any interesting updates or insights related to this issue here.

For now I have simply added a case for bools which does nothing. So the bools will be stripped out rather than crashing kapacitor every time.

@forestjohnsonpeoplenet forestjohnsonpeoplenet changed the title UDFs panic() when passed a boolean UDFs panic() when passed a point with a boolean field Jul 19, 2017
@nathanielc nathanielc marked this as a duplicate of #1488 Jul 19, 2017
@ghost ghost assigned nathanielc Jul 31, 2017
@ghost ghost added the in progress label Jul 31, 2017
@ghost ghost removed the in progress label Sep 1, 2017
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

2 participants