| 13 | using namespace lbug::common; |
| 14 | |
| 15 | static bool isEmptyNestedWithAny(const Value& value) { |
| 16 | if (!value.getDataType().containsAny()) { |
| 17 | return false; |
| 18 | } |
| 19 | switch (value.getDataType().getPhysicalType()) { |
| 20 | case PhysicalTypeID::LIST: |
| 21 | case PhysicalTypeID::ARRAY: |
| 22 | case PhysicalTypeID::STRUCT: |
| 23 | return NestedVal::getChildrenSize(const_cast<Value*>(&value)) == 0; |
| 24 | default: |
| 25 | return false; |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | static bool tryGetMaxParameterType(const LogicalType& left, const LogicalType& right, |
| 30 | LogicalType& result) { |
no test coverage detected