Skip to content

'+0' trigger 305 INTERNAL ERROR #16436

@timbytimmy

Description

@timbytimmy

Search before asking

  • 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions