Hi,
These constants are used for converting data to respective datatype while
loading into carbondata. It is not required for short or int type as we
store as bigint.
Regards,
Ravi
On 4 December 2016 at 12:40, Sea <
[hidden email]> wrote:
> Hi, all:
> I find the following codes in carbon CarbonCommonConstans.java. What
> does these measures mean? Can I add a type for SHORT_VALUE_MEASURE = 's'
> ?
>
>
>
>
>
> /**
> * DOUBLE_VALUE_MEASURE
> */
> public static final char SUM_COUNT_VALUE_MEASURE = 'n';
> /**
> * BYTE_VALUE_MEASURE
> */
> public static final char BYTE_VALUE_MEASURE = 'c';
> /**
> * BIG_DECIMAL_MEASURE
> */
> public static final char BIG_DECIMAL_MEASURE = 'b';
>
> /**
> * BIG_INT_MEASURE
> */
> public static final char BIG_INT_MEASURE = 'l';
--
Thanks & Regards,
Ravi