Closed Bug 859431 Opened 13 years ago Closed 13 years ago

Problem with job that updates personas -> AMO

Categories

(addons.mozilla.org Graveyard :: Maintenance Scripts, defect, P1)

x86
macOS

Tracking

(Not tracked)

RESOLVED FIXED
2013-07-11

People

(Reporter: rfradinho, Assigned: cvan)

References

Details

Attachments

(1 file)

Attached file SQL query —
Hello, There is an ETL process that updates addons_mozilla_org.personas. This was done as part of Bug 555233 and Bug 602034. Currently the process is broken because the table column licence_id was renamed to licence. I need a confirmation that that is the only required change on the update process. I've attached the SQL query used to do the select on Personas DB.
Flags: needinfo?
Priority: -- → P1
Took a look, and this should work: --- before.diff 2013-04-08 12:46:18.000000000 -0700 +++ after.diff 2013-04-08 12:46:24.000000000 -0700 @@ -2,7 +2,7 @@ id as persona_id, movers, IF(popularity is null, 0, popularity) as popularity, - IF(license='cc', 1035, 1034) AS license_id + IF(license='cc', 8, 7) AS license FROM personas.personas where status = 1 and name is not null
Flags: needinfo?
Closing BUG: SQL was updated on 2013-04-08 according to the proposed change.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee: nobody → cvan
Target Milestone: --- → 2013-07-11
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: