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

Duplicates when running with persisted aggregation. #12416

Closed
janithcmw opened this issue Sep 1, 2021 · 1 comment · Fixed by siddhi-io/siddhi#1749
Closed

Duplicates when running with persisted aggregation. #12416

janithcmw opened this issue Sep 1, 2021 · 1 comment · Fixed by siddhi-io/siddhi#1749

Comments

@janithcmw
Copy link

Describe the issue:
When there are similar recodes as follows in the Hours granularity, the pirmary key violation issue will occur with persisted aggregation.
agg_timestamp,agg_event_timestamp,username,serviceprovider,identityprovider,region,token,userstoredomain,isfirstlogin,identityprovidertype,meta_tenantid,remoteip,timestamp,agg_last_event_timestamp,agg_sum_successvalue,agg_sum_failurevalue,agg_sum_stepsuccessvalue,agg_sum_firstloginvalue,shard_id 1626314400000 ,1626314400000 ,user1,36,LOCAL,N/A,NOT_AVAILABLE,PRIMARY,0,SSO,-1234,<IP>,1626314856051 ,1626314856051 ,1,0,0,0,<SHARD_ID> 1626318000000 ,1626314400000 ,user1,36,LOCAL,N/A,NOT_AVAILABLE,PRIMARY,0,SSO,-1234,<IP>,1626314856051 ,1626314856051 ,1,0,0,0,<SHARD_ID>

How to reproduce:
Add the above sample recodes to the "Roleaggregation_Hours" table and trigger the aggregation flow with persisted aggreation.

Expected behavior:
There should not be primary key violation issues.

Environment information (Please complete the following information; remove any unnecessary fields) :

  • Product Version: IS-Analytics-5.8.0
  • OS: Not relevant
  • Database: any
@isharak
Copy link
Member

isharak commented Nov 6, 2024

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!

@isharak isharak closed this as completed Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants