ClickhouseBuilder
ClickhouseBuilder copied to clipboard
Reset order by before count().
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.