One Green Dot settlement transmission: one TransmissionID, one detail
file. totalAmount and entryCount are derived from the entries and are the
authority; adviceTotalAmount is what the advice file asserted, null on the
dates it never arrived. The table indexes the bucket: each object key names
the file a batch was read from, unique, so a key resolves to one batch. Both
are written by whichever ingest reads that file, live or backfill; the
detail key is null only until a detail file has arrived.
dbmate owns the DDL: 20261017173109_greendot_settlement_tables.sql.
One Green Dot settlement transmission: one
TransmissionID, one detail file.totalAmountandentryCountare derived from the entries and are the authority;adviceTotalAmountis what the advice file asserted, null on the dates it never arrived. The table indexes the bucket: each object key names the file a batch was read from, unique, so a key resolves to one batch. Both are written by whichever ingest reads that file, live or backfill; the detail key is null only until a detail file has arrived.dbmate owns the DDL:
20261017173109_greendot_settlement_tables.sql.