anchor.diff:                    "AND myseries = 'seriesX' AND time > 1 AND time < 2"),
       {ok, Select} = compile_select_clause(get_sel_ddl(), Rec),
       ?assertMatch(
  -       #riak_sel_clause_v1{ initial_state = [0] },
  +       #riak_sel_clause_v1{ initial_state = [[]] },
          Select
         ).
   
  
positive.code: 
  %% @priv
  run_select2([], _, _, Acc) ->
      lists:flatten(lists:reverse(Acc));
  run_select2([Fn | SelectTail], Row, [ColState1 | ColStateTail], Acc1) ->
      ColState2 = Fn(Row, ColState1),
      Acc2 = [ColState2 | Acc1],
      run_select2(SelectTail, Row, ColStateTail, Acc2);
  run_select2([Fn | SelectTail], Row, RowState, Acc1) ->
      Value = Fn(Row, RowState),
      Acc2 = [Value | Acc1],
      run_select2(SelectTail, Row, RowState, Acc2).
  
  %%
  compile_select_clause(DDL, ?SQL_SELECT{'SELECT' = #riak_sel_clause_v1{ clause = Sel } } = Q) ->
  
negative.code:                   "AND myseries = 'seriesX' AND time > 1 AND time < 2"),
      {ok, Select} = compile_select_clause(get_sel_ddl(), Rec),
      ?assertMatch(
         #riak_sel_clause_v1{ initial_state = [[], []] },
         Select
        ).
  
  