iotdb icon indicating copy to clipboard operation
iotdb copied to clipboard

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

Open AuroraLiu0823 opened this issue 3 years ago • 2 comments

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.

AuroraLiu0823 avatar Aug 16 '22 06:08 AuroraLiu0823

[WeOpen Star]I would like to help

GuanchuShen avatar Aug 17 '22 10:08 GuanchuShen

[WeOpen Star]I would like to help

wjr4hy avatar Aug 19 '22 03:08 wjr4hy

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

nikam14 avatar Feb 25 '23 07:02 nikam14