Yeah, holy smoking 2-liner, dudes.
On Apr 1, 2013 8:20 PM, "Peter Lubell-Doughtie" <notifications@github.com>
wrote:

> In bamboo/core/calculator.py:
>
> >          """Parse formula into function and variables."""
> > -        if dframe is None:
> > -            dframe = self.dataset.dframe()
> > -
> > -        functions = self.parser.parse_formula(formula)
> > +        functions, dependent_columns = self.parser.parse_formula(formula)
> > +
> > +        # make select from dependent_columns
> > +        if dframe is None and dependent_columns:
> > +            query_args = QueryArgs(select={col: 1 for col in dependent_columns})
>
> this is some hotness
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/modilabs/bamboo/pull/513/files#r3612114>
> .
>