Closed e-belfer closed 1 year ago
Sadly, there are no real plant IDs for the FERC Form 1 plants. The primary key will be something like (utility_id_ferc1, plant_name, report_year)
.
In this case, the table behaves exactly as expected, as that is the primary key. Closing this bug.
Describe the bug
As found in #2521, the
denorm_fuel_by_plant_ferc1
table aggregates fuel types by plant. However, plant ID is not a primary key of this table. This is counterintuitive to the table description and unexpected.Bug Severity
How badly is this bug affecting you? Low: The bug isn't causing me problems, but something's still wrong here.
To Reproduce
Expected behavior
Some plant ID column should act as the primary key for this table.
Additional context
Up until now we haven't applied a schema to the output tables, so we haven't had to consider this yet.