Skip to content

Refactor the execution path of InsertTabletPlan#1361

Merged
qiaojialin merged 9 commits intomasterfrom
refactor_batch_insert
Jun 16, 2020
Merged

Refactor the execution path of InsertTabletPlan#1361
qiaojialin merged 9 commits intomasterfrom
refactor_batch_insert

Conversation

@jt2594838
Copy link
Copy Markdown
Contributor

Previously, InsertTabletPlan does not follow the same execution path like other plans, and also have very different return type from others, which caused trouble in the distributed version to process them in a uniformed way.

I changed the execution path to let InsertTabletPlan also go into executeNonQuery() and wrap the TSStatus in an exception so the inner calls can return void like many other methods.

@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 10 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

warning The version of Java (1.8.0_242) you have used to run this analysis is deprecated and we will stop accepting it from October 2020. Please update to at least Java 11.
Read more here

@qiaojialin qiaojialin merged commit fe73244 into master Jun 16, 2020
@qiaojialin qiaojialin deleted the refactor_batch_insert branch June 16, 2020 11: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.

2 participants