Hi Jordan KuduScanner::GetProjectionSchema returns the schema of the projection that was previously set on the scanner. If you don't a projection it should indeed return all the columns. Are you sure you didn't set a projection (with SetProjectedColumnNames or SetProjectedColumnIndexes) that excluded the key?
Best David On Fri, Sep 9, 2016 at 5:16 AM, Jordan Birdsell <[email protected]> wrote: > Hey folks, > > i was doing some work on KUDU-854 > <https://issues.apache.org/jira/browse/KUDU-854> and when testing the > KuduScanner::GetProjectionSchema method call, found that the key was being > dropped, which makes this much more challenging to test. Any ideas if it is > intended to drop the key information in a scanner projection? I would > imagine this could prevent functionality like creating new tables from a > projection. > > Thanks, > Jordan >
