Doris
Last updated
Last updated
Doris source connector
Used to read data from Doris. Doris Source will send a SQL to FE, FE will parse it into an execution plan, send it to BE, and BE will directly return the data
Doris
Only Doris2.0 or later is supported.
-
-
INT
INT
TINYINT
TINYINT
SMALLINT
SMALLINT
BIGINT
BIGINT
LARGEINT
STRING
BOOLEAN
BOOLEAN
DECIMAL
DECIMAL((Get the designated column's specified column size)+1, (Gets the designated column's number of digits to right of the decimal point.)))
FLOAT
FLOAT
DOUBLE
DOUBLE
CHAR VARCHAR STRING TEXT
STRING
DATE
DATE
DATETIME DATETIME(p)
TIMESTAMP
ARRAY
ARRAY
fenodes
string
yes
-
FE address, the format is "fe_host:fe_http_port"
username
string
yes
-
User username
password
string
yes
-
User password
database
string
yes
-
The name of Doris database
table
string
yes
-
The name of Doris table
doris.read.field
string
no
-
Use the 'doris.read.field' parameter to select the doris table columns to read
query-port
string
no
9030
Doris QueryPort
doris.filter.query
string
no
-
Data filtering in doris. the format is "field = value",example : doris.filter.query = "F_ID > 2"
doris.batch.size
int
no
1024
The maximum value that can be obtained by reading Doris BE once.
doris.request.query.timeout.s
int
no
3600
Timeout period of Doris scan data, expressed in seconds.
doris.exec.mem.limit
long
no
2147483648
Maximum memory that can be used by a single be scan request. The default memory is 2G (2147483648).
doris.request.retries
int
no
3
Number of retries to send requests to Doris FE.
doris.request.read.timeout.ms
int
no
30000
doris.request.connect.timeout.ms
int
no
30000
It is not recommended to modify advanced parameters at will
This is an example of reading a Doris table and writing to Console.
Use the 'doris.read.field' parameter to select the doris table columns to read
Use 'doris.filter.query' to filter the data, and the parameter values are passed directly to doris