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

Method MakeExpression

cpp/src/gandiva/tree_expr_builder.cc:146–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144static bool print_expr = false;
145
146ExpressionPtr TreeExprBuilder::MakeExpression(NodePtr root_node, FieldPtr result_field) {
147 if (result_field == nullptr) {
148 return nullptr;
149 }
150 if (print_expr) {
151 std::cout << "Expression: " << root_node->ToString() << "\n";
152 }
153 return ExpressionPtr(new Expression(root_node, result_field));
154}
155
156ExpressionPtr TreeExprBuilder::MakeExpression(const std::string& function,
157 const FieldVector& in_fields,

Callers

nothing calls this directly

Calls 4

push_backMethod · 0.80
MakeFunctionFunction · 0.50
ToStringMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected