Hi Pavel,

It's worth noting that the fallback is fine-grained, not coarse-grained.

That is to say, if you choose AUTO (which is currently equivalent to DICT
for strings) and the fallback occurs, that fallback is at the granularity
of an individual column block, not the entire column. So there is no way to
display whether fallback occurred at a global level.

We could build some kind of tool to inspect the actual blocks on disk and
determine how many of them fell back to plain, but that would be a rather
expensive operation of scanning data, rather than just looking at some
piece of global metadata.

Hope that helps
-Todd

On Fri, May 5, 2017 at 12:58 AM, Pavel Martynov <mr.xk...@gmail.com> wrote:

> Hi, how can I see actual (effective) encoding and compression of table
> columns if I use defaults?
> Web UI shows me AUTO_ENCODING and DEFAULT_COMPRESSION, but as stated here
> https://kudu.apache.org/docs/schema_design.html#encoding Kudu may
> "transparently fall back to plain encoding" from dictionary encoding.
> I think it would be useful to the user to see actual used encoding &
> compression.
>
> --
> with best regards, Pavel Martynov
>



-- 
Todd Lipcon
Software Engineer, Cloudera

Reply via email to