apache / streampipes

Apache StreamPipes - A self-service (Industrial) IoT toolbox to enable non-technical users to connect, analyze and explore IoT data streams.
https://streampipes.apache.org
Apache License 2.0
560 stars 172 forks source link

Cannot deploy a pipeline with Trend data processor #2836

Closed FabriceHansen closed 3 weeks ago

FabriceHansen commented 3 weeks ago

Apache StreamPipes version

dev (current development state)

Affected StreamPipes components

Backend

What happened?

Error while trying to deploy a Trend Data Processor: Error between @ Line: 1. Position: 0 and @ Line: 1. Position: 80. Syntax error in SiddhiQL, extraneous input 'Quality' expecting {STRING, INT, LONG, FLOAT, DOUBLE, BOOL, OBJECT}.

How to reproduce?

No response

Expected behavior

No response

Additional technical information

No response

Are you willing to submit a PR?

Yes, I am willing to submit a PR!

FabriceHansen commented 3 weeks ago

I found the root cause, in the OPC Adapter, there was a tag named "Air Quality". I removed it with a Projection Processor and then I was able to deploy the pipeline. After renaming the field from "Air Quality" into "AirQuality" in the OPC Adapter, I can include all tags and remove the Projection Processor. That means that the Trend processor doesn t support objects with a space in the name.