epfldata / squall

A streaming / online query processing / analytics engine based on Apache Storm
Apache License 2.0
271 stars 96 forks source link

coding error? #40

Closed lynnyuan-arch closed 7 years ago

lynnyuan-arch commented 7 years ago

Ifind an error from squall-core project, source code file : MyUtilities.java , line number 1162,Type wrapper = veList.get(0).getType(); for (int i = 1; i < veList.size(); i++) { **final Type currentType = veList.get(1).getType();** if (isDominant(currentType, wrapper)) wrapper = currentType; } return wrapper; },the right code should be final Type currentType = veList.get(i).getType();

avitorovic commented 7 years ago

Good catch! Thanks for letting us know! Fixed.