uber/queryparser

Column usage doesn't include hive struct accessors

Open

#11 opened on Aug 29, 2017

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Haskell (1,079 stars) (145 forks)batch import
good first issue

Description

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.

Contributor guide