MCPcopy Create free account
hub / github.com/apache/arrow / ExpressionHasFieldRefs

Function ExpressionHasFieldRefs

cpp/src/arrow/compute/expression.cc:828–837  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

826}
827
828bool ExpressionHasFieldRefs(const Expression& expr) {
829 if (expr.literal()) return false;
830
831 if (expr.field_ref()) return true;
832
833 for (const Expression& arg : CallNotNull(expr)->arguments) {
834 if (ExpressionHasFieldRefs(arg)) return true;
835 }
836 return false;
837}
838
839Result<Expression> FoldConstants(Expression expr) {
840 if (!expr.IsBound()) {

Callers 7

CountRowsMethod · 0.85
CountRowsMethod · 0.85
TryCountRowsMethod · 0.85
CountRowsMethod · 0.85
CountRowsMethod · 0.85
CountRowsMethod · 0.85
TESTFunction · 0.85

Calls 3

CallNotNullFunction · 0.85
literalMethod · 0.80
field_refMethod · 0.80

Tested by 1

TESTFunction · 0.68