Skip to content

Commit

Permalink
Remove redundant CONCAT
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-soltesz committed Jun 18, 2019
1 parent 862b4d3 commit 66e1d95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloud/bq/dedup.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ var dedupTemplateNDTLegacy = `
#standardSQL
SELECT * EXCEPT (row_number)
FROM (
SELECT *, ROW_NUMBER() OVER (PARTITION BY CONCAT(test_id) ORDER BY ParseInfo.ParseTime DESC) AS row_number
SELECT *, ROW_NUMBER() OVER (PARTITION BY test_id ORDER BY ParseInfo.ParseTime DESC) AS row_number
FROM ` + "`%s`" + `
)
WHERE
Expand Down

0 comments on commit 66e1d95

Please sign in to comment.