Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wagmarcel opened this issue Sep 26, 2024 · 0 comments
Closed

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

wagmarcel opened this issue Sep 26, 2024 · 0 comments
Assignees

Comments

@wagmarcel
Copy link
Member

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

@wagmarcel wagmarcel self-assigned this Sep 26, 2024
wagmarcel added a commit to wagmarcel/DigitalTwin that referenced this issue Sep 27, 2024
NGSILD Agent is crashing when using OPCUA subcomponents because Keycloak rejects the subcomponents
after refresh. This is due to a mismatch between the configured claim in the IFF Keycloak Realm
and the Keycloak subcomponent module. Also added TRY_CASTS to regular property checks to avoid restarting
of analytics service because of a datatype cast fail.

Close IndustryFusion#597
Close IndustryFusion#599
Signed-off-by: marcel <wagmarcel@web.de>
wagmarcel added a commit to wagmarcel/DigitalTwin that referenced this issue Sep 27, 2024
NGSILD Agent is crashing when using OPCUA subcomponents because Keycloak rejects the subcomponents
after refresh. This is due to a mismatch between the configured claim in the IFF Keycloak Realm
and the Keycloak subcomponent module. Also added TRY_CASTS to regular property checks to avoid restarting
of analytics service because of a datatype cast fail.

Close IndustryFusion#597
Close IndustryFusion#599
Signed-off-by: marcel <wagmarcel@web.de>
wagmarcel added a commit to wagmarcel/DigitalTwin that referenced this issue Sep 28, 2024
NGSILD Agent is crashing when using OPCUA subcomponents because Keycloak rejects the subcomponents
after refresh. This is due to a mismatch between the configured claim in the IFF Keycloak Realm
and the Keycloak subcomponent module. Also added TRY_CASTS to regular property checks to avoid restarting
of analytics service because of a datatype cast fail.

Close IndustryFusion#597
Close IndustryFusion#599
Signed-off-by: marcel <wagmarcel@web.de>
wagmarcel added a commit to wagmarcel/DigitalTwin that referenced this issue Sep 28, 2024
NGSILD Agent is crashing when using OPCUA subcomponents because Keycloak rejects the subcomponents
after refresh. This is due to a mismatch between the configured claim in the IFF Keycloak Realm
and the Keycloak subcomponent module. Also added TRY_CASTS to regular property checks to avoid restarting
of analytics service because of a datatype cast fail.

Close IndustryFusion#597
Close IndustryFusion#599
Signed-off-by: marcel <wagmarcel@web.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant