Data Distribution

  • Last update: June 27, 2025
  • Overview

    Version

    FineDataLink VersionFunctional Change
    4.0.20/

    Application Scenario

    You want to distribute processed data to multiple tables based on different filtering criteria. Using multiple scheduled tasks for this purpose requires multiple reads from the source table, which is time-consuming and impacts performance.

    Function Description

    The Data Transformation node supports simultaneous data distribution to multiple target tables. You can select specific fields from a source table, apply distinct filtering conditions to each output operator, and distribute processed data to respective target tables, as shown in the following figure.

    Example

    Scenario Description

    You can download the example table: Customer_and_Order_Information.xls

    You want to split the Customer_and_Order_Information table into SCustomer and SProduct tables.

    For example, you want to output the fields Owner_Name, Owner_Address, Owner_City, Owner_Region, Owner_Postal_Code, Owner_Country, Owner_Province, and Owner_TEL to the SCustomer table and output Product_ID, Product_Name, and Unit_Price to the SProduct table.

    Scheduled Task Creation

    1. Create a scheduled task and drag a Data Transformation node onto the page, as shown in the following figure.

    Data Input Setting

    Click Data Transformation node to enter the editing page, drag in a DB Table Input operator, and configure the data input, as shown in the following figure.

    Data Flow Splitting

    Adding Two DB Table Output Operators

    1. Drag in two DB Table Output operators and connect them to the DB Table Input operator, as shown in the following figure.

    2. Rename the two DB Table Output operators Product Table and Customer Table, respectively.

    Distributing Data

    iconNote:
    In data distribution scenarios, an operator can be connected to multiple succeeding output operators, while all output operators must share the same preceding operator. Output operators include DB Table OutputParameter OutputAPI Output, and Jodoo Output.

    1. Right-click the DB Table Input operator and click Data Distribution, as shown in the following figure.

    2. Configure the data distribution conditions. Distribute the fields Owner_Name, Owner_Address, Owner_City, Owner_Region, Owner_Postal_Code, Owner_Country, Owner_Province, and Owner_TEL to the SCustomer table and Product_ID, Product_Name, and Unit_Price to the SProduct table, as shown in the following figure.

    iconNote:
    Do not set the distribution condition if you want to output the same data to multiple tables.

    The following table describes the setting items.

    Setting ItemDescription
    Output NodeThe names of succeeding nodes of the operator are displayed automatically and cannot be edited.
    Distribution ContentYou can select the upstream fields to be output from the dropdown list.
    Distribution Condition

    You can configure the distribution condition.

    iconNote:
    In FineDataLink V4.1.1 and later versions, the product logic for condition judgment has been standardized. For details about each operator, see Condition Judgment Logic Description.
    RemarkYou can enter descriptions here, typically for explaining complex distribution conditions. It is empty by default.

    You can click the Data Preview button in the Data Distribution window to preview the output data of different branches, as shown in the following figure.

    Configuring Target Tables

    Configure the DB Table Output operator named Product Table, as shown in the following figure.

    Configure the DB Table Output operator named Customer Table, as shown in the following figure.

    Task Execution

    Click Run to execute the task. The running result in Log upon successful execution is shown in the following figure.

    The following figure shows data in the SProduct table.

    The following figure shows data in the SCustomer table.

    附件列表


    主题: Data Development - Scheduled Task
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy