Field-to-Row Splitting Operator

  • Last update: April 16, 2025
  • Overview

    Version

    FineDataLink VersionFunctional Change
    4.1.2
    Added the Field-to-Row Splitting operator, which can split field values according to specific rules (separators) and generate a new column to store the split values in different rows.
    4.1.7.3
    Optimized the interactive experience and changed Selected Field to Field to Be Split.

    Function Overview

    The Field-to-Row Splitting operator is added, which can split field values according to specific rules (separators) and generate a new column to store the split values in different rows, as shown in the following figure.

    1.2.png

    Usage Restriction

    Only fields with text-type data can be split.

    Example

    Scenario Description

    You can download the example table data: Teacher_Table.xlsx.

    Each teacher in the data table corresponds to multiple students separated by comma (,). You want to split the values of the student field to display one student name per record, as shown in the following figure.

    3.1-1.png

    Table Data Reading

    1. Create a scheduled task, drag a Data Transformation node onto the page, and enter the Data Transformation editing page.

    2. Drag a DB Table Input operator onto the Data Transformation page and configure the operator to read the data to be processed, as shown in the following figure.

    3.2.png

    Field-to-Row Splitting

    1. Drag a Field-to-Row Splitting operator onto the Data Transformation page and configure the operator to split the values of the student field, as shown in the following figure.

    3.3-1.png

    The following table describes the setting items.

    Setting Item
    Description

    Field to Be Split

    You can select a field with text-type data from the upstream output for splitting.

    Separator

    1. Available separators include Semicolon, Comma, Colon, Space, and Custom.

    If you select Custom as Separator, you can input any character or string. The whole input content will be used as the separator to split field values.

    2. The logic of splitting fields by separator is described below.

    • The separator is matched from left to right when splitting field values.

    • The separator is used as the boundary to split fields. If no character is on either side of the separator, the new rows will be filled with null values.

    Field ValueSeparatorRow After Split

    A

    A

    Empty

    Empty

    AAA

    A

    Empty

    Empty

    Empty 

    Empty

    AAA

    AA

    Empty

    A

    Split Result

    1. Only one field named Original field name_Row Splitting Result is added.

    2. The data type of the newly generated column defaults to text.

    2. Click Data Preview, as shown in the following figure.

    On the Data Preview page, you can preview the first 1000 rows by default, with 20 rows per page.

    3.3-2.png

    Field Renaming

    Drag a Field Setting operator onto the Data Transformation page. Rename the student_Row Splitting Result field, as shown in the following figure.

    3.4.png

    Data Output

    1. Add a DB Table Output operator and configure it to output the data after processing, as shown in the following figure.

    3.5.png

    2. Click Save in the upper right corner.

    Effect Display

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

    3.6-1.png

    2. The table data in the database is shown in the following figure.

    3.6-2.png

    附件列表


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

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

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

    不再提示

    9s后關閉

    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