Skip to content

[IOTDB-152]return data type in TSExecuteStatementResp#294

Merged
qiaojialin merged 3 commits intomasterfrom
remove_fetch_datatype_in_query
Jul 26, 2019
Merged

[IOTDB-152]return data type in TSExecuteStatementResp#294
qiaojialin merged 3 commits intomasterfrom
remove_fetch_datatype_in_query

Conversation

@little-emotion
Copy link
Copy Markdown
Member

When executing the query statement, after sending executeStatement request to server and return the execResp, the client send several TSFetchMetadata requests to server for fetching data types of the query columns. So we can return dataTypes in executeStatement request to avoid the following fetchmetaData requests.
Thank Rui Lei for discovering this problem.

Copy link
Copy Markdown
Member

@jixuan1989 jixuan1989 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1.
One more question, how much improvement after this PR?

@qiaojialin qiaojialin merged commit a6603c6 into master Jul 26, 2019
@qiaojialin qiaojialin deleted the remove_fetch_datatype_in_query branch July 26, 2019 01:37
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.

3 participants