Open TheCedarPrince opened 4 months ago
Hi, @TheCedarPrince I guess that's strange, because I think this should have done that part , right ? https://github.com/JuliaHealth/OMOPCDMCohortCreator.jl/blob/f78c77e782c5ca8e74a32a2113a27a9227c09018/test/sqlite/getters.jl#L493-L494
Weird!!! Are you able to see the error too @Jay-sanjay ? Let me see if I can get a code example shortly so you can see what I am seeing.
I had seen this bug a few times and thought maybe I was just "using it wrong", but it just dawned on me that there is actually an error here as the outerjoin should also join on the
:subject_id
variable or else there will result duplicate column name errors.@jay-sanjay, I am not sure how we missed this with the tests... Did we not have a test that accounted for a dataframe with both
cohort_definition_id
andsubject_id
? I guess I am just surprised we missed this; ah well!