CUBE_DIALECT_WORKAROUNDS: ReadonlyMap<string, CubeDialectWorkarounds> = ...

The workarounds by the engine's database type names (its DatabaseType), from plans of every M2 shape on each database (PLAN ยง11.4). BigQuery joins only after a plan probe; Spanner never gets row numbers, which it doesn't support. A Map: the type comes from the model, and must never reach an object's prototype.