[OPTIQ-402] Lattice should create materializations on demand