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

Replace this "switch" statement by "if" statements to increase readability. #7016

Open
AuroraLiu0823 opened this issue Aug 16, 2022 · 3 comments

Comments

@AuroraLiu0823
Copy link

Code Path:server/src/main/java/org/apache/iotdb/db/mpp/plan/analyze/ExpressionUtils.java
1660631579087
switch statements are useful when there are many different cases depending on the value of the same expression. For just one or two cases however, the code will be more readable with if statements.

@GuanchuShen
Copy link

[WeOpen Star]I would like to help

1 similar comment
@wjr4hy
Copy link
Contributor

wjr4hy commented Aug 19, 2022

[WeOpen Star]I would like to help

@wjr4hy wjr4hy mentioned this issue Aug 19, 2022
11 tasks
@nikam14
Copy link
Contributor

nikam14 commented Feb 25, 2023

I would like to help, You can assign it to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants