Re: Is there a difference between these aggregations

2017-07-24 Thread Aseem Bansal
Any difference between using agg or select to do the aggregations? On Mon, Jul 24, 2017 at 5:08 PM, yohann jardin wrote: > Seen directly in the code: > > > /** >* Aggregate function: returns the average of the values in a group. >* Alias for avg. >* >* @group agg_funcs >* @

RE: Is there a difference between these aggregations

2017-07-24 Thread yohann jardin
Seen directly in the code: /** * Aggregate function: returns the average of the values in a group. * Alias for avg. * * @group agg_funcs * @since 1.4.0 */ def mean(e: Column): Column = avg(e) That's the same when the argument is the column name. So no difference between