'Return the names of columns in the parent table that were used for grouping.'

@property
def key_colnames(self):

    grouped_by_table_cols = getattr(self.keys, u'meta', {}).get(u'grouped_by_table_cols', False)
    return (self.keys.colnames if grouped_by_table_cols else ())
