Skip to content

Commit

Permalink
Merge pull request #81 from OHDSI/77-non-deterministic-use-of-row_number
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrenceadams authored Oct 31, 2024
2 parents 54722d3 + f951bf0 commit 1c148f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/omop/provider.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SELECT
row_number() OVER (ORDER BY (SELECT null)) AS provider_id
row_number() OVER (ORDER BY provider_state, provider_city, provider_zip, provider_id) AS provider_id
, provider_name
, {{ dbt.cast("null", api.Column.translate_type("varchar(20)")) }} AS npi
, {{ dbt.cast("null", api.Column.translate_type("varchar(20)")) }} AS dea
Expand Down

0 comments on commit 1c148f2

Please sign in to comment.