| 1633 | bytedance::bolt::StringView right = *(bytedance::bolt::StringView*)r; |
| 1634 | auto ans = left.compare(right); |
| 1635 | return ans == 0 ? 0 : (ans > 0 ? 1 : -1); |
| 1636 | } |
| 1637 | |
| 1638 | __attribute__((__visibility__("default"))) int32_t jit_ComplexTypeRowCmpRow( |
| 1639 | char* left, |
| 1640 | char* right, |
| 1641 | int64_t typePtr, |
| 1642 | int32_t offset, |
| 1643 | int8_t nullFirst, |
| 1644 | int8_t ascending) { |
| 1645 | auto leftStream = |
| 1646 | bytedance::bolt::exec::RowContainer::prepareRead(left, offset); |
| 1647 | auto rightStream = |
| 1648 | bytedance::bolt::exec::RowContainer::prepareRead(right, offset); |
| 1649 | return bytedance::bolt::exec::ContainerRowSerde::compare( |
| 1650 | *leftStream, |
| 1651 | *rightStream, |
| 1652 | reinterpret_cast<bytedance::bolt::Type*>(typePtr), |
| 1653 | {static_cast<bool>(nullFirst), static_cast<bool>(ascending), false}); |
| 1654 | } |
nothing calls this directly
no test coverage detected