Differences between ClickHouse and YQL dialects of SQL
Terminology
- A ClickHouse
ARRAYis called aListin YQL, with the same naming difference applying to most functions used to handle them. - The ClickHouse
ARRAY JOINoperation is called FLATTEN BY in YQL. - From the YQL perspective, the data type of both physical and nested (Nested in ClickHouse) logical tables is
List<Struct<...>>. In YQL, container data types can be combined in any way.
Syntax
- In ClickHouse, you can assign an alias to almost any part of an expression using
ASand then reference that alias in another part of the query. In contrast, YQL is very strict about the scope of columns in different parts of a SELECT statement.