tencent cloud

Tencent Cloud WeData

StarRocks Data Source

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2024-11-01 17:00:28
DataInLong offers real-time writing capabilities for StarRocks. This article introduces the current support for StarRocks real-time data synchronization capabilities.

Supported Versions

Currently, DataInLong supports real-time Database-level writing for StarRocks. Using real-time writing capabilities requires adhering to the following version limitations:
Data Source Type
Edition
StarRocks
2.5.3,3.1.2,3.1.12

Use Limits

DDL changes do not support modifying field names. If the source modifies a field name, auto-modification of the field name on the StarRocks target end is not supported.
Importing using CSV format is not supported.
Advanced Parameters are not supported.

Real-time full database writing configuration

Data Target Configuration




Parameter
Description
Data Destination
Select the target data source to be synchronized.
Database /Table Matching Policy
Naming matching rules for databases and data table objects in StarRocks:
Default has the same name as the Source Database/Source Table.
Self Definition: Support combining built-in parameters and strings to generate target database table names.
Note:
Example: If the source table name is table1, and the mapping rule is ${table_name_di_src}_inlong, the data from table1 will be finally mapped to table1_inlong.

Write Data Type Conversion Supported

Flink data type
StarRocks data type
BOOLEAN
BOOLEAN
TINYINT
TINYINT
SMALLINT
SMALLINT
INTEGER
INTEGER
BIGINT
BIGINT
FLOAT
FLOAT
DOUBLE
DOUBLE
DECIMAL
DECIMAL
BINARY
INT
CHAR
STRING
VARCHAR
STRING
STRING
STRING
DATE
DATE
TIMESTAMP_WITHOUT_TIME_ZONE(N)
DATETIME
TIMESTAMP_WITH_LOCAL_TIME_ZONE(N)
DATETIME
ARRAY<T>
ARRAY<T>
MAP<KT,VT>
JSON STRING
ROW<arg T...>
JSON STRING

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백