SchemaShape typedef

SchemaShape = ({Set<String> allKeys, int rowCount, Set<String> universalKeys})

The observed shape of a store.

On the SQL path allKeys and universalKeys are identical (every row has every column); on the raw-data path allKeys is the union and universalKeys the intersection of keys across rows — a key in the union but not the intersection exists on some rows only and still needs an add-with-backfill.

Implementation

typedef SchemaShape = ({Set<String> allKeys, Set<String> universalKeys, int rowCount});