Factors out function expressions from each comparison function or similarity function in join condition by assigning them to a variables, and replacing the function expressions with references to those variables.
Modifies the InlineVariablesRule to also process nested plans.
The rule searches for operators that can be moved outside the subplan.
Copyright © 2016 Apache Software Foundation. All Rights Reserved.