mozilla/datazilla — pull request #48 by jeads (2012-07-03 23:09:43+00:00)
Title: Added a conditional that ignores options named extensions

We are going to need to add a new table to perftest to store addon/extensions explicitly. Extensions will be a new reference data type that will be used by several different projects. I've created a pivotal tracker story for this here https://www.pivotaltracker.com/story/show/32202781 . There is also a bugzilla bug, https://bugzilla.mozilla.org/show_bug.cgi?id=769479 describing the required modifications to the JSON structure.

I tested posting sample JSON that has the structure referenced in the bugzilla bug. It generates a data truncation error, this error is caught and the error_flag for the JSON object is assigned a `Y`. Once the talos patch in the bugzilla bug is pushed out, these data truncation errors will prevent valid JSON objects from being loaded into the perftest schema.

To prevent these errors in the interim, while we implement extensions handling, I've added a conditional that ignores options named `extensions`. This will need to be pushed out on s4n4 so that we can still receive talos data.