BigQuery: Aggregating SCD-2 Attribute Timelines