ideally the shadow length is proportional to the angle of the sun, ie, same on cloudy or sunny day.
practically, on a cloudy day the light is weaker and more diffuse. the apparent shadow (what you can see on the ground) will be shorter than if there are distinct shadows.