Local File
This guide shows you how to create a Local File Connection in Ascend.
note
Local File Connections are recommended primarily for seed data and development purposes. For production workloads, use other Connection types that provide better scalability and reliability.
Prerequisites​
- Ascend Project
- Ascend Workspace
- File directory for your local files
- Path: The path to the local directory containing your data files
- [Additional requirements specific to the Connection]
Create a Local File Connection
From your workspace Super Graph view, follow these steps:
- Form
- Files panel
- Create a Connection by either:
- Clicking the + button next to Connections in the left Build panel
- Right-clicking in the Super Graph and selecting Create Connection
- Enter a descriptive name like `read_local_file`
- Select Local File from the available options
- Fill in the required fields (and any optional fields as needed)
- Click Save at the bottom to create your Connection

- Open the Files panel in the top left
- Right-click the Connections directory and select New File

- Give your file a descriptive name like `read_local_file.yaml`
For complete configuration options, see our Connection reference guide.
Example​
Use the following YAML template for your Local File Connection. Customize the highlighted values with your specific Connection details:
/my_project/connections/localfile_connection.yaml
connection:
local_file:
root: <root-folder>
🎉 Congratulations, you just set up a Local File Connection in Ascend!