Closed anthonysena closed 3 months ago
Under certain circumstances (which are unclear to me) the sccs_spline.csv contains duplicated rows that violate the primary key for the sccs_spline table. Performing a unique() on the sccs_spline data fixes the issue when uploading.
unique()
Fixed in https://github.com/OHDSI/SelfControlledCaseSeries/commit/8ad50eb17668bc8bd0f837d87f0b0ff0f9ea4f59
Under certain circumstances (which are unclear to me) the sccs_spline.csv contains duplicated rows that violate the primary key for the sccs_spline table. Performing a
unique()
on the sccs_spline data fixes the issue when uploading.