[PLAT-5205] More selective use of cached compiled view definitions