accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Newton <eric.new...@gmail.com>
Subject Re: Inserting a negative value in the shell.
Date Wed, 23 Oct 2013 15:13:15 GMT
use "--" to terminate argument parsing:

> insert -- row cf cq -1

-Eric



On Tue, Oct 22, 2013 at 8:17 PM, David Medinets
<david.medinets@gmail.com> wrote:
> As background, I was trying to add a negative number to a table with a
> SummingCombiner. Does this issue exist in v1.6? I don't have an instance
> running at the moment.
>
>
> On Tue, Oct 22, 2013 at 7:16 PM, Josh Elser <josh.elser@gmail.com> wrote:
>>
>> tbh, my gut reaction was calling it a limitation of the current shell.
>>
>>
>> On 10/22/13 4:07 PM, Billie Rinaldi wrote:
>>>
>>> I tried the hex, but it still interprets it as an option. I'm trying to
>>> decide if this dash issue is actually a bug, or a limitation of the
>>> shell, since it mixes flagged parameters and positional parameters.
>>> Maybe we could look into interpreting hex after the options are parsed,
>>> but I don't recall how that's done offhand.
>>>
>>> On Oct 22, 2013 6:14 PM, "Christopher" <ctubbsii@apache.org
>>> <mailto:ctubbsii@apache.org>> wrote:
>>>
>>>     You might be able to specify the dash/minus sign with its hex
>>>     equivalent:
>>>
>>>     insert row cf cq \x2D1
>>>
>>>
>>>     --
>>>     Christopher L Tubbs II
>>>     http://gravatar.com/ctubbsii
>>>
>>>
>>>     On Tue, Oct 22, 2013 at 10:03 AM, David Medinets
>>>     <david.medinets@gmail.com <mailto:david.medinets@gmail.com>>
wrote:
>>>      > I just tried to do this:
>>>      >
>>>      >   insert "row" "cf" "cq" -1
>>>      >
>>>      > The negative sign is being interpreted as an "unrecognized
>>>     option". There
>>>      > does not appear a workaround but perhaps I'm missing something?
>>>
>

Mime
View raw message