deanshub / pivot2

5 stars 2 forks source link

Sorting #4

Open yotamgever opened 7 years ago

yotamgever commented 7 years ago

As a viewer, I want to be able to sort the pivot columns by clicking their title, so I can control the Pivot display and present the data that interests me the most at the top/bottom.

Note: Sorting by multiple columns is described as a new requirement

yotamgever commented 7 years ago

Sql default sorting should be considered in order to prevent the streaming bug

deanshub commented 7 years ago

Sql default sorting should be considered in order to prevent the streaming bug

to elaborate currently when sorting the old pivot, the jaql receives a sort attribute, once the translation proccess sees the sort in the jaql, it removes (doesn't put it in the first place) the default sorting (by rows).

we should take the sort provided by the user, remove it and send the jaql without it, then as the results are streamed back from the elasticube, we should sort them (with the user's sort) inside nodeJs and send them to the client

orelse94 commented 7 years ago

time estimation 5 days