taosdata / taosdata/TDengine

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
#27,334 0 comments 0 reactions 0 assignees View on GitHub

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
1724133439382
when sql has no = ,the server response sucess

1724133463893

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.