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

Method MakeInExpressionDecimal

cpp/src/gandiva/tree_expr_builder.cc:194–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194NodePtr TreeExprBuilder::MakeInExpressionDecimal(
195 NodePtr node, std::unordered_set<gandiva::DecimalScalar128>& constants) {
196 int32_t precision = 0;
197 int32_t scale = 0;
198 if (!constants.empty()) {
199 precision = constants.begin()->precision();
200 scale = constants.begin()->scale();
201 }
202 return std::make_shared<InExpressionNode<gandiva::DecimalScalar128>>(node, constants,
203 precision, scale);
204}
205
206#define MAKE_IN(NAME, ctype, type) \
207 NodePtr TreeExprBuilder::MakeInExpression##NAME( \

Callers

nothing calls this directly

Calls 4

emptyMethod · 0.45
precisionMethod · 0.45
beginMethod · 0.45
scaleMethod · 0.45

Tested by

no test coverage detected