java restful driver when use union all ( eg: select * from (select * from t_xx union all select * from t_aaa) where fa >= 100 ) .server response error:java.sql.SQLException: ERROR (0x2318): Connection reset
Open
Nobody has claimed this yet.
bug
- Dominant language
- C
- Stars
- 25.1k
- Forks
- 5k
- Avg merge
- 4d 59m
- Merged PRs (30d)
- 7
Description
Bug Description
when sql has no = ,the server response sucess
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- OS: CentOS Linux release 7.9.2009
- Memory: 32G, CPU:Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz , current Disk Space: 500G
- TDengine Version [3.3.1]
- restful driver: 3.2.11
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the shown SQL query with the TDengine 3.3.1 server and RESTful driver 3.2.11 in the stated CentOS environment, then compare it with the version without the >= condition. Done means the UNION ALL query completes through the RESTful driver without the server returning a connection reset.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, sql
- Domain
- backend-api-design, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100