Skip to content

Commit

Permalink
small fix in query
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiely committed Jul 25, 2024
1 parent 676800d commit 3e05cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/main/java/marquez/db/DatasetDao.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ default void setFields(Dataset ds) {
df.facet,
df."name",
df.created_at,
rank() OVER (PARTITION BY "name"
rank() OVER (PARTITION BY df.dataset_version_uuid, "name"
ORDER BY created_at DESC) AS r
FROM dataset_facets AS df
WHERE df.facet IS NOT NULL
Expand Down

0 comments on commit 3e05cdd

Please sign in to comment.