ClickhouseBuilder icon indicating copy to clipboard operation
ClickhouseBuilder copied to clipboard

Reset order by before count().

Open StyxOfDynamite opened this issue 2 years ago • 0 comments

This PR addresses my comment on #56

In my case, a select column exist that applies an alias, that alias is then used in the orderBy, when fetching a count() query, the select columns are rewritten, but not the orderBy that references them.

StyxOfDynamite avatar Jul 18 '22 16:07 StyxOfDynamite