anchor.diff:  
   -spec decode_query(Query::#tsinterpolation{}) ->
       {error, _} | {ok, #ddl_v1{} | ?SQL_SELECT{} | #riak_sql_describe_v1{}}.
  -decode_query(SQL) ->
  -    decode_query(SQL, undefined).
  -
  --spec decode_query(Query::#tsinterpolation{}, term()) ->
  -    {error, _} | {ok, #ddl_v1{} | ?SQL_SELECT{} | #riak_sql_describe_v1{}}.
  -decode_query(#tsinterpolation{ base = BaseQuery }, Cover) ->
  +decode_query(#tsinterpolation{ base = BaseQuery }) ->
       Lexed = riak_ql_lexer:get_tokens(binary_to_list(BaseQuery)),
  -    case riak_ql_parser:parse(Lexed) of
  -        {ok, ?SQL_SELECT{} = SQL} ->
  -            {ok, SQL?SQL_SELECT{cover_context = Cover}};
  -        Other ->
  -            Other
  -    end.
  +    riak_ql_parser:parse(Lexed).
   
   decoder_parse_error_resp({LineNo, riak_ql_parser, Msg}) when is_integer(LineNo) ->
       flat_format("~ts", [Msg]);
  
positive.code:     do_submit_query(SQL, Table, State);
  
  process(SQL = #riak_sql_describe_v1{'DESCRIBE' = Table}, State) ->
      do_submit_query(SQL, Table, State);
  
  %% No support yet for replacing coverage components; we'll ignore any
  %% value provided for replace_cover
  process(#tscoveragereq{query = Q,
                         table = Table}, State) ->
      Mod = riak_ql_ddl:make_module_name(Table),
      Bucket = table_to_bucket(Table),
      SQL = compile(Mod, catch decode_query(Q)),
      Client = {riak_client, [node(), undefined]},
  
      case SQL of
          {error, _Error} ->
              {reply, make_rpberrresp(?E_BAD_QUERY,
                                      "Failed to compile query"),
               State};
          _ ->
              %% SQL is a list of queries (1 per quantum)
              convert_cover_list(sql_to_cover(Client, SQL, Bucket, []), State)
      end.
  
  
  do_create_table(DDL = #ddl_v1{table = Table}, State) ->
  
negative.code:         #tsdelreq{table = Table} ->
              {ok, Msg, {"riak_kv.ts_del", Table}};
          #tslistkeysreq{table = Table} ->
              {ok, Msg, {"riak_kv.ts_listkeys", Table}}
      end.
  
  
  