Create a sync destination table

更新时间: 2026-06-08 11:32:33

A sync destination table is a table on the Dataphin platform used for processing business data. This topic describes how to create a sync destination table.

Create a destination table using an ad hoc query

  1. Log on to the Dataphin console.

  2. On the Dataphin console page, select a region for your workspace and click Enter Dataphin>>.

  3. On the Dataphin home page, click Develop in the top menu bar.

  4. On the Data Development page, follow the steps shown in the figure to open the Create Ad-hoc Query File dialog box.

  5. In the Create Ad-hoc Query dialog box, enter a Name and Description, and select a folder in the Select Directory field.

    1. In the New Ad Hoc Query dialog box, configure the parameters.

      z

      Parameter

      Description

      Name

      The name can contain Chinese characters, digits, letters, and underscores (_). The name cannot exceed 64 characters in length.

      Description

      Enter a description for the task.

      Select Directory

      Select a folder for the resource.

    2. Click OK.

  6. On the code editor page, write, precompile, format, and run the code as shown in the following figure.

Create a destination table using a computing task

  1. On the Data Development page, navigate to the Script Task page as shown in the following figure.

  2. On the Script Task page, click the 1 icon and select MAX_COMPUTE_SQL.

  3. You can write and run the code.

    1. Configure the parameters in the Create MAX_COMPUTE_SQL Job dialog box.

      z

      Parameter

      Description

      Task Name

      Enter a name for the offline computing task, such as SQL.

      Schedule Type

      Select a schedule type for the task. Schedule Type includes:

      • Recurring Task: The task is periodically scheduled by the system.

      • One-Time Task: You must manually trigger the task to run.

      Description

      Enter a brief description of the task.

      Select Directory

      Select a folder for the offline computing task.

    2. Click OK.

    3. On the Code Editor page, refresh, save, and run the code as shown in the following figure.

上一篇: Create a folder for storing synchronization tasks 下一篇: Create a synchronization task
阿里云首页 智能数据建设与治理 Dataphin 相关技术圈