Skip to content

How to use Counter Types? #39

@Deep1998

Description

@Deep1998

I was trying to test out the counter type but i don't see documentation around how to configure the spanner tables for it nor a limitation.

Tried the following configuration spanner but the proxy throws an error on startup:

INSERT INTO TableConfigurations (KeySpaceName,  TableName,  ColumnName,  ColumnType, IsPrimaryKey, PK_Precedence)
VALUES('testkeyspace', 'counter_table', 'id' ,'int', true, 1);

INSERT INTO TableConfigurations (KeySpaceName,  TableName,  ColumnName,  ColumnType, IsPrimaryKey, PK_Precedence)
VALUES('testkeyspace', 'counter_table', 'val' ,'counter', false,0);

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