Skip to main content
Version: 3.0.0

Create an Alias Component

Learn how to create an Alias Component that references existing tables in your Data Plane within Ascend Flows.

Prerequisites​

Before beginning, ensure you have:

Creating an Alias Component​

Create an Alias Component in two ways: using the component form in the UI or directly in the file system.

  1. Double-click the Flow where you want to create your component
  2. Right-click anywhere in the Flow Graph
  3. Hover over Create Component, then over Read in the expanded menu, and click Alias menu
  4. In the pop-up window, select your desired database and table
  5. Click Create Alias in the top right create alias
  6. Complete the form with these details:
    • Select your Flow
    • Enter a descriptive Component Name like read_sales form

Configuration options​

When creating an Alias Component, you have several configuration options depending on your needs.

Basic configuration​

To configure an Alias Component, directly specify the table location:

read_sales.yaml
component:
alias:
location: "MY_DATABASE.MY_SCHEMA.MY_TABLE_NAME"

The location field follows the standard database.schema.table pattern to specify the table you want to reference.

Parameterized configuration​

For more flexibility across environments, use parameters in your Alias Component:

read_sales.yaml
component:
alias:
location: "${parameters.database}.${parameters.schema}.MY_TABLE_NAME"

This approach lets you define different database and schema values for different environments without changing the component definition. For example, you might have these parameter values defined in your profile:

profiles/dev.yaml
parameters:
database: DEV_DB
schema: PUBLIC

See Parameters for more details on configuring and using parameters.

Next steps​

After creating your Alias Component, you can: