Comments (3)
Just published a PR! The scope of the sanitization is limited to InfluxDb.
from streampipes.
Hi @bossenti, I have looked into the issue. The event is "correct" ("correct" meaning key value pairs are the same with the file) in frontend, Kafka producer, and Kafka consumer. However, once the code hits Influx Store, the runtime name of some keys are modified. The root cause is that "name" key in the file stream is a keyword of Influx reserved keywords list and Streampipes sanitizes DataLake measure for those keys conflicting with Influx reserved keywords. If you change "name" to something else not in the list everything works.
To fix this, I propose to also sanitize event instead of only sanitizing DataLake measure. Let me know what do you thinkπ!
from streampipes.
Hi @muyangye,
you are right, changing the column name makes it work.
As you said, sanitation should prevent naming conflicts and therefore rename the name
column. But the expected outcome is then that the values are part of the DataLakeMeasure with the sanitized measure name, which doesn't seem to work here.
Where would you place the sanitation of the event? Sanitation is a specific requirement of the InfluxDb in this case, so I'm a bit hesitant to affect other usages of the event stream as well.
from streampipes.
Related Issues (20)
- Improve home screen status widgets
- Not possible to access nested JSON MQTT data HOT 1
- Timestamp conversion is broken for unix timestamps in seconds
- Timestamp rule is not persisted in UI when selecting milliseconds
- Cannot start a pipeline with a Notification data sink HOT 4
- Incorrect Error Message Rendering for Adapter Creation
- File not stored in static property
- Remove deprecated class Assets
- Incorrect Deprecation of `Labels.from` Function
- Remove Deprecated Methods Not Using `Labels` Class
- Harmonize data explorer and live dashboard
- Support modification of individual data views
- Support custom HTTP headers in Python client
- Python Function Stops Producing Events on Second Start
- Automatic Handling of Data Stream Changes in Python Client
- Support selection of data views in data explorer dashboard
- Remove deprecated AssetDashboardResource
- Unit Test Runner Does Not Support Double Value Checks in Event Property Assertions HOT 1
- Editing adapter fails when field has custom runtime name with opc ua adapter HOT 1
- Data Explorer widgets break in grouping mode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from streampipes.