wso2 / streaming-integrator

A stream processing runtime that allows connecting any streaming data source to any destination and act on it
Apache License 2.0
113 stars 50 forks source link

Adding collation to MSSQL databases for observing the primary key violations in the Analytics_DB #158

Closed ug205 closed 2 years ago

ug205 commented 3 years ago

Description:

Primary keys of aggregation tables are not case sensitive in MySQL and MSSQL.Therefore an error regarding a primary key violation is thrown when trying to insert a new record with the same values as an existing one, but different in the case of characters. Therefore we need to add collation level of case sensitivity to the databases. Suggested Labels: Stream Processor

Affected Product Version: WSO2-SP WSO2-APIM-Analytics WSO2-EI-Analytics WSO2-IS-Analytics

OS, DB, other environment details and versions:
Microsoft SQL database server MySQL