Skip to content

305 INTERNAL_SERVER_ERROR by Arithmetic time inside 'IN' #16451

@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

DELETE DATABASE root.min;
CREATE DATABASE root.min;

CREATE TIMESERIES root.min.t1.c1 INT64;
CREATE TIMESERIES root.min.t1.c2 INT64;

INSERT INTO root.min.t1(time, c1, c2) VALUES (1641024600000, 1, 42);

--query 1
SELECT c1, c2 FROM root.min.t1 WHERE time IN (1641024600000);

--query 2
SELECT c1, c2 FROM root.min.t1 WHERE (time + time) IN (3282049200000);

What did you expect to see?

query 1 : return value

query 2 : return value

What did you see instead?

query 1 : return value

query 2 : 305 INTERNAL SERVER ERROR

Image

Anything else?

No response

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