Materialize and other databases optimize SQL subqueries
scattered-thoughts.net2 pointsby IvanVergiliev0 comments
val transformedLeft = if (transform(tree.left, new Builder()).isDefined) {
transform(tree.left, mainBuilder)
} else None
Since the two `transform` invocations are different, we can't cache the result this way.
Still super useful when you have no other options though.