Is decomposing a chemical or physical change?

Decomposition of any compound e.g. when heated CaCO3 compound decomposes to CaO and CO2 compounds, gives different substances and hence a chemical change. Y.Ozkalay