kudu-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Burkert <danburk...@apache.org>
Subject Re: how can I get data by Primary Key faster with c++ api of kudu
Date Mon, 24 Jul 2017 17:18:37 GMT
That is the correct way.  Adding EQUAL predicates on all columns of the
primary key will result in an optimal single-row scan.

- Dan

On Mon, Jul 24, 2017 at 12:50 AM, 曾巍 <wei.zeng@xrewin.com> wrote:

> hello:
> my code as below
> p = KuduTable->NewComparisonPredicate("c1", kudu.EQUAL, i)
> scanner.AddConjunctPredicate(p)
> how can I get data by Primary Key faster with c++ api of kudu
> Is there a better way?
>

Mime
View raw message