我要评分
获取效率
正确性
完整性
易理解

Function Description

This module contains aggregate and hash functions. In addition to basic HMPP data types, two new data types are defined in this module:

  1. varchar
    typedef uint8_t varchar;

    Character type. varchar* indicates a character string.

    You can also use varchar* to represent a string array, which is a compact storage data type. offset* is used together with varchar* to represent the start position of each substring in the array. For example, if varchar* points to the "wearegoodfriend" character string, and offset[4] = {0, 2, 5, 9}, then the target string array is {"we", "are", "good", "friend"}.

  2. HmppDecimal128
    typedef struct {
        uint64_t low;
        int64_t high;
    } HmppDecimal128;

    128-bit integer, consisting of a higher 64-bit half and a lower 64-bit half. The most significant bit of the higher half is the sign bit, and the remaining 127 bits indicate an absolute value.