The original discussion is #4704 (comment).
RowBasedKeySerde currently builds a dictionary at query time. To avoid using too many memory, the dictionary size is limited by user configuration. However, the current dictionary size estimation is based on a rough calculation.
JOL might be an alternative for more accurate dictionary size estimation if its overhead is not so large.
The original discussion is #4704 (comment).
RowBasedKeySerdecurrently builds a dictionary at query time. To avoid using too many memory, the dictionary size is limited by user configuration. However, the current dictionary size estimation is based on a rough calculation.JOL might be an alternative for more accurate dictionary size estimation if its overhead is not so large.