anchor.diff:  count_plus_seven_sum_finalise_1_test() ->
       {ok, Rec} = get_query(
           "SELECT COUNT(mydouble) + 7, SUM(mydouble) FROM mytab"),
  -    {ok, Select} = compile_select_clause(get_sel_ddl(), Rec),
  +    {ok, Select} = compile_select_clause(get_sel_ddl(), options(), Rec),
       ?assertMatch(
           [10, 11.0],
           finalise_aggregate(Select, [3, 11.0])
  
positive.code: -endif.
  
  -type compiled_select() :: fun((_,_) -> riak_pb_ts_codec:ldbvalue()).
  -export_type([compiled_select/0]).
  
  -include("riak_kv_ts.hrl").
  
negative.code:         " from mytab WHERE myfamily = 'familyX'"
          " and myseries = 'seriesX' and time > 1 and time < 2",
      {ok, Rec} = get_query(SQL),
      {ok, Sel} = compile_select_clause(get_sel_ddl(), options(), Rec),
      ?assertMatch(#riak_sel_clause_v1{calc_type        = aggregate,
                                       col_return_types = [
                                                           sint64,
  