|Modifier and Type||Interface and Description|
|Modifier and Type||Field and Description|
|Modifier and Type||Method and Description|
Given the input expression applied on the given
RelNode, this provider returns the expression with its lineage resolved.
In particular, the result will be a set of nodes which might contain
references to columns in TableScan operators (
An expression can have more than one lineage expression due to Union
operators. However, we do not check column equality in Filter predicates.
Each TableScan operator below the node is identified uniquely by its
qualified name and its entity number.
For example, if the expression is
$0 + 2 and
$3 in the
0 occurrence of table
A in the
plan, result will be:
A.#0.$3 + 2. Occurrences are generated in no
particular order, but it is guaranteed that if two expressions referred to the
same table, the qualified name + occurrence will be the same.
expression- expression whose lineage we want to resolve
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.