Partially coated ceramic layer under thermal stress