mirror of
https://github.com/RADar-AZDelta/Rabbit-in-a-Blender.git
synced 2026-03-23 20:37:03 +00:00
[GH-ISSUE #70] SQL Server: Truncation error with multiple mappings to same concept #40
Labels
No labels
bug
cannot reproduce
duplicate
enhancement
experiment
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
RADar-AZDelta/archived-Rabbit-in-a-Blender#40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Ben-Goethuys on GitHub (Jun 10, 2024).
Original GitHub issue: https://github.com/RADar-AZDelta/Rabbit-in-a-Blender/issues/70
Originally assigned to: @pjlammertyn on GitHub.
Mapping multiple source_values to the same omop concept_id could result in data truncation error in SQL Server.
e.g.:
Mapping multiple measurements to same concept results in error:
"String or binary data would be truncated in table 'FHIN.work.measurement', column 'measurement_source_value'."
The column ('measurement_source_value') in "work-zone" table is filled with "STRING_AGG(t.measurement_source_value, ', ')". Column size of 'measurement_source_value' is limited and aggregating multiple source_values exceeds this limit.