Skip to content

Commit 5605ff8

Browse files
query engine syntax formatting fix
1 parent fcd3f94 commit 5605ff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/dune-v2/query-engine.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The syntax and keyword operator differences between Postgres, Spark, and Dune SQ
4242
| **Using “is True/False”** | `X is true` | `X is true` | `X = true` |
4343
| **String Data Type** | `varchar` | `string` | `varchar` |
4444
| **Casting as Strings** | `cast([xxx] as string)` | `cast([xxx] as string)` | `cast([xxx] as varchar)` |
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)|
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)|
4646

4747
left(somestring, somenumber) -> substr(somestring, 0, somenumber)
4848

0 commit comments

Comments
 (0)