First page Back Continue Last page Overview Graphics
The “Rocket Science” Part
The rocket science in most DW's is the dimension conformance algorithm.
We reduced it to one (1) line of code
- actual= self.entityMap.setdefault(
- tentative.level,
- tentative )
The Python Design Pattern:
- Dictionary Keyed by a Tuple
We exploit this pattern by:
- Putting identifying attributes in the tuple
- Non-Id attributes in other attributes of the Entity