You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@arrow.apache.org by Elbin Pallimalil <el...@gmail.com> on 2024/12/02 14:57:55 UTC

How to identify if a field vector is dictionary encoded

We are implementing a Flight client in Java. Is there a standard way to
determine if a Flight server is sending a field vector in dictionary
encoded or not?

Thanks,
Elbin

Re: How to identify if a field vector is dictionary encoded

Posted by David Li <li...@apache.org>.
Hi Elbin,

I see you've also cross-posted on StackOverflow [1]. I'll respond there, since that question has more actual context, but yes, you can inspect the type. (This isn't specific to Flight.)

[1]: https://stackoverflow.com/questions/79246266/how-to-identify-if-a-field-vector-is-dictionary-encoded

-David

On Mon, Dec 2, 2024, at 23:57, Elbin Pallimalil wrote:
> We are implementing a Flight client in Java. Is there a standard way to determine if a Flight server is sending a field vector in dictionary encoded or not?
> 
> Thanks,
> Elbin