| 27 | } |
| 28 | |
| 29 | static bool tryGetMaxParameterType(const LogicalType& left, const LogicalType& right, |
| 30 | LogicalType& result) { |
| 31 | if (left.getLogicalTypeID() == LogicalTypeID::STRING || |
| 32 | right.getLogicalTypeID() == LogicalTypeID::STRING) { |
| 33 | result = LogicalType::STRING(); |
| 34 | return true; |
| 35 | } |
| 36 | return LogicalTypeUtils::tryGetMaxLogicalType(left, right, result); |
| 37 | } |
| 38 | |
| 39 | static bool canCopyValueForNested(const Value& value, const LogicalType& targetType) { |
| 40 | if (value.getDataType() == targetType) { |
no test coverage detected