Skip to content

Commit 0d4787c

Browse files
committed
Clarify that Trino and Presto are not the same dialect in docs
Refs #620
1 parent d6c830c commit 0d4787c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
It started as a port of a [PHP Library][], but has since considerably diverged.
88

99
It supports various SQL dialects:
10-
GCP BigQuery, IBM DB2, Apache Hive, MariaDB, MySQL, Couchbase N1QL, Oracle PL/SQL, PostgreSQL, Amazon Redshift, SingleStoreDB, Snowflake, Spark, SQL Server Transact-SQL, Trino/Presto.
10+
GCP BigQuery, IBM DB2, Apache Hive, MariaDB, MySQL, Couchbase N1QL, Oracle PL/SQL, PostgreSQL, Amazon Redshift, SingleStoreDB, Snowflake, Spark, SQL Server Transact-SQL, Trino (and Presto).
1111
See [language option docs](docs/language.md) for more details.
1212

1313
It does not support:

docs/language.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const result = format('SELECT * FROM tbl', { dialect: 'sqlite' });
2727
- `"spark"` - [Spark][]
2828
- `"sqlite"` - [SQLite][sqlite]
2929
- `"transactsql"` or `"tsql"` - [SQL Server Transact-SQL][tsql]
30-
- `"trino"` - [Trino][] / [Presto][]
30+
- `"trino"` - [Trino][] (should also work for [Presto][], which is very similar dialect, though technically different)
3131

3232
The default `"sql"` dialect is meant for cases where you don't know which dialect of SQL you're about to format.
3333
It's not an auto-detection, it just supports a subset of features common enough in many SQL implementations.

0 commit comments

Comments
 (0)