Spark Python Limit Rows In Postgresql