Constructs a new `ExprPropertiesNode` with unknown properties for a given physical expression. This node initializes with default properties and recursively applies this to all child expressions.
(expr: Arc<dyn PhysicalExpr>)
| 48 | /// given physical expression. This node initializes with default properties |
| 49 | /// and recursively applies this to all child expressions. |
| 50 | pub fn new_unknown(expr: Arc<dyn PhysicalExpr>) -> Self { |
| 51 | let children = expr |
| 52 | .children() |
| 53 | .into_iter() |
| 54 | .cloned() |
| 55 | .map(Self::new_unknown) |
| 56 | .collect(); |
| 57 | Self { |
| 58 | expr, |
| 59 | data: ExprProperties::new_unknown(), |
| 60 | children, |
| 61 | } |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | /// If the mask selects more than this fraction of rows, use |