Skip to content

Commit

Permalink
fix ambiguous grouping in psql queries
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe-heim committed May 24, 2019
1 parent 7ab7c4b commit 628b986
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions utilities/facade07rebuildcache.py
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ def rebuild_unknown_affiliation_and_web_caches(cfg):
"year, "
"affiliation, "
"a.%s_email,"
"projects_id"
"r.projects_id"
% (report_attribution,report_attribution,
report_date,report_date,report_attribution))

Expand Down Expand Up @@ -644,7 +644,7 @@ def rebuild_unknown_affiliation_and_web_caches(cfg):
"year, "
"affiliation, "
"a.%s_email,"
"projects_id"
"r.projects_id"
% (report_attribution,report_attribution,
report_date,report_date,report_attribution))

Expand Down Expand Up @@ -677,7 +677,7 @@ def rebuild_unknown_affiliation_and_web_caches(cfg):
"GROUP BY year, "
"affiliation, "
"a.%s_email,"
"projects_id"
"r.projects_id"
% (report_attribution,report_attribution,
report_date,report_attribution))

Expand Down Expand Up @@ -716,7 +716,7 @@ def rebuild_unknown_affiliation_and_web_caches(cfg):
"year, "
"affiliation, "
"a.%s_email,"
"repos_id"
"a.repos_id"
% (report_attribution,report_attribution,
report_date,report_date,report_attribution))

Expand Down Expand Up @@ -751,7 +751,7 @@ def rebuild_unknown_affiliation_and_web_caches(cfg):
"year, "
"affiliation, "
"a.%s_email,"
"repos_id"
"a.repos_id"
% (report_attribution,report_attribution,
report_date,report_date,report_attribution))

Expand Down Expand Up @@ -784,7 +784,7 @@ def rebuild_unknown_affiliation_and_web_caches(cfg):
"GROUP BY year, "
"affiliation, "
"a.%s_email,"
"repos_id"
"a.repos_id"
% (report_attribution,report_attribution,
report_date,report_attribution))

Expand Down

0 comments on commit 628b986

Please sign in to comment.