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

Function throwWindowFunctionDoesntExist

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

Source from the content-addressed store, hash-verified

1640
1641namespace {
1642std::string throwWindowFunctionDoesntExist(const std::string& name) {
1643 std::stringstream error;
1644 error << "Window function doesn't exist: " << name << ".";
1645 if (exec::windowFunctions().empty()) {
1646 error << " Registry of window functions is empty. "
1647 "Make sure to register some window functions.";
1648 }
1649 BOLT_USER_FAIL(error.str());
1650}
1651
1652std::string throwWindowFunctionSignatureNotSupported(
1653 const std::string& name,

Callers 1

resolveWindowTypeFunction · 0.85

Calls 2

strMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected