Skip to content

Add read filter option  #214

Description

@nzorg

I would like to use the read command with a filter option filter rows based a cell value using bigtable.ValueFilter.

Example:

if filter := parsed["filter"]; filter != "" {
	filters = append(filters, bigtable.ValueFilter(filter))
}

Usage:
cbt read user-table prefix=user columns=login filter="^active.*" count=1

This would be quite useful for analysis and troubleshooting purposes.

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

    priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions