Luckily it's fairly easy to study the difference in chemical output between the different ingestion methods. Vaping vs Smoking is quite different.
>The new study used a gas chromatograph mass spectrometer (GCMS) to examine the gas components of the vapor. The analysis showed that the Volcano® vapor was remarkably clean, consisting 95% of THC with traces of cannabinol (CBN), another cannabinoid. The remaining 5% consisted of small amounts of three other components: one suspected cannabinoid relative, one suspected PAH, and caryophyllene, a fragrant oil in cannabis and other plants. In contrast over 111 different components appeared in the gas of the combusted smoke, including a half dozen known PAHs. Non-cannabinoids accounted for as much as 88% of the total gas content of the smoke.