The Dai bamboo buildings in Xishuangbanna use square columns to raise their houses to prevent moisture and mosquito blood harassment. The reason why square columns are used instead of circular columns is to prevent snakes from climbing into the bamboo buildings.
Snakes like to climb round pillars is most likely to be the assumption of the above statement.