It also ignores operations of type (set of rows) => (set of rows) or (row) => (set of rows). and makes you jump through hoops of CTEs to implement them except in some special cases. Limited versions of these (flatMaps) work just fine in spark and have no problems scaling.
Re:SQL: One of the most valuable skills
by kumarvvr on Wednesday February 13, 2019 @12:07AM
(#19150594)
I want to learn and do the same things in SQL because, I don't always have the opportunity to run python programs on the database server environment.
There are certain situations where an SQL query is all that I can work with.
Of course you can always screw up and write suboptimal SQL that will take forever to finish, but it's just harder to do unless you're really trying to be dumb about it.
So I do think there's still a lot of merit in trying to learn and use SQL more.