Track and record CacheType for CREATE TABLE and CTAS.