You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/dune-v2/query-engine.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,8 @@ The syntax and keyword operator differences between Postgres, Spark, and Dune SQ
43
43
|**String Data Type**|`varchar`|`string`|`varchar`|
44
44
|**Casting as Strings**|`cast([xxx] as string)`|`cast([xxx] as string)`|`cast([xxx] as varchar)`|
45
45
|**`left()` is no longer a method available for returning substrings**|`left([string],[length])`|`left([string],[length])`|`substr([string], [start], [length])` <br><br> [Returns varchar; Positions start with 1, so use `1` for length if you want to replicate left() functionality](https://trino.io/docs/current/functions/string.html?highlight=substr#substring)|
46
+
|**Aggregate Functions**|`array_agg(col)`, `array_agg(distinct(col))`|`array_agg(col)` or `collect_list(col)`, `collect_set(col)` or `array_agg(distinct(col))`|`array_agg(col)`, `array_agg(distinct(col))`|
0 commit comments