Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> PostgreSQL supports most of the major features of SQL:2023. Out of 177 mandatory features required for full Core conformance, PostgreSQL conforms to at least 170. In addition, there is a long list of supported optional features.

https://www.postgresql.org/docs/current/features.html

Clickhouse is simply a joke in comparison. No basic cursor support, no transactions, incomplete comparison operators, no single-row SELECT with GROUP BY and HAVING clauses grouped views, no procedures, no anti-joins or WHERE EXISTS, for that matter. The list goes on... it's basically impossible to write SQL to any degree of sophistication in Clickhouse.



> anti-joins

Does exist.

> single-row SELECT with GROUP BY and HAVING clauses grouped views

If it's about grouping sets they do exist.

> no procedures

parametrized views/UDF/executable UDF (UDTF) exist.

> WHERE EXISTS,

Exists, but without Correlated Sub query part, which is honestly a joke because of how subpair performance it usually have compared to other alternatives.

Can you remind, does SQL:2023 standard finally allow you to use DISTINCT keyword in WINDOW functions?

Or people still forced to do horrible hacks with correlated subqueries or joins to do extremely simple thing like count Distinct in running window of X days?

> it's basically impossible to write SQL to any degree of sophistication in Clickhouse.

It's says more about engineer not DBMS.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: