apache / apache/iotdb

305 INTERNAL_SERVER_ERROR by Arithmetic time inside 'IN'

未关闭
#16,451 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
6.4k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
115

描述

### Search before asking

- [x] I searched in the [issues](https://github.com/apache/iotdb/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!

贡献指南

打开贡献指南

调研方向

在 IoTDB 2.0.5 上复现 issue 中的两个查询并比较它们的结果。跟踪算术表达式在 IN 谓词中的查询执行过程;当查询 2 返回预期值而不是 305 INTERNAL SERVER ERROR 时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
databases
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。