iotdb icon indicating copy to clipboard operation
iotdb copied to clipboard

'+0' trigger 305 INTERNAL ERROR

Open panta-k opened this issue 3 months ago • 3 comments

Search before asking

  • [x] I searched in the issues and found nothing similar.

Version

2.0.5 (build: 0917050)

Describe the bug and provide the minimal reproduce step

CREATE DATABASE root.min; CREATE ALIGNED TIMESERIES root.min.d1 (c0 INT64);

INSERT INTO root.min.d1(time, c0) VALUES (1641024094598, -42837); --query 1 SELECT c0 FROM root.min.d1 WHERE (c0 = -42837) AND (time BETWEEN 1641024094598 AND 1641024955352);

--query 2 SELECT c0 FROM root.min.d1 WHERE (c0 = -42837) AND (time BETWEEN (1641024094598) AND (1641024955352));

--query 3 SELECT c0 FROM root.min.d1 WHERE (c0 = -42837) AND (time BETWEEN (1641024094598+0) AND (1641024955352+0));

What did you expect to see?

query 1 : return 1 result

query2 : return 1 result

query3 : return 1 result

What did you see instead?

query 1 : return 1 result

query2 : return 1 result

query3 : 305 INTERNAL_SERVER_ERROR

Image

Anything else?

305 INTERNAL_SERVER_ERROR when +0 is present on either or both BETWEEN endpoints.

Are you willing to submit a PR?

  • [ ] I'm willing to submit a PR!

panta-k avatar Sep 18 '25 08:09 panta-k

also, +n with any number causing same issue.

panta-k avatar Sep 20 '25 05:09 panta-k

waiting for confirmation please

panta-k avatar Sep 26 '25 05:09 panta-k

The time here is a whole, and this operation is temporarily not supported

CritasWang avatar Sep 29 '25 11:09 CritasWang