Subject: | get_inflated_columns doesn't return columns added via 'as' (whereas get_columns does) |
get_inflated_columns() doesn't return columns added via 'as', whereas get_columns() does.
The doc's make no mention of this, so I'm hoping it's a bug and not a feature.
More generally, the way get_columns() and get_inflated_columns() determine the list of columns
to return is very different, yet the docs give no hint that they'd return different sets of columns
in some situations. I'd expect them to use the same logic.
[Also, get_inflated_columns() is recalculating a lot of information for each row that would be
constant and this cacheable.]