Re: Module refactoring of merging the data generated by `DISTINCT` syntax

2019-01-03 Thread juan pan
Yep, there is no other better solutions except sorting result sets, but the important thing is how? Firstly how to rewrite those sytaxes, e.g. `AVG(DISTINCT col)`, rewrite it to `DISTINCT col` or not? Secondly how to sort those result sets to calcuate aggregation results of distinct columns,

Re: Module refactoring of merging the data generated by `DISTINCT` syntax

2019-01-02 Thread Hongtao Gao
Would you list some examples to share the "new ideas"? I couldn't find other solutions besides sorting result sets. juan pan 于2019年1月2日周三 上午10:49写道: > Hi, all > > New year, new start. > > The code refactoring of merging the data generated by `DISTINCT` syntax is > also on the way. > > I decided

Module refactoring of merging the data generated by `DISTINCT` syntax

2019-01-01 Thread juan pan
Hi, all New year, new start. The code refactoring of merging the data generated by `DISTINCT` syntax is also on the way. I decided to do this for i got some new ideas about this module implementation so as to make its implementation easier to extend in the next stage and clearer to understand.