'+0' trigger 305 INTERNAL ERROR
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
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!
also, +n with any number causing same issue.
waiting for confirmation please
The time here is a whole, and this operation is temporarily not supported