Hi Sanjit,
That would be great. We are going to test it for you on our cluster. And
there is another problem we're facing:
Trying to reproduce hql: "select * from NAME where ROW >= "some_id";. With
sample spec (below) we receiving zero cells.
ScanSpec spec;
if (page->lastRowId != NULL && strlen(page->lastRowId)) {
RowInterval r;
//finish scan by lastRow
r.end_row = page->lastRowId;
r.end_inclusive = true;
//start scan by firstRow if specified
if (page->firstRowId != NULL && strlen(page->firstRowId)) {
r.start_row = page->firstRowId;
r.start_inclusive = false;
}
spec.row_intervals.push_back(r);
spec.__isset.row_intervals = true;
}
spec.revs = 1;
spec.__isset.revs = true;
On Mon, Dec 14, 2009 at 9:31 PM, Sanjit Jhala <[email protected]> wrote:
> Hi Stanislav,
>
> It looks like the KEYS_ONLY flag is not exposed via the Thrift
> interface. We'll try and get this into the next release. If you'd like
> I can out a code patch when I'm done with this change.
>
> -Sanjit
>
>
> On Mon, Dec 14, 2009 at 5:45 AM, Stanislav Yudin <[email protected]> wrote:
> > Hi everyone,
> > I am looking for a way how to specify ScanSpec for open_scaner which
> > would return only row keys i.e. emulating KEYS_ONLY hql options_spec.
> > I have tried to set empty columns vector and mark it as specified to
> > force no columns, but it didn't help. How is it supposed to be done?
> > Sample (using C++ thrift bindings)
> > ScanSpec spec;
> > //set empty columns and mark specified
> > spec.columns.clear();
> > spec.__isset.columns = true;
> >
> > --
> >
> > You received this message because you are subscribed to the Google Groups
> "Hypertable Development" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> [email protected]<hypertable-dev%[email protected]>
> .
> > For more options, visit this group at
> http://groups.google.com/group/hypertable-dev?hl=en.
> >
> >
> >
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Hypertable Development" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<hypertable-dev%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/hypertable-dev?hl=en.
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Hypertable Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hypertable-dev?hl=en.