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

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

Merged
merged 3 commits into from
May 9, 2020

Conversation

Alima777
Copy link
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.

None yet

2 participants