anchor.diff:                      Rows = riak_pb_ts_codec:encode_rows([Row]),
                       {reply, #tsgetresp{columns = ColumnDescriptions,
                                          rows = Rows}, State};
  +                {error, {bad_key_length, Got, Need}} ->
  +                    {reply, key_element_count_mismatch(Got, Need), State};
                   {error, Reason} ->
                       {reply, make_rpberrresp(?E_GET, to_string(Reason)), State}
               end
  
positive.code:       0, Data).
  
  
  make_ts_keys(CompoundKey, DDL = #ddl_v1{local_key = #key_v1{ast = LKParams},
                                          fields = Fields}) ->
  
      %% 1. use elements in Key to form a complete data record:
      KeyFields = [F || #param_v1{name = [F]} <- LKParams],
      KeyAssigned = lists:zip(KeyFields, CompoundKey),
      VoidRecord = [{F, void} || #riak_field_v1{name = F} <- Fields],
      %% (void values will not be looked at in riak_ql_ddl:make_key;
      %% only LK-constituent fields matter)
      BareValues =
          list_to_tuple(
            [proplists:get_value(K, KeyAssigned)
             || {K, _} <- VoidRecord, lists:member(K, KeyFields)]),
  
      %% 2. make the PK and LK
      PK = eleveldb_ts:encode_key(
             riak_ql_ddl:get_partition_key(DDL, BareValues)),
      LK = eleveldb_ts:encode_key(
             riak_ql_ddl:get_local_key(DDL, BareValues)),
      {PK, LK}.
  
  
  %% ---------------------------------------------------
  
negative.code:     Mod = riak_ql_ddl:make_module_name(Table),
      try Mod:get_ddl() of
          DDL ->
              Result =
                  case make_ts_keys(CompoundKey, DDL) of
                      {ok, PKLK} ->
                          riak_client:delete_vclock(
                            {Table, Table}, PKLK, VClock, Options,
                            {riak_client, [node(), undefined]});
                      ErrorReason ->
                          ErrorReason
                  end,
              case Result of
                  ok ->
                      {reply, tsdelresp, State};
                  {error, {bad_key_length, Got, Need}} ->
                      {reply, key_element_count_mismatch(Got, Need), State};
                  {error, notfound} ->
                      {reply, tsdelresp, State};
                  {error, Reason} ->
  