Water Heater / CPVC

I know this is wrong.
Does anyone know the specific code requirement for not connecting CPVC directly to a gas water heater?

Most be a northern thing, works in florida


1" clearance from b-vent by manufacturer. Michael nailed it best.

True but the vast majority of water heaters are c vent which require 6" min. Plastic piping should not be connected to water heaters.

Good info to have, just never see it in the field, maybe I should send a copy to the local code inspectors:D

At least according to Ontario or Canada.