Cache column types for joinedRecordsWithSql