diff options
| author | Kapil Viren Ahuja <kvahuja@users.noreply.github.com> | 2017-02-21 08:52:32 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-21 08:52:32 +0530 |
| commit | 00b2d5161941aa9dab130a50783b8bd66b4a3dd1 (patch) | |
| tree | 1df324865462eedf89a3efd44d7f0282e55298da /queries/participant.sql | |
| parent | 7eb07c0ccf2f464e3936b24136e41471ff1c1ff7 (diff) | |
| parent | 9ae212a23754035be50e9125a7966544e2d525fb (diff) | |
| download | processor-00b2d5161941aa9dab130a50783b8bd66b4a3dd1.tar.gz processor-00b2d5161941aa9dab130a50783b8bd66b4a3dd1.zip | |
Merge pull request #16 from vainglorygame/jobs
Process partitions individually
Diffstat (limited to 'queries/participant.sql')
| -rw-r--r-- | queries/participant.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/participant.sql b/queries/participant.sql index b7685a9..d1d81ce 100644 --- a/queries/participant.sql +++ b/queries/participant.sql @@ -1,7 +1,7 @@ SELECT id AS "apiId", -relationships->'player'->'data'->>'id' AS "player_apiId", +relationships->'player'->'data'->>'id' AS "playerId", attributes->>'actor' AS "hero", (attributes->'stats'->>'assists')::int AS "assists", @@ -25,4 +25,4 @@ attributes->'stats'->'itemSells' AS "itemSells", attributes->'stats'->'itemUses' AS "itemUses", attributes->'stats'->'items' AS "items" -FROM participant +FROM "participant" |
