All Products
Search
Document Center

PolarDB:ST_DeleteGTF

Last Updated:Aug 20, 2026

Deletes all externally stored trajectory files from a folder.

Syntax

void ST_DeleteGTF(text directory);

Parameters

Parameter

Description

directory

The external storage string. Currently, only OSS folders are supported. The format is as follows: 'OSS://<access key>:<access secret>@<endpoint>/<bucket>/<directory>'. The trajectory files are stored in the .gtf file under the corresponding folder.

Description

You need to delete trajectory files.

Examples

SELECT ST_deleteGtf('OSS_PATH');