[CALCITE-403] Enumerable gives NullPointerException with NOT on nullable expression
CALCITE-352. Throw exception if ResultSet#next() is called after close()
Fix Enumerable<Holder> where Holder is custom class with a single field.
Calcite tried to treat it as SCALAR (due to JavaRowFormat.optimize)
Implement correlate join (nested loops, nested loops outer)