You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampipes.apache.org by "tenthe (via GitHub)" <gi...@apache.org> on 2023/11/30 17:19:27 UTC
[I] Enhance Data Lake Sink Schema Management Options
tenthe opened a new issue, #2252:
URL: https://github.com/apache/streampipes/issues/2252
### Body
## Current Behavior:
In the current version, the `Data Lake Sink` utilizes the `TimeSeriesStore` to write events to the time series storage (InfluxDB). When the `event schema` of the pipeline changes, the new `event schema` is stored for the pipeline.
In `DataExplorerSchemaManagement.createMeasurement`, it checks if there is already a schema for the measure name. If a schema exists, it gets updated; otherwise, a new entry is created.
## Proposed Enhancement:
Introduce a user-configurable option within the Data Lake Sink, presented as radio buttons, to choose between two schema management strategies:
- **Option 1 (Default):** Update the schema of the `DataLakeMeasure` when it changes.
- **Option 2:** Extend the existing event schema. This option should only append new and changing fields without removing existing ones.
This enhancement provides users with more flexibility in managing schema changes based on their specific requirements.
Especially users will be able to see old data in the `data explorer` even when the schema changed.
### StreamPipes Committer
I acknowledge that I am a maintainer/committer of the Apache StreamPipes project.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Enhance Data Lake Sink Schema Management Options
Posted by "tenthe (via GitHub)" <gi...@apache.org>.
tenthe commented on issue #2252:
URL: https://github.com/apache/streampipes/issues/2252#issuecomment-1834268263
<img width="667" alt="grafik" src="https://github.com/apache/streampipes/assets/5279561/629cd90c-fd2d-4c0d-a3d7-1b66269ea05e">
<img width="667" alt="grafik" src="https://github.com/apache/streampipes/assets/5279561/6afd9b47-2ebe-4bac-8fe6-7b2fc1ef7709">
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Enhance Data Lake Sink Schema Management Options
Posted by "bossenti (via GitHub)" <gi...@apache.org>.
bossenti commented on issue #2252:
URL: https://github.com/apache/streampipes/issues/2252#issuecomment-1837932213
I think this is fine 🙂
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Enhance Data Lake Sink Schema Management Options
Posted by "tenthe (via GitHub)" <gi...@apache.org>.
tenthe commented on issue #2252:
URL: https://github.com/apache/streampipes/issues/2252#issuecomment-1835628604
Good question. My suggestion would be to use option update schema as default, as this is currently the case.
Do you have an opinion on this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Enhance Data Lake Sink Schema Management Options
Posted by "bossenti (via GitHub)" <gi...@apache.org>.
bossenti commented on issue #2252:
URL: https://github.com/apache/streampipes/issues/2252#issuecomment-1835562589
Great suggestion @tenthe 🙏🏼
Which option would we select for the persist-pipeline which is automatically created on user request during the adapter creation?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Enhance Data Lake Sink Schema Management Options
Posted by "tenthe (via GitHub)" <gi...@apache.org>.
tenthe closed issue #2252: Enhance Data Lake Sink Schema Management Options
URL: https://github.com/apache/streampipes/issues/2252
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org