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

Function isSupportedSignature

bolt/expression/fuzzer/ExpressionFuzzer.cpp:481–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

479}
480
481bool isSupportedSignature(
482 const exec::FunctionSignature& signature,
483 bool enableComplexType) {
484 // Not supporting lambda functions, or functions using decimal and
485 // timestamp with time zone types.
486 return !(
487 useTypeName(signature, "opaque") ||
488 useTypeName(signature, "long_decimal") ||
489 useTypeName(signature, "short_decimal") ||
490 useTypeName(signature, "decimal") ||
491 useTypeName(signature, "timestamp with time zone") ||
492 useTypeName(signature, "interval day to second") ||
493 useTypeName(signature, "interval year to month") ||
494 (enableComplexType && useTypeName(signature, "unknown")));
495}
496
497/// Returns row numbers for non-null rows among all children in'data' or null
498/// if all rows are null.

Callers 1

ExpressionFuzzerMethod · 0.85

Calls 1

useTypeNameFunction · 0.85

Tested by

no test coverage detected