alibaba / alibaba/DataX

配置querySql参数,sql不能以 ; 结尾

Open
#233 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
17.4k
Forks
5.7k
PR merge metrics
No merged PRs in 30d

Description

"connection": [
{
"querySql": [
"select db_id,on_line_flag from db_info where db_id < 10;"
],
"jdbcUrl": [
"jdbc:mysql://bad_ip:3306/database",
"jdbc:mysql://127.0.0.1:bad_port/database",
"jdbc:mysql://127.0.0.1:3306/database"
]
}
]

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating DataX's handling of the connection.querySql configuration and reproduce the issue with the provided MySQL JDBC URLs and a query ending in a semicolon. Done means a querySql value ending in ';' is accepted, with the relevant existing test or configuration path confirming the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, mysql
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.