hi Keith -- I assume based on prior discussions you are referring to the C++ library.
No -- because the indices are encoded while the dictionary is being built, the dictionary indices would have to be decoded and re-encoded to be able to sort the dictionary. You might consider dictionary encoding with a sorted dictionary using Apache Arrow and then helping with the open JIRA issues about direct dictionary-to-Parquet writes (which would preserve your pre-computed dictionary order). Thanks Wes On Tue, Jun 25, 2019 at 1:51 PM Keith Chapman <[email protected]> wrote: > > Hi all, > > When writing a parquet file is there a way to force the dictionary to be > written out sorted? > > Regards, > Keith. > > http://keith-chapman.com
