DataCater / datacater

The developer-friendly ETL platform for transforming data in real-time. Based on Apache Kafka® and Kubernetes®.
https://datacater.io
Other
82 stars 4 forks source link

feat(ui): Warn about data type mismatches #8

Closed flippingbits closed 2 years ago

flippingbits commented 2 years ago

When adding a transform or filter to a field in the UI, warn the user if the filter or transform expects another data type than the one of the field.

Example:

Screenshot 2022-10-13 at 09 45 10

flippingbits commented 2 years ago

Adding data type evaluations in the frontend is not a path we should walk or the frontend needs to become extendable to a certain extend.

Profiling of data types already happens in the frontend, we are just using the results here.

These warnings do not block applying a transform to a non-matching data type but are rather meant to help developers catching unintended usage of transforms as early as possible.