IndustryFusion / DigitalTwin

This repository contains the ingredients for the Digital Twin Concept of Industry Fusion.
Apache License 2.0
31 stars 20 forks source link

[Taks] Improve type safety in Flink SQL contraint validation #597

Closed wagmarcel closed 3 days ago

wagmarcel commented 1 week ago

Flink SQL is treating all values as string. Therefore, it needs to be casted for specific rules. It is currenly using straing CASTs which can throw exceptions and restart the whole piplines. Instead TRY_Casts should be used which return NULL in case that the cast was not successful