fix bug for #887, that is cannot query multi partitions of one datasource on realtime node.
Modify according to fjy's review, add reformatting according to eaclipse_formatting.xml
Reformatting using intellij_formatting.jar
Merge pull request #894 from zhaown/fix-query-realtime-with-multi-partition

bugfix for #887