| 931 | } |
| 932 | |
| 933 | void Value::validateType(LogicalTypeID targetTypeID) const { |
| 934 | if (dataType.getLogicalTypeID() == targetTypeID) { |
| 935 | return; |
| 936 | } |
| 937 | throw BinderException(std::format("{} has data type {} but {} was expected.", toString(), |
| 938 | dataType.toString(), LogicalTypeUtils::toString(targetTypeID))); |
| 939 | } |
| 940 | |
| 941 | bool Value::hasNoneNullChildren() const { |
| 942 | for (auto i = 0u; i < childrenSize; ++i) { |
no test coverage detected