Sure. But MongoDB is far better at scaling, has infinitely better drivers (including Spark) and is about an order of magnitude faster than PostgreSQL for partial updates.
The lack of a Spark driver alone renders PostgreSQL useless for most companies.
The lack of a Spark driver alone renders PostgreSQL useless for most companies.