Skip to main content

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:

  1. Create a Connection by either:
    • Clicking the + button next to Connections in the left Build panel
    • add-connection
    • Right-clicking in the Super Graph and selecting Create Connection
    • menu
  2. Enter a descriptive name like `read_local_file`
  3. Select Local File from the available options
  4. Fill in the required fields (and any optional fields as needed)
  5. Click Save at the bottom to create your Connection
  6. form

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!