Skip to content

Commit

Permalink
fix: remove extra item from concat(l,m,r)
Browse files Browse the repository at this point in the history
  • Loading branch information
pieterlukasse committed Jun 13, 2024
1 parent 358b489 commit a5ffa5c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ with vocab_source as (
inner join ${ohdsiSchema}.source_daimon sd on s.source_id = sd.source_id
where sd.daimon_type = 1
), vocab_perms as (
select distinct concat(l,m,r) perm
select distinct concat(l,m) perm
from (
select *
from (values
Expand All @@ -30,7 +30,7 @@ with vocab_source as (
(':resolveConceptSetExpression:post'),
(':search:*:get'),
(':search:post')
) t2 (r)
) t2 (m)
) combined
)
SELECT DISTINCT 15 role_id, permission_id
Expand Down

0 comments on commit a5ffa5c

Please sign in to comment.