Skip to content

gRPC client throws uncaught error when simple-bigtable sets a column qualifier range #15

Description

@ckreiling

I create a simple-bigtable client, and try to run the following to read a few rows:

bigtable.read("table").rows().family("columnFamily").columns()
    .startQualifierOpen("someQualifier").endQualifierClosed("zomeQualifier").executeAsync()

When I run the code with that client, I receive the following error:

"Error in field 'column_range_filter' : Invalid id for collection columnFamilies"

Taking a deeper look, it appears as though the ColumnRange builder wrappers inside ReadColumns.java does not set the column family field on the ColumnRange.Builder object, thus causing the error above.

Temporary workaround: use the underlying gRPC client by calling bigtable.getSession().getDataClient().readRowsAsync(readRowsRequest), and passing in a valid ReadRowsRequest object.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions