All Products
Search
Document Center

PolarDB:ST_DeleteGTF

Last Updated:Mar 28, 2026

Deletes all trajectory data files from an Object Storage Service (OSS) folder.

Syntax

void ST_DeleteGTF(text directory);

Parameters

ParameterDescription
directoryThe OSS folder that contains the GTF files to delete. Only OSS folders are supported. Use the following format: 'OSS://<AccessKey ID>:<AccessKey secret>@<Endpoint>/<Bucket>/<Directory>'

Usage notes

ST_DeleteGTF removes all .gtf files stored in the specified OSS folder.

Examples

SELECT ST_DeleteGTF('OSS_PATH');