CData Python Connector for Avro

Build 25.0.9454

DeleteFile

Delete a file from a local or cloud storage.

Procedure-Specific Information

The Path input accepts paths relative to the URI provided in the connection string.

If URI is set to: gs://test-bucket/folder2 and Path='file1.txt', the file /folder2/file1.txt will be deleted.

The procedure is executed as below:

    EXEC DeleteFile Path='/hello-cdata.txt'

Input

Name Type Required Description
Path String True The full path of the file to delete. Relative to the path provided in the URI connection property.

Result Set Columns

Name Type Description
Success Bool Boolean indicating if the procedure was executed successfully. If false, the output parameter 'Details' will contain the failure details.
Details String Details of execution failure. NULL if success=true.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9454