This we have to copy from spark patterns.scala because we want handle single table with
filters as well.
This will have another advantage later if we decide to move our rule to the last instead of
injecting just after ReorderJoin, whereby additional nodes like Project requires handling.
This we have to copy from spark patterns.scala because we want handle single table with filters as well.
This will have another advantage later if we decide to move our rule to the last instead of injecting just after ReorderJoin, whereby additional nodes like Project requires handling.