| 667 | // ---------------------- cast String to Union ------------------------------ // |
| 668 | template<typename T> |
| 669 | static inline void testAndSetValue(ValueVector* vector, uint64_t rowToAdd, T result, bool success) { |
| 670 | if (success) { |
| 671 | vector->setValue(rowToAdd, result); |
| 672 | } |
| 673 | } |
| 674 | |
| 675 | static bool tryCastUnionField(ValueVector* vector, uint64_t rowToAdd, const char* input, |
| 676 | uint64_t len) { |
no test coverage detected