> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# RETRY FILE

> RETRY FILE retries to load all data files or a specific data file in a pipe.

RETRY FILE retries to load all data files or a specific data file in a pipe. This command is supported from v3.2 onwards.

## Syntax

```SQL theme={null}
ALTER PIPE <pipe_name> { RETRY ALL | RETRY FILE '<file_name>' }
```

## Parameters

### pipe\_name

The name of the pipe.

### file\_name

The storage path of the data file that you want to retry to load. Note that you must specify the full storage path of the file. If the file you specify does not belong to the pipe you specify in `pipe_name`, an error is returned.

## Examples

The following example retries to load all data files in a pipe named `user_behavior_replica`:

```SQL theme={null}
ALTER PIPE user_behavior_replica RETRY ALL;
```

The following example retries to load the data file `s3://starrocks-examples/user_behavior_ten_million_rows.parquet` in a pipe named `user_behavior_replica`:

```SQL theme={null}
ALTER PIPE user_behavior_replica RETRY FILE 's3://starrocks-examples/user_behavior_ten_million_rows.parquet';
```

## References

* [CREATE PIPE](/documents/4.2/sql-reference/sql-statements/loading_unloading/pipe/CREATE_PIPE.md)
* [ALTER PIPE](/documents/4.2/sql-reference/sql-statements/loading_unloading/pipe/ALTER_PIPE.md)
* [DROP PIPE](/documents/4.2/sql-reference/sql-statements/loading_unloading/pipe/DROP_PIPE.md)
* [SHOW PIPES](/documents/4.2/sql-reference/sql-statements/loading_unloading/pipe/SHOW_PIPES.md)
* [SUSPEND or RESUME PIPE](/documents/4.2/sql-reference/sql-statements/loading_unloading/pipe/SUSPEND_or_RESUME_PIPE.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.