Skip to content

Conversation

@spamhurts
Copy link
Collaborator

Rationale

The maximum number of parameters allowed by SQL Server is 2,100. When more than 2100 animal events are inserted (via the ETL process), the update fails with this error message:

Caused by: org.springframework.jdbc.UncategorizedSQLException: ExecutingSelector; uncategorized SQLException; SQL state [S0001]; error code [8003]; The incoming request has too many parameters. The server supports a maximum of 2100 parameters. Reduce the number of parameters and resend the request.

Changes

This commit reduces the cutoff for the narrative cache to be truncated and reloaded from 10,000 to 2,000, which is less than the maximum of 2,100 parameters.

@github-actions
Copy link

ERROR: A pull request from 24.11_fb_fix_max_merge_rows is expected to target release24.11-SNAPSHOT, not develop

@spamhurts spamhurts changed the base branch from develop to release24.11-SNAPSHOT February 10, 2025 22:34
@spamhurts spamhurts merged commit 1d3d265 into release24.11-SNAPSHOT Feb 11, 2025
3 checks passed
@spamhurts spamhurts deleted the 24.11_fb_fix_max_merge_rows branch February 11, 2025 23:02
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

Successfully merging this pull request may close these issues.

3 participants