Doris Data Connection

  • Last update: November 26, 2026
  • Overview

    Version

    FineDataLink VersionFunctional Change
    4.0.23Supported data reading from and writing to the Doris database in Scheduled Task.
    Supported data writing to the Doris database in Real-Time Pipeline.
    4.2.17.1Supported data writing to the Doris database in Scheduled Pipeline.
    4.2.17.5Adjusted the write logic for full synchronization of subtables with primary keys in Scheduled Pipeline. For details, see Doris Instruction.
    4.2.23.2 and 5.0.16.2Allowed you to select only tables of the Primary Key type when Target is set to Existing Table in Real-Time Pipeline.
    Historical Updates
    FineDataLink VersionFunctional Change
    4.0.27Changed the line break characters from /n and /t to \01 and \02 to prevent write errors. When writing data to Doris using Stream Load, FineDataLink outputs the data in CSV format and then loads it into the database. Line breaks in source fields or field names may be interpreted as multiple fields or values during CSV conversion, causing write errors.
    4.1Supported the Doris database in Data Service.
    4.1.3Supported automatic table creation when the Doris database is used as the data destination.
    4.1.7.2Supported the Mark Timestamp During Synchronization function for Doris of versions later than 2.0 in Real-Time Pipeline.
    4.1.10.1Supported DDL synchronization when the Doris database is used as the data destination in Real-Time Pipeline.
    Supported automatically marking the source primary key as the primary key of an auto-created target table when the Doris database is used as the data destination in Scheduled Task.
    Supported writing data containing separators to Doris 2.0 and later versions in Scheduled Task and Real-Time Pipeline.
    4.1.11.4Supported Real-Time Task.
    4.1.11.5Supported synchronizing the NOT NULL information of the source table through field mapping when configuration method of the data source is set to Table Selection, the target table uses the Duplicate Key model, and Auto Created Table is selected.
    4.1.14.1Supported the SocketTimeout setting in the data connection configuration to keep database queries within a reasonable time and prevent indefinite waits.
    4.2.1.4Supported tables of the Duplicate Key type for auto-created target tables in the DB Table Output operator of Real-Time Task.
    Supported inserts without a primary key for insert-only streams.
    4.0.23Supported data reading from and writing to the Doris database in Scheduled Task.
    Supported data writing to the Doris database in Real-Time Pipeline.
    4.2.3.1Supported column and line separators for data writing to the Doris database in Scheduled Task.
    4.2.4.3Added \x02 as the recommended line separator and selected it by default to ensure that data is handled correctly in Doris of earlier versions after separator replacement.
    4.2.7.3Supported selecting Doris partitioned tables as data sources in Scheduled Task.
    Supported selecting Doris partitioned tables as data destinations in Scheduled Task and Real-Time Pipeline.
    Supported specifying partitions for auto-created tables in Scheduled Task and Real-Time Pipeline Task.
    Supported Doris data connections in Data Service.
    4.2.8.4Supported data batching and write interval settings for data writing to the Doris database.
    4.2.12.2Supported transaction control when the Doris database is used as the data destination.
    4.2.12.3Removed the FetchSize setting.
    4.2.13.4Supported the HTTPS protocol.
    4.2.16.2Added Parameter Configuration to Advanced Setting.

    Application Scenario

    FineDataLink supports connection to Doris for data reading and writing in Scheduled Task, data writing in Scheduled Pipeline, Real-Time Pipeline, and Real-Time Task, and data retrieval for API publishing in Data Service.

    Restrictions

    1. For details about functional restrictions of the Doris data source, see Doris Instruction.

    2. You need to ensure that FineDataLink can access the frontend node (FE) and the backend node (BE) of the Doris database before establishing a data connection.

    3. When Doris is used as the data destination, you need to ensure that the FE node can access the BE node.

    4. The database user configured in the Doris data connection must have ADMIN privileges to ensure the normal use of relevant functions.

    Data Connection Configuration

    Prerequisite

    For details, see the Prerequisite section in Overview of Data Connection.

    Version and Driver

    DatabaseDatabase VersionDriver
    Doris0.14 and laterThe driver is built into FineDataLink. No manual configuration is required.

    Connection Information Collection

    Collect the following information before connecting FineDataLink to the database.

    • IP address and port number of the database server

    • Database name

    • Username and password of the database

    Procedure

    For details about how to create a data connection, see Data Source Connection and Management.

    PixPin_2026-11-26_17-19-47.png

    The following table describes the setting items.

    SettingDescription
    Frontend Node Address

    Configure Frontend Node Address when Doris is used as the data destination.

    Enter the IP address/hostname and port number. Separate multiple addresses with commas.


    For HTTP:

    • Use the format IP address:Port number, where the IP address is the FE node IP address and the port number is its http_port. Run show frontends to query the FE node ports.

    • For example, 192.168.101.71:8030,192.168.101.209:9030.

    For HTTPS:

    • In FineDataLink of V4.2.13.4 and later, use the format https://IP address:Port number.


    For either protocol, you can enter multiple addresses. The system writes data in a round-robin manner and selects the first available FE node for the connection.

    SocketTimeout (available from FineDataLink V4.1.14.1)

    1. Description:

    Set the socket timeout for the data connection, in seconds. The default is 3600.

    Enter a non-negative integer; 0 means no timeout.

    2. Use case:

    Network fluctuations may cause real-time pipeline tasks or scheduled tasks to wait indefinitely for query results without an error, even though data synchronization has stopped. After the setting is configured, the SQL statement is interrupted and an error is reported when the configured socket timeout is reached, preventing indefinite waits.

    3. Scope:

    Scheduled task: data reading and writing, SQL script execution, parameter assignment, and global parameter assignment

    Pipeline task: data reading and writing;

    Data Service: SQL queries

    Data Management: SQL execution.

    Parameter Configuration

    The setting is added in FineDataLink V4.2.16.2, allowing you to configure parameters. For details about available parameters, scope, and conflicts, see the Apache Doris documentation.

    PixPin_2026-11-26_17-42-49.png

    Use case:

    For large data volumes, you can configure parameters to update only selected fields. For example, in a task that writes data to Doris, add the partial_columns parameter, set it to true, and remove the mappings for some fields. The following table shows the results.

    Task TypeTarget Table TypeResult for Unmapped Columns
    Scheduled Task
    Duplicate KeyRefreshed to NULL
    Unique Key - Merge on WriteOriginal values retained
    Unique Key - Merge on ReadOriginal values retained
    Aggregate KeyRefreshed to NULL
    Real-Time Pipeline TaskOriginal values retained
    Real-time TaskOriginal values retained
    icon  Note:
    If a large number of concurrent requests is received in Data Service, you are advised to increase the maximum number of active connections to prevent connection failures.

    Task Development

    For details, see Doris Instruction.

    附件列表


    主题: Data Source Configuration
    Previous
    Next
    • 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