Skip to content

[IOTDB-661] Keep the alias column in result if it's used in query#1183

Merged
qiaojialin merged 3 commits intoapache:masterfrom
Alima777:displayAliasColumn
May 9, 2020
Merged

[IOTDB-661] Keep the alias column in result if it's used in query#1183
qiaojialin merged 3 commits intoapache:masterfrom
Alima777:displayAliasColumn

Conversation

@Alima777
Copy link
Copy Markdown
Contributor

@Alima777 Alima777 commented May 9, 2020

SQL: SELECT speed FROM root.sg.d1; (speed is the alias of s1).

Which returns the result like | Time | root.sg.d1.s1 | now.

We need to support keeping the alias in result if it's used in query, returning the result like
| Time | root.sg.d1.speed |.

This pr supports this function in rawDataQuery and lastQuery.

@qiaojialin qiaojialin merged commit 2a8052c into apache:master May 9, 2020
@Alima777 Alima777 deleted the displayAliasColumn branch October 27, 2020 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants