Used to lookup original attribute capitalization
Returns a new instance of this LogicalRelation.
Returns a new instance of this LogicalRelation. According to the semantics of
MultiInstanceRelation, this method returns a copy of this object with
unique expression ids. We respect the expectedOutputAttributes
and create
new instances of attributes in it.
Used to link a BaseRelation in to a logical query plan.
Note that sometimes we need to use
LogicalRelation
to replace an existing leaf node without changing the output attributes' IDs. TheexpectedOutputAttributes
parameter is used for this purpose. See https://issues.apache.org/jira/browse/SPARK-10741 for more details.