So it's not infinite and/or it's not rotating.
No, if it is rotating, it is not infinite. (Or, with contraposition, if it is infinite it is not rotating). If it isn't infinite (or if it is finite

), it can not hold it's atmolayer. But the Earth is rotating and it holds its atmolayer. So, we find ourselves in a logical paradox. The reason is, of course, the hidden assumption that it is FLAT. Namely, a round Earth can be finite, rotate and hold its atmosphere at the same time. AMAZING, isn't it?