accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From z11373 <z11...@outlook.com>
Subject scan fixed range from shell
Date Thu, 29 Oct 2015 14:41:25 GMT
Hi,
Let say I have table T1 with following keys:
1_abc
1_def
1_xyz
2_xxx
2_yyy
3_a
3_ab
...

I want to scan and only returns data with prefix '1_', so I run "scan -t T1
-b 1_ -e 1_", but it returns no data. However, running "scan -t T1 -b 1_ -e
2" will return what I want. I thought that -e should include that value
(inclusive)?

How can I scan fixed range from shell like in this example above? Do I just
need to pick character which is lexicographically sorted higher than the one
I want?

Thanks,
Z




--
View this message in context: http://apache-accumulo.1065345.n5.nabble.com/scan-fixed-range-from-shell-tp15427.html
Sent from the Users mailing list archive at Nabble.com.

Mime
View raw message