Skip to content

Commit

Permalink
fix filter_existing_aggregate
Browse files Browse the repository at this point in the history
  • Loading branch information
amCap1712 committed Jan 7, 2025
1 parent 6328c2b commit aa10cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion listenbrainz_spark/stats/incremental/listener/artist.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_partial_aggregate_schema(self):
def filter_existing_aggregate(self, existing_aggregate, incremental_aggregate):
query = f"""
WITH incremental_artists AS (
SELECT DISTINCT explode_outer(artist_credit_mbids) AS artist_mbid FROM {incremental_aggregate}
SELECT DISTINCT artist_mbid FROM {incremental_aggregate}
)
SELECT *
FROM {existing_aggregate} ea
Expand Down

0 comments on commit aa10cd7

Please sign in to comment.