It changes the texture, for sure, but you have to be careful because you are using it to replace a liquid, i presume. If you replace milk, it will be like adding butter too, but some recipes don't do well if there is more butter - for others it's fine.
It tends, with other sour things like yoghurt or buttermilk, to make the cake more tender.