All Products
Search
Document Center

Tablestore:DeleteTimeseriesMeta

Last Updated:Apr 28, 2025

Deletes the metadata of a time series.

Request syntax

message DeleteTimeseriesMetaRequest {
  required string table_name = 1;
  repeated TimeseriesKey timeseries_key = 2;
  optional int64 supported_table_version = 3;
}

Parameter

Type

Required

Description

table_name

string

Yes

The name of the time series table.

timeseries_key

TimeseriesKey

Yes

The identifier of the time series whose metadata you want to delete.

supported_table_version

int64

No

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

  • 0: The model version number does not support time series tables that contain custom time series identifiers or data fields specified as the primary key columns. This is the default value.

  • 1: The model version number supports time series tables that contain custom time series identifiers and data fields specified as the primary key columns.

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.

Response syntax

message DeleteTimeseriesMetaResponse {
  repeated FailedRowInfo failed_rows = 1;
}

Parameter

Type

Description

failed_rows

FailedRowInfo

The information about the rows that fail to be deleted.

Use Tablestore SDKs

You can use the following Tablestore SDKs to delete time series metadata: