Also checking schema in resharding.py.