All Products
Search
Document Center

Tablestore:UpdateTimeseriesMeta

Last Updated:May 26, 2025

Updates the time series metadata in a time series table. If the time series metadata that you want to update does not exist, the system automatically adds the time series metadata.

Request syntax

message UpdateTimeseriesMetaRequest {
  required string table_name = 1;
  repeated TimeseriesMeta timeseries_meta = 2;
  optional int64 supported_table_version = 3;
}

Parameter

Type

Required

Description

table_name

string

Yes

The name of the time series table.

timeseries_meta

TimeseriesMeta

Yes

The list of time series metadata that you want to update.

supported_table_version

int64

No

The model version number of the time series table supported by the Tablestore SDK. Valid values:

Note
  • The schema specified by TimeseriesKey varies based on the model version number.

  • If the model version number specified by the supported_table_version parameter is earlier than the model version number of the time series table on which you want to perform operations, an error occurs.

  • If you want to develop your own Tablestore SDK, we recommend that you set this parameter to 1.

Response syntax

message UpdateTimeseriesMetaResponse {
  repeated FailedRowInfo failed_rows = 1;
}

Parameter

Type

Description

failed_rows

FailedRowInfo

The error information about the rows that fail to be updated.

Use Tablestore SDKs

You can use the following Tablestore SDKs to update the time series metadata in a time series table: