For AI agents: the complete documentation index is available at https://docs.dataplatform.ovh.net/llms.txt, the full documentation bundle is available at https://docs.dataplatform.ovh.net/llms-full.txt, and this page is available as Markdown at https://docs.dataplatform.ovh.net/dpe-actions-delete.md.
  • 🇬🇧 English
  • Empty tables with the Delete action

    This action is used to empty one, or multiple, tables in the database

    Objective

    This action is used to empty one, or multiple, tables in the database. Using the perimeter in the preferences section, you can limit the deletion to a specific subset of data. The perimeter can be preformed on:

    • Based on predefined set (A table attribute)
    • Date perimeter of the workflow
    • Based on attribute of the Project (An attribute of the Project)
    Info

    Pro-tip

    The perimeter type Based on predefined set can have multiple values, but only one attribute can be selected. Whilst unorthodox, you can use segmentation to act as an additional attribute based on a table attribute.

    Setup example

    { 
    	"params": {
    		"tables": [
    			"dwh/default_dataset/table_1", 
    			"dwh/analytics_dataset/table_2"
    		]
    	}
    }

    Parameters

    ParameterDescriptionExampleRequired
    tablesTables to delete.["dwh/default_dataset/table1", "dwh/analytics_dataset/table2"]Yes

    *This parameter should be used carefully, as if the action terminates early, it will result in partial deletion of data, and if multiple tables are selected, some tables may not be deleted at all.

    Go further

    If you need training or technical assistance to implement our solutions, contact your sales representative or click on this link to get a quote and ask our Professional Services experts for a custom analysis of your project.

    Ask questions, give your feedback and interact directly with the team building the Data Platform on the dedicated Discord channel.

    If you need support with your OVHcloud services, create a request in our Help Centre.

    Join our community of users.