Suppliers.memoize(() -> RelOptMaterialization.toLeafJoinForm(rel))::get; for (RelOptLattice lattice : lattices) { if (queryTableNames.contains(lattice.rootTable().getQualifiedName())) { RelNode rel2 = lattice.rewrite(leafJoinRoot.get()); if (rel2 != null) {
Suppliers.memoize(() -> RelOptMaterialization.toLeafJoinForm(rel))::get; for (RelOptLattice lattice : lattices) { if (queryTableNames.contains(lattice.rootTable().getQualifiedName())) { RelNode rel2 = lattice.rewrite(leafJoinRoot.get()); if (rel2 != null) {