Configure the Feishu Bitable output component

Updated at:

The Feishu Bitable output component writes data to a Feishu Bitable data source. To synchronize data to a Feishu Bitable data source, configure this component as the target after you configure the source component.

Prerequisites

Procedure

  1. In the top navigation bar of the Dataphin homepage, choose Develop > Data Integration.

  2. In the top navigation bar of the data integration page, select a project. If you are in Dev-Prod mode, you must also select an environment.

  3. In the left navigation bar, click Batch Integration. In the Batch Integration list, click the batch pipeline that you want to develop to open its configuration page.

  4. In the upper-right corner of the page, click component library to open the component library panel.

  5. In the component library panel, select Output from the left-side navigation pane. In the list of output components on the right, find the Feishu Bitable component and drag it onto the canvas.

  6. Click and drag the image icon on the source, transformation, or process component to connect it to the Feishu Bitable output component.

  7. On the Feishu Bitable output component card, click the image icon to open the Feishu Bitable Output Configuration dialog box.

  8. In the Feishu Bitable Output Configuration dialog box, configure the parameters.image

    Parameter

    Description

    Basic Settings

    step name

    The name of the component step. Dataphin automatically generates a name, which you can modify.

    • Can contain only Chinese characters, letters, underscores (_), and digits.

    • Must be no more than 64 characters in length.

    data source

    From the drop-down list, select a Feishu Bitable data source. The list contains all Feishu Bitable data sources, including those with and without write permission. To copy the name of the current data source, click the image icon.

    table

    Select a target table. You can enter keywords to search for a table or enter the exact table name and click Exact Search. To copy the name of the selected table, click the image icon.

    load policy

    Select a loading policy for the target table. Options:

    • Append data: Appends new data to the table without modifying existing data.

    • Overwrite data: Clears all existing data in the table before writing new data.

    field mapping

    input field

    Displays the input fields from the upstream component.

    output field

    Displays the output fields. You can perform the following operations:

    • Field Management: Click Field Management to select output fields.

      image

      • Click the gaagag icon to move fields from the Selected Input Fields list to the Unselected Input Fields list.

      • Click the agfag icon to move fields from the Unselected Input Fields list to the Selected Input Fields list.

    • Batch Add: Click Batch Add to configure fields in bulk by using the JSON, TEXT, or DDL format.

      • Bulk configuration in JSON format. For example:

        // Example:
        [{
          "name": "user_id",
          "type": "String"
         },
         {
          "name": "user_name",
          "type": "String"
         }]
        Note

        The name parameter specifies the name of the field to import, and the type parameter specifies its data type. For example, "name":"user_id","type":"String" imports the user_id field and sets its data type to String.

      • Bulk configuration in TEXT format. For example:

        // Example:
        user_id,String
        user_name,String
        • The row separator separates each field definition. The default separator is a line feed (\n). You can also use a semicolon (;) or a period (.).

        • The column separator separates the field name from its data type. The default separator is a comma (,).

      • Bulk configuration in DDL format. For example:

        CREATE TABLE tablename (
            id INT PRIMARY KEY,
            name VARCHAR(50),
            age INT
        );
    • New output field: Click + New output field, enter a name in the Field column, and select a Type. After you configure the current row, click the image icon to save the configuration.

    Mapping Relationship

    Based on the upstream input and the fields of the target table, you can manually select the field mapping. The mapping relationships include mapping fields by row index and mapping fields by name.

    • map fields by name: Maps fields that have the same name.

    • map fields by row index: Maps fields based on their row position. Use this option when field names are different, but their order corresponds.

  9. Click Confirm to save the configuration of the Feishu Bitable output component.