apache / apache/iotdb

iotdb 1.0.1 版本 last查询使用as 别名查询, 别名缺失

Open
#9,756 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.4k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
115

Description

select last a as b from root.xx.xx 查询结果不是期望的b 而是 a

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported IoTDB 1.0.1 query, `select last a as b from root.xx.xx`, and trace the query result handling for the `last` expression and its alias. Confirm that the result exposes `b` rather than `a`, with a regression test covering the reported query as the completion check.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, sql
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.