MCPcopy Create free account
hub / github.com/bytedance/bolt / resolveType

Method resolveType

bolt/exec/tests/utils/PlanBuilder.cpp:1704–1716  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1702
1703 private:
1704 TypePtr resolveType(
1705 const std::vector<core::TypedExprPtr>& inputs,
1706 const std::shared_ptr<const core::CallExpr>& expr,
1707 bool nullOnFailure) const {
1708 std::vector<TypePtr> types;
1709 for (auto& input : inputs) {
1710 types.push_back(input->type());
1711 }
1712
1713 auto functionName = expr->getFunctionName();
1714
1715 return resolveWindowType(functionName, types, nullOnFailure);
1716 }
1717
1718 const core::Expressions::TypeResolverHook previousHook_;
1719};

Callers

nothing calls this directly

Calls 3

resolveWindowTypeFunction · 0.85
push_backMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected