ClickHouse rejects countMerge() in ORDER BY after GROUP BY because the column is already finalized to UInt64. Use the SELECT alias instead. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
ClickHouse rejects countMerge() in ORDER BY after GROUP BY because the column is already finalized to UInt64. Use the SELECT alias instead. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>