Yuan Tian created IOTDB-3579:
--------------------------------
Summary: Effectively support alias in last query
Key: IOTDB-3579
URL: https://issues.apache.org/jira/browse/IOTDB-3579
Project: Apache IoTDB
Issue Type: New Feature
Reporter: Yuan Tian
Attachments: image-2022-06-21-13-31-45-287.png
In current mpp version, last query doesn't support timesereis alias, like if
you have a timeseries named root.sg.d1.s1 with an alias speed, then you do the
query "select last s1, speed from root.sg.d1", you will only get one record,
like the following:
!image-2022-06-21-13-31-45-287.png!
which should have two records.
In the old standalone IoTDB, it will rightly return two records, but its
implementation is not effective. It treat root.sg.d1.s1 and root.sg.d1.speed as
two different timesereis, and query them twice.
So we hope in new mpp version, we can support alias in last query effectively
which means that we should only query once and return two records.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)