queryparser icon indicating copy to clipboard operation
queryparser copied to clipboard

Column usage doesn't include hive struct accessors

Open h4v0kh3l1 opened this issue 7 years ago • 1 comments

For tables where the majority of 'columns' are abstracted under a top-level column, e.g. body or msg, we don't surface the struct accessor as the column name, rendering analysis of these queries unusable.

Ideally, if we had a msg.name, msg.attrs.foo, msg.attrs.bar struct, we'd see the leaf struct names as the column name, i.e. msg.name, msg.attrs.foo, etc. Instead, we currently see msg for all of them.

h4v0kh3l1 avatar Aug 29 '17 23:08 h4v0kh3l1

This is already captured in parsing, just needs to add to the usage analysis.

h4v0kh3l1 avatar Sep 14 '18 16:09 h4v0kh3l1