Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用in语句查询,查询结果和预期不一致 #561

Open
xiaoxiongw opened this issue Apr 28, 2024 · 0 comments
Open

使用in语句查询,查询结果和预期不一致 #561

xiaoxiongw opened this issue Apr 28, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@xiaoxiongw
Copy link

xiaoxiongw commented Apr 28, 2024

Describe the bug(Bug 描述)

使用in语句查询,查询结果和预期不一致

To Reproduce(Bug 复现步骤)

使用in语句查询时, f_warntypeid='3' 条件不生效,in条件参数个数为1个时结果是对的,大于1个,结果就不正确了。
SELECT * FROM warnrecorddata WHERE time>=1714233600000 and time<1714319999000 and f_warntypeid=3 and f_channelid in (36,37)

Expected behavior(期望结果)

No response

Screenshots(屏幕截图)

in2
in1

Logs(完整的错误日志)

No response

Additional context(其他的一些补充内容)

No response

@xiaoxiongw xiaoxiongw added the bug Something isn't working label Apr 28, 2024
@xiangyu5632 xiangyu5632 self-assigned this May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants