Target variants and versions

A target is a family, an optional variant and an optional version range: trino/athena, mysql/mariadb, duckdb@2.0. The functions index shows the families. This page lists what a variant or a version changes for you: everything else is rewritten by the compiler and gives the same answer as its family. featuremesh.targets() returns the same list. Scope and maturity per family: Backend compatibility .

duckdb

TargetVersionsScope
duckdb1.5 (tested), 2.0 (tested)full

duckdb

The reference for the family.

trino

TargetVersionsScope
trino—full
trino/presto—full
trino/presto/native—full
trino/athena—full
trino/athena/local—full

trino

The reference for the family.

trino/presto

  • SOUNDEX(), FORMAT() and PRODUCT() OVER are refused (UE/FUNCTION-NOT-AVAILABLE): PrestoDB has no equivalent. The other Trino-only functions are rewritten.

trino/presto/native

  • SOUNDEX(), FORMAT() and PRODUCT() OVER are refused (UE/FUNCTION-NOT-AVAILABLE): PrestoDB has no equivalent. The other Trino-only functions are rewritten.
  • A RANGE frame offset over a DECIMAL ORDER BY key is refused (UE/WINDOW-FRAME-NOT-SUPPORTED-DIALECT). Order by a BIGINT or DOUBLE key instead.
  • GROUPS window frames are refused (UE/WINDOW-FRAME-NOT-SUPPORTED-DIALECT). ROWS and RANGE run.

trino/athena

  • A compiled query longer than 262,144 bytes is refused (UE/QUERY-TEXT-TOO-LONG-NOT-SUPPORTED-TARGET), the Athena limit.
  • BIT_XOR(), as an aggregate and over a window, and SQLVERSION() are refused (UE/FUNCTION-NOT-AVAILABLE): Athena engine v3 has no bitwise_xor_agg or version(). The vector functions are rewritten.

trino/athena/local

  • A compiled query longer than 262,144 bytes is refused (UE/QUERY-TEXT-TOO-LONG-NOT-SUPPORTED-TARGET), the Athena limit.

mysql

TargetVersionsScope
mysql—partial: no ARRAY or ROW values (refused by name)
mysql/mariadb—partial: no ARRAY or ROW values (refused by name)

mysql

  • MD5(), SHA1() and HASH01() are refused: MySQL 9.7 removed MD5() and SHA1(). MariaDB has them.

mysql/mariadb

Nothing refused that mysql runs.