Postgres Function Coverage — Legend SQL (LegendSql)

Summary

Metric TDS Relation
Total signatures 709 709
Unique function names 346 346
Supported functions (PASS/PARTIAL) 124 (35.8%) 125 (36.1%)
Total tests 882 882
PASS 380 390
FAIL 11 12
ERROR 78 67
SKIP 0 0
UNSUPPORTED 328 328

Error Categories

Category Description TDS Relation
FUNCTION_NOT_SUPPORTED Function name not recognized by Legend SQL 176 210
RESULT_MISMATCH Query executes but results differ from Postgres 9 11
MISC Other/uncategorized error 43 46
UNSUPPORTED_SYNTAX SQL construct recognized but not yet implemented 51 35
TYPE_ERROR Type mismatch or cast error 56 16
PARSE_ERROR SQL syntax not parseable by Legend SQL parser 5 5

Category Summary

Category Total TDS PASS TDS PARTIAL TDS FAIL TDS ERROR TDS UNTESTED Rel PASS Rel PARTIAL Rel FAIL Rel ERROR Rel UNTESTED
Mathematical Functions and Operators (9.3) / details 72 45 2 1 4 0 45 2 1 4 0
String Functions and Operators (9.4) / details 107 52 8 3 3 0 51 8 3 4 0
Binary String Functions (9.5) / details 9 0 0 0 1 0 0 0 0 1 0
Pattern Matching (9.7) / details 19 5 2 2 2 7 8 3 0 0 7
Data Type Formatting (9.8) / details 10 1 0 0 3 0 1 0 0 3 0
Date/Time Functions and Operators (9.9) / details 41 10 0 0 9 0 10 0 0 9 0
Conditional Expressions (9.18) / details 7 2 1 0 0 0 2 1 0 0 0
JSON Functions and Operators (9.16) / details 94 0 0 0 2 45 1 0 1 0 45
Array Functions and Operators (9.19) / details 21 1 0 0 0 0 1 0 0 0 0
Aggregate Functions (9.21) / details 157 76 4 0 6 0 76 4 0 6 0
Window Functions (9.22) / details 15 3 0 0 0 0 3 0 0 0 0
Network Address Functions (9.12) / details 21 0 0 0 0 0 0 0 0 0 0
System Information Functions (9.26) / details 41 0 0 0 0 0 0 0 0 0 0
Sequence Manipulation Functions (9.17) / details 5 0 0 0 5 0 0 0 0 5 0
Set Returning Functions (9.25) / details 11 0 0 0 0 0 0 0 0 0 0
Cryptographic Functions (pgcrypto) / details 23 0 0 0 1 22 0 0 0 1 22
Other Functions 56 38 0 2 13 0 38 0 2 13 0

Mathematical Functions and Operators (9.3)

Reference: PostgreSQL 16 docs

Function Signature TDS Relation Error Category Notes
🟢 abs abs(bigint) → bigint PASS (3/3) PASS (3/3)
🟢 abs abs(double precision) → double precision PASS (3/3) PASS (3/3)
🟢 abs abs(integer) → integer PASS (3/3) PASS (3/3)
🟢 abs abs(numeric) → numeric PASS (3/3) PASS (3/3)
🟢 abs abs(real) → real PASS (3/3) PASS (3/3)
🟢 abs abs(smallint) → smallint PASS (3/3) PASS (3/3)
🟢 acos acos(double precision) → double precision PASS (1/1) PASS (1/1)
⚪ acosh acosh(double precision) → double precision UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🟢 asin asin(double precision) → double precision PASS (1/1) PASS (1/1)
⚪ asinh asinh(double precision) → double precision UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🟢 atan atan(double precision) → double precision PASS (1/1) PASS (1/1)
🟢 atan2 atan2(double precision, double precision) → double precision PASS (1/1) PASS (1/1)
⚪ atanh atanh(double precision) → double precision UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🟢 cbrt cbrt(double precision) → double precision PASS (1/1) PASS (1/1)
🟢 ceil ceil(double precision) → double precision PASS (3/3) PASS (3/3)
🟢 ceil ceil(numeric) → numeric PASS (3/3) PASS (3/3)
🟢 ceiling ceiling(double precision) → double precision PASS (3/3) PASS (3/3)
🟢 ceiling ceiling(numeric) → numeric PASS (3/3) PASS (3/3)
🟢 cos cos(double precision) → double precision PASS (1/1) PASS (1/1)
🟢 cosh cosh(double precision) → double precision PASS (1/1) PASS (1/1)
🟢 degrees degrees(double precision) → double precision PASS (1/1) PASS (1/1)
🔴 div div(numeric, numeric) → numeric FAIL (0/1) FAIL (0/1) RESULT_MISMATCH
🔴 exp exp(double precision) → double precision ERROR (0/1) ERROR (0/1) MISC
🔴 exp exp(numeric) → numeric ERROR (0/1) ERROR (0/1) MISC
⚪ factorial factorial(bigint) → numeric UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🟢 floor floor(double precision) → double precision PASS (3/3) PASS (3/3)
🟢 floor floor(numeric) → numeric PASS (3/3) PASS (3/3)
⚪ gcd gcd(bigint, bigint) → bigint UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ gcd gcd(integer, integer) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ gcd gcd(numeric, numeric) → numeric UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ lcm lcm(bigint, bigint) → bigint UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ lcm lcm(integer, integer) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ lcm lcm(numeric, numeric) → numeric UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🟢 ln ln(double precision) → double precision PASS (1/1) PASS (1/1)
🟢 ln ln(numeric) → numeric PASS (1/1) PASS (1/1)
🟢 log log(double precision) → double precision PASS (1/1) PASS (1/1)
🟢 log log(numeric) → numeric PASS (1/1) PASS (1/1)
⚪ log log(numeric, numeric) → numeric UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
🟢 log10 log10(double precision) → double precision PASS (1/1) PASS (1/1)
🟢 log10 log10(numeric) → numeric PASS (1/1) PASS (1/1)
⚪ min_scale min_scale(numeric) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🟢 mod mod(bigint, bigint) → bigint PASS (2/2) PASS (2/2)
🟢 mod mod(integer, integer) → integer PASS (2/2) PASS (2/2)
🟢 mod mod(numeric, numeric) → numeric PASS (2/2) PASS (2/2)
🟢 mod mod(smallint, smallint) → smallint PASS (2/2) PASS (2/2)
🟢 pi pi() → double precision PASS (1/1) PASS (1/1)
🟢 power power(double precision, double precision) → double precision PASS (1/1) PASS (1/1)
🟢 power power(numeric, numeric) → numeric PASS (1/1) PASS (1/1)
🟢 radians radians(double precision) → double precision PASS (1/1) PASS (1/1)
⚪ random random() → double precision UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🟢 round round(double precision) → double precision PASS (1/1) PASS (1/1)
🟢 round round(numeric) → numeric PASS (1/1) PASS (1/1)
🟢 round round(numeric, integer) → numeric PASS (2/2) PASS (2/2)
⚪ scale scale(numeric) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ setseed setseed(double precision) → void UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🟢 sign sign(double precision) → double precision PASS (2/2) PASS (2/2)
🟢 sign sign(numeric) → numeric PASS (2/2) PASS (2/2)
🟢 sin sin(double precision) → double precision PASS (1/1) PASS (1/1)
🟢 sinh sinh(double precision) → double precision PASS (1/1) PASS (1/1)
🟢 sqrt sqrt(double precision) → double precision PASS (1/1) PASS (1/1)
🟢 sqrt sqrt(numeric) → numeric PASS (1/1) PASS (1/1)
🟢 tan tan(double precision) → double precision PASS (1/1) PASS (1/1)
🟢 tanh tanh(double precision) → double precision PASS (1/1) PASS (1/1)
⚪ trim_scale trim_scale(numeric) → numeric UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🔴 trunc trunc(double precision) → double precision ERROR (0/1) ERROR (0/1) MISC
🟡 trunc trunc(macaddr) → macaddr PARTIAL (1/2) PARTIAL (1/2) MISC
🟡 trunc trunc(macaddr8) → macaddr8 PARTIAL (1/2) PARTIAL (1/2) MISC
🔴 trunc trunc(numeric) → numeric ERROR (0/1) ERROR (0/1) TYPE_ERROR
⚪ trunc trunc(numeric, integer) → numeric UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
⚪ width_bucket width_bucket(anycompatible, anycompatiblearray) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ width_bucket width_bucket(double precision, double precision, double precision, integer) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ width_bucket width_bucket(numeric, numeric, numeric, integer) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported

String Functions and Operators (9.4)

Reference: PostgreSQL 16 docs

Function Signature TDS Relation Error Category Notes
⚪ array_to_string array_to_string(anyarray, text) → text UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ array_to_string array_to_string(anyarray, text, text) → text UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🟢 ascii ascii(text) → integer PASS (1/1) PASS (1/1)
⚪ bit_length bit_length(bit) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ bit_length bit_length(bytea) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ bit_length bit_length(text) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🟢 btrim btrim(bytea, bytea) → bytea PASS (2/2) PASS (2/2)
🟢 btrim btrim(text) → text PASS (1/1) PASS (1/1)
⚪ btrim btrim(text, text) → text UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
🟢 char_length char_length(character) → integer PASS (2/2) PASS (2/2)
🟢 char_length char_length(text) → integer PASS (1/1) PASS (1/1)
⚪ character_length character_length(character) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ character_length character_length(text) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🟢 chr chr(integer) → text PASS (1/1) PASS (1/1)
🟢 concat concat(VARIADIC "any") → text PASS (8/8) PASS (8/8)
🔴 concat_ws concat_ws(text, VARIADIC "any") → text FAIL (0/1) FAIL (0/1) RESULT_MISMATCH
🟡 decode decode(text, text) → bytea PARTIAL (1/2) PARTIAL (1/2) MISC
🟡 encode encode(bytea, text) → text PARTIAL (1/2) PARTIAL (1/2) MISC
⚪ format format(text) → text UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ format format(text, VARIADIC "any") → text UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🔴 initcap initcap(text) → text FAIL (0/1) FAIL (0/1) RESULT_MISMATCH
⚪ is_normalized is_normalized(text, text DEFAULT 'NFC'::text) → boolean UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🟢 left left(text, integer) → text PASS (2/2) PASS (2/2)
🟢 length length(bit) → integer PASS (2/2) PASS (2/2)
🟢 length length(bytea) → integer PASS (2/2) PASS (2/2)
🟢 length length(bytea, name) → integer PASS (2/2) PASS (2/2)
🟢 length length(character) → integer PASS (2/2) PASS (2/2)
🟢 length length(lseg) → double precision PASS (2/2) PASS (2/2)
🟢 length length(path) → double precision PASS (2/2) PASS (2/2)
🟢 length length(text) → integer PASS (2/2) PASS (2/2)
🟢 length length(tsvector) → integer PASS (2/2) PASS (2/2)
🟢 lower lower(anymultirange) → anyelement PASS (2/2) PASS (2/2)
🟢 lower lower(anyrange) → anyelement PASS (2/2) PASS (2/2)
🟢 lower lower(text) → text PASS (2/2) PASS (2/2)
🟢 lpad lpad(text, integer) → text PASS (1/1) PASS (1/1)
🟢 lpad lpad(text, integer, text) → text PASS (1/1) PASS (1/1)
🟢 ltrim ltrim(bytea, bytea) → bytea PASS (2/2) PASS (2/2)
🟢 ltrim ltrim(text) → text PASS (1/1) PASS (1/1)
🟢 ltrim ltrim(text, text) → text PASS (1/1) PASS (1/1)
🟢 md5 md5(bytea) → text PASS (2/2) PASS (2/2)
🟢 md5 md5(text) → text PASS (1/1) PASS (1/1)
⚪ normalize normalize(text, text DEFAULT 'NFC'::text) → text UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ octet_length octet_length(bit) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ octet_length octet_length(bytea) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ octet_length octet_length(character) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ octet_length octet_length(text) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ overlay overlay(bit, bit, integer) → bit UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ overlay overlay(bit, bit, integer, integer) → bit UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ overlay overlay(bytea, bytea, integer) → bytea UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ overlay overlay(bytea, bytea, integer, integer) → bytea UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🔴 overlay overlay(text, text, integer) → text ERROR (0/1) ERROR (0/1) PARSE_ERROR
⚪ overlay overlay(text, text, integer, integer) → text UNSUPPORTED UNSUPPORTED PARSE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ position position(bit, bit) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ position position(bytea, bytea) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🔴 position position(text, text) → integer ERROR (0/1) ERROR (0/1) PARSE_ERROR
⚪ quote_ident quote_ident(text) → text UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ quote_literal quote_literal(anyelement) → text UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ quote_literal quote_literal(text) → text UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ quote_nullable quote_nullable(anyelement) → text UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ quote_nullable quote_nullable(text) → text UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ regexp_match regexp_match(text, text) → text[] UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ regexp_match regexp_match(text, text, text) → text[] UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ regexp_matches regexp_matches(text, text) → SETOF text[] UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ regexp_matches regexp_matches(text, text, text) → SETOF text[] UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🟢 regexp_replace regexp_replace(text, text, text) → text PASS (2/2) PASS (2/2)
🟢 regexp_replace regexp_replace(text, text, text, integer) → text PASS (2/2) PASS (2/2)
🟢 regexp_replace regexp_replace(text, text, text, integer, integer) → text PASS (2/2) PASS (2/2)
🟢 regexp_replace regexp_replace(text, text, text, integer, integer, text) → text PASS (1/1) PASS (1/1)
🟢 regexp_replace regexp_replace(text, text, text, text) → text PASS (15/15) PASS (15/15)
⚪ regexp_split_to_array regexp_split_to_array(text, text) → text[] UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ regexp_split_to_array regexp_split_to_array(text, text, text) → text[] UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ regexp_split_to_table regexp_split_to_table(text, text) → SETOF text UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ regexp_split_to_table regexp_split_to_table(text, text, text) → SETOF text UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🟢 repeat repeat(text, integer) → text PASS (1/1) PASS (1/1)
🟢 replace replace(text, text, text) → text PASS (1/1) PASS (1/1)
🟢 reverse reverse(text) → text PASS (1/1) PASS (1/1)
🟢 right right(text, integer) → text PASS (1/1) PASS (1/1)
🟢 rpad rpad(text, integer) → text PASS (1/1) PASS (1/1)
🟢 rpad rpad(text, integer, text) → text PASS (1/1) PASS (1/1)
🟢 rtrim rtrim(bytea, bytea) → bytea PASS (2/2) PASS (2/2)
🟢 rtrim rtrim(text) → text PASS (1/1) PASS (1/1)
🟢 rtrim rtrim(text, text) → text PASS (1/1) PASS (1/1)
🟢 split_part split_part(text, text, integer) → text PASS (1/1) PASS (1/1)
🟢 starts_with starts_with(text, text) → boolean PASS (1/1) PASS (1/1)
🔴 string_to_array string_to_array(text, text) → text[] FAIL (0/1) FAIL (0/1) RESULT_MISMATCH
⚪ string_to_array string_to_array(text, text, text) → text[] UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
🟢 strpos strpos(text, text) → integer PASS (1/1) PASS (1/1)
🟡 substr substr(bytea, integer) → bytea PARTIAL (1/2) PARTIAL (1/2) MISC
🟡 substr substr(bytea, integer, integer) → bytea PARTIAL (1/2) PARTIAL (1/2) MISC
🟢 substr substr(text, integer) → text PASS (1/1) PASS (1/1)
🟢 substr substr(text, integer, integer) → text PASS (1/1) PASS (1/1)
🟡 substring substring(bit, integer) → bit PARTIAL (1/2) PARTIAL (1/2) MISC
🟡 substring substring(bit, integer, integer) → bit PARTIAL (1/2) PARTIAL (1/2) MISC
🟡 substring substring(bytea, integer) → bytea PARTIAL (1/2) PARTIAL (1/2) MISC
🟡 substring substring(bytea, integer, integer) → bytea PARTIAL (1/2) PARTIAL (1/2) MISC
🟢 substring substring(text, integer) → text PASS (2/2) PASS (2/2)
🟢 substring substring(text, integer, integer) → text PASS (2/2) PASS (2/2)
🟡 substring substring(text, text) → text PASS (1/1) ERROR (0/1) MISC
🔴 substring substring(text, text, text) → text ERROR (0/2) ERROR (0/2) PARSE_ERROR, MISC
⚪ to_hex to_hex(bigint) → text UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ to_hex to_hex(integer) → text UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ translate translate(text, text, text) → text UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ unistr unistr(text) → text UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🟢 upper upper(anymultirange) → anyelement PASS (2/2) PASS (2/2)
🟢 upper upper(anyrange) → anyelement PASS (2/2) PASS (2/2)
🟢 upper upper(text) → text PASS (2/2) PASS (2/2)
🟢 encode encode(bytea, text) ? text PASS (6/6) PASS (6/6)

Binary String Functions (9.5)

Reference: PostgreSQL 16 docs

Function Signature TDS Relation Error Category Notes
⚪ convert convert(bytea, name, name) → bytea UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ convert_from convert_from(bytea, name) → text UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ convert_to convert_to(text, name) → bytea UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ get_byte get_byte(bytea, integer) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ set_byte set_byte(bytea, integer, integer) → bytea UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ sha224 sha224(bytea) → bytea UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🔴 sha256 sha256(bytea) → bytea ERROR (0/1) ERROR (0/1) MISC
⚪ sha384 sha384(bytea) → bytea UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ sha512 sha512(bytea) → bytea UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported

Pattern Matching (9.7)

Reference: PostgreSQL 16 docs

Function Signature TDS Relation Error Category Notes
⚪ like like(bytea, bytea) → boolean UNTESTED UNTESTED
⚪ like like(name, text) → boolean UNTESTED UNTESTED
⚪ like like(text, text) → boolean UNTESTED UNTESTED
🟢 regexp_count regexp_count(text, text) → integer PASS (1/1) PASS (1/1)
🟡 regexp_count regexp_count(text, text, integer) → integer PARTIAL (1/2) PARTIAL (1/2) RESULT_MISMATCH
🟢 regexp_count regexp_count(text, text, integer, text) → integer PASS (11/11) PASS (11/11)
🟢 regexp_instr regexp_instr(text, text) → integer PASS (1/1) PASS (1/1)
⚪ regexp_instr regexp_instr(text, text, integer) → integer UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
⚪ regexp_instr regexp_instr(text, text, integer, integer) → integer UNTESTED UNTESTED
⚪ regexp_instr regexp_instr(text, text, integer, integer, integer) → integer UNTESTED UNTESTED
⚪ regexp_instr regexp_instr(text, text, integer, integer, integer, text) → integer UNTESTED UNTESTED
⚪ regexp_instr regexp_instr(text, text, integer, integer, integer, text, integer) → integer UNTESTED UNTESTED
🟢 regexp_like regexp_like(text, text) → boolean PASS (2/2) PASS (2/2)
🟢 regexp_like regexp_like(text, text, text) → boolean PASS (12/12) PASS (12/12)
🟡 regexp_substr regexp_substr(text, text) → text ERROR (0/1) PASS (1/1) MISC
🟡 regexp_substr regexp_substr(text, text, integer) → text FAIL (0/2) PARTIAL (1/2) RESULT_MISMATCH, MISC
🟡 regexp_substr regexp_substr(text, text, integer, integer) → text FAIL (0/4) PARTIAL (1/4) RESULT_MISMATCH, MISC
🟡 regexp_substr regexp_substr(text, text, integer, integer, text) → text PARTIAL (5/11) PASS (11/11) MISC
🟡 regexp_substr regexp_substr(text, text, integer, integer, text, integer) → text ERROR (0/1) PASS (1/1) MISC

Data Type Formatting (9.8)

Reference: PostgreSQL 16 docs

Function Signature TDS Relation Error Category Notes
⚪ to_char to_char(bigint, text) → text UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
⚪ to_char to_char(double precision, text) → text UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
⚪ to_char to_char(integer, text) → text UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
🔴 to_char to_char(interval, text) → text ERROR (0/1) ERROR (0/1) MISC
⚪ to_char to_char(numeric, text) → text UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
🔴 to_char to_char(real, text) → text ERROR (0/1) ERROR (0/1) TYPE_ERROR
🔴 to_char to_char(timestamp with time zone, text) → text ERROR (0/1) ERROR (0/1) TYPE_ERROR
🟢 to_char to_char(timestamp without time zone, text) → text PASS (1/1) PASS (1/1)
⚪ to_date to_date(text, text) → date UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ to_number to_number(text, text) → numeric UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported

Date/Time Functions and Operators (9.9)

Reference: PostgreSQL 16 docs

Function Signature TDS Relation Error Category Notes
⚪ age age(timestamp with time zone) → interval UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ age age(timestamp with time zone, timestamp with time zone) → interval UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ age age(timestamp without time zone) → interval UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ age age(timestamp without time zone, timestamp without time zone) → interval UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ age age(xid) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ clock_timestamp clock_timestamp() → timestamp with time zone UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🟢 date_part date_part(text, date) → double precision PASS (1/1) PASS (1/1)
🟢 date_part date_part(text, interval) → double precision PASS (1/1) PASS (1/1)
🟢 date_part date_part(text, time with time zone) → double precision PASS (1/1) PASS (1/1)
🟢 date_part date_part(text, time without time zone) → double precision PASS (1/1) PASS (1/1)
🔴 date_part date_part(text, timestamp with time zone) → double precision ERROR (0/1) ERROR (0/1) TYPE_ERROR
🟢 date_part date_part(text, timestamp without time zone) → double precision PASS (2/2) PASS (2/2)
🔴 date_trunc date_trunc(text, interval) → interval ERROR (0/1) ERROR (0/1) MISC
🔴 date_trunc date_trunc(text, timestamp with time zone) → timestamp with time zone ERROR (0/1) ERROR (0/1) TYPE_ERROR
🔴 date_trunc date_trunc(text, timestamp with time zone, text) → timestamp with time zone ERROR (0/1) ERROR (0/1) TYPE_ERROR
🟢 date_trunc date_trunc(text, timestamp without time zone) → timestamp without time zone PASS (1/1) PASS (1/1)
🟢 extract extract(text, date) → numeric PASS (1/1) PASS (1/1)
🔴 extract extract(text, interval) → numeric ERROR (0/1) ERROR (0/1) MISC
🔴 extract extract(text, time with time zone) → numeric ERROR (0/1) ERROR (0/1) TYPE_ERROR
🔴 extract extract(text, time without time zone) → numeric ERROR (0/1) ERROR (0/1) TYPE_ERROR
🔴 extract extract(text, timestamp with time zone) → numeric ERROR (0/1) ERROR (0/1) TYPE_ERROR
🟢 extract extract(text, timestamp without time zone) → numeric PASS (1/1) PASS (1/1)
⚪ isfinite isfinite(date) → boolean UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ isfinite isfinite(interval) → boolean UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ isfinite isfinite(timestamp with time zone) → boolean UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ isfinite isfinite(timestamp without time zone) → boolean UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ justify_days justify_days(interval) → interval UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ justify_hours justify_hours(interval) → interval UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ justify_interval justify_interval(interval) → interval UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🟢 make_date make_date(year integer, month integer, day integer) → date PASS (1/1) PASS (1/1)
🔴 make_interval make_interval(years integer DEFAULT 0, months integer DEFAULT 0, weeks integer DEFAULT 0, days integer DEFAULT 0, hours integer DEFAULT 0, mins integer DEFAULT 0, secs double precision DEFAULT 0.0) → interval ERROR (0/1) ERROR (0/1) PARSE_ERROR
⚪ make_time make_time(hour integer, min integer, sec double precision) → time without time zone UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🟢 make_timestamp make_timestamp(year integer, month integer, mday integer, hour integer, min integer, sec double precision) → timestamp without time zone PASS (1/1) PASS (1/1)
⚪ make_timestamptz make_timestamptz(year integer, month integer, mday integer, hour integer, min integer, sec double precision) → timestamp with time zone UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ make_timestamptz make_timestamptz(year integer, month integer, mday integer, hour integer, min integer, sec double precision, timezone text) → timestamp with time zone UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ now now() → timestamp with time zone UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ statement_timestamp statement_timestamp() → timestamp with time zone UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ timeofday timeofday() → text UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ to_timestamp to_timestamp(double precision) → timestamp with time zone UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ to_timestamp to_timestamp(text, text) → timestamp with time zone UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ transaction_timestamp transaction_timestamp() → timestamp with time zone UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported

Conditional Expressions (9.18)

Reference: PostgreSQL 16 docs

Function Signature TDS Relation Error Category Notes
⚪ num_nonnulls num_nonnulls(VARIADIC "any") → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ num_nulls num_nulls(VARIADIC "any") → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ nullif nullif(varchar, varchar) → varchar UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🟢 least least(VARIADIC "any") → "any" PASS (3/3) PASS (3/3)
🟡 coalesce coalesce(VARIADIC "any") → "any" PARTIAL (6/7) PARTIAL (6/7) MISC
🟢 greatest greatest(VARIADIC "any") → "any" PASS (3/3) PASS (3/3)
⚪ nullif nullif(integer, integer) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported

JSON Functions and Operators (9.16)

Reference: PostgreSQL 16 docs

Function Signature TDS Relation Error Category Notes
⚪ array_to_json array_to_json(anyarray) → json UNTESTED UNTESTED
⚪ array_to_json array_to_json(anyarray, boolean) → json UNTESTED UNTESTED
⚪ json_array_elements json_array_elements(from_json json, OUT value json) → SETOF json UNTESTED UNTESTED
⚪ json_array_elements_text json_array_elements_text(from_json json, OUT value text) → SETOF text UNTESTED UNTESTED
⚪ json_array_length json_array_length(json) → integer UNTESTED UNTESTED
⚪ json_build_array json_build_array() → json UNTESTED UNTESTED
⚪ json_build_array json_build_array(VARIADIC "any") → json UNTESTED UNTESTED
⚪ json_build_object json_build_object() → json UNTESTED UNTESTED
⚪ json_build_object json_build_object(VARIADIC "any") → json UNTESTED UNTESTED
⚪ json_each json_each(from_json json, OUT key text, OUT value json) → SETOF record UNTESTED UNTESTED
⚪ json_each_text json_each_text(from_json json, OUT key text, OUT value text) → SETOF record UNTESTED UNTESTED
⚪ json_extract_path json_extract_path(from_json json, VARIADIC path_elems text[]) → json UNTESTED UNTESTED
⚪ json_extract_path_text json_extract_path_text(from_json json, VARIADIC path_elems text[]) → text UNTESTED UNTESTED
⚪ json_object json_object(text[]) → json UNTESTED UNTESTED
⚪ json_object json_object(text[], text[]) → json UNTESTED UNTESTED
⚪ json_object_keys json_object_keys(json) → SETOF text UNTESTED UNTESTED
⚪ json_strip_nulls json_strip_nulls(json) → json UNTESTED UNTESTED
⚪ json_typeof json_typeof(json) → text UNTESTED UNTESTED
⚪ jsonb_array_elements jsonb_array_elements(from_json jsonb, OUT value jsonb) → SETOF jsonb UNTESTED UNTESTED
⚪ jsonb_array_elements_text jsonb_array_elements_text(from_json jsonb, OUT value text) → SETOF text UNTESTED UNTESTED
⚪ jsonb_array_length jsonb_array_length(jsonb) → integer UNTESTED UNTESTED
⚪ jsonb_build_array jsonb_build_array() → jsonb UNTESTED UNTESTED
⚪ jsonb_build_array jsonb_build_array(VARIADIC "any") → jsonb UNTESTED UNTESTED
⚪ jsonb_build_object jsonb_build_object() → jsonb UNTESTED UNTESTED
⚪ jsonb_build_object jsonb_build_object(VARIADIC "any") → jsonb UNTESTED UNTESTED
⚪ jsonb_each jsonb_each(from_json jsonb, OUT key text, OUT value jsonb) → SETOF record UNTESTED UNTESTED
⚪ jsonb_each_text jsonb_each_text(from_json jsonb, OUT key text, OUT value text) → SETOF record UNTESTED UNTESTED
⚪ jsonb_extract_path jsonb_extract_path(from_json jsonb, VARIADIC path_elems text[]) → jsonb UNTESTED UNTESTED
⚪ jsonb_extract_path_text jsonb_extract_path_text(from_json jsonb, VARIADIC path_elems text[]) → text UNTESTED UNTESTED
⚪ jsonb_insert jsonb_insert(jsonb_in jsonb, path text[], replacement jsonb, insert_after boolean DEFAULT false) → jsonb UNTESTED UNTESTED
⚪ jsonb_object jsonb_object(text[]) → jsonb UNTESTED UNTESTED
⚪ jsonb_object jsonb_object(text[], text[]) → jsonb UNTESTED UNTESTED
⚪ jsonb_object_keys jsonb_object_keys(jsonb) → SETOF text UNTESTED UNTESTED
⚪ jsonb_path_exists jsonb_path_exists(target jsonb, path jsonpath, vars jsonb DEFAULT '{}'::jsonb, silent boolean DEFAULT false) → boolean UNTESTED UNTESTED
⚪ jsonb_path_match jsonb_path_match(target jsonb, path jsonpath, vars jsonb DEFAULT '{}'::jsonb, silent boolean DEFAULT false) → boolean UNTESTED UNTESTED
⚪ jsonb_path_query jsonb_path_query(target jsonb, path jsonpath, vars jsonb DEFAULT '{}'::jsonb, silent boolean DEFAULT false) → SETOF jsonb UNTESTED UNTESTED
⚪ jsonb_path_query_array jsonb_path_query_array(target jsonb, path jsonpath, vars jsonb DEFAULT '{}'::jsonb, silent boolean DEFAULT false) → jsonb UNTESTED UNTESTED
⚪ jsonb_pretty jsonb_pretty(jsonb) → text UNTESTED UNTESTED
⚪ jsonb_set jsonb_set(jsonb_in jsonb, path text[], replacement jsonb, create_if_missing boolean DEFAULT true) → jsonb UNTESTED UNTESTED
⚪ jsonb_strip_nulls jsonb_strip_nulls(jsonb) → jsonb UNTESTED UNTESTED
⚪ jsonb_typeof jsonb_typeof(jsonb) → text UNTESTED UNTESTED
⚪ row_to_json row_to_json(record) → json UNTESTED UNTESTED
⚪ row_to_json row_to_json(record, boolean) → json UNTESTED UNTESTED
⚪ to_json to_json(anyelement) → json UNTESTED UNTESTED
⚪ to_jsonb to_jsonb(anyelement) → jsonb UNTESTED UNTESTED
⚪ json_typeof json_typeof(json) ? text UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_strip_nulls jsonb_strip_nulls(jsonb) ? jsonb UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_each_text jsonb_each_text(from_json jsonb, OUT key text, OUT value text) ? SETOF record UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ row_to_json row_to_json(record) ? json UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ array_to_json array_to_json(anyarray, boolean) ? json UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ json_object json_object(text[]) ? json UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ row_to_json row_to_json(record, boolean) ? json UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_extract_path_text jsonb_extract_path_text(from_json jsonb, VARIADIC path_elems text[]) ? text UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_path_query_array jsonb_path_query_array(target jsonb, path jsonpath, vars jsonb DEFAULT '{}'::jsonb, silent boolean DEFAULT false) ? jsonb UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
🟡 json_extract_path_text json_extract_path_text(from_json json, VARIADIC path_elems text[]) ? text ERROR (0/1) PASS (1/1) TYPE_ERROR
⚪ jsonb_object_keys jsonb_object_keys(jsonb) ? SETOF text UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_agg jsonb_agg(anyelement) ? jsonb UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_build_object jsonb_build_object() ? jsonb UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ json_each_text json_each_text(from_json json, OUT key text, OUT value text) ? SETOF record UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_extract_path jsonb_extract_path(from_json jsonb, VARIADIC path_elems text[]) ? jsonb UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_path_query jsonb_path_query(target jsonb, path jsonpath, vars jsonb DEFAULT '{}'::jsonb, silent boolean DEFAULT false) ? SETOF jsonb UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
🔴 json_extract_path json_extract_path(from_json json, VARIADIC path_elems text[]) ? json ERROR (0/1) FAIL (0/1) TYPE_ERROR, RESULT_MISMATCH
⚪ jsonb_path_exists jsonb_path_exists(target jsonb, path jsonpath, vars jsonb DEFAULT '{}'::jsonb, silent boolean DEFAULT false) ? boolean UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ array_to_json array_to_json(anyarray) ? json UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_set jsonb_set(jsonb_in jsonb, path text[], replacement jsonb, create_if_missing boolean DEFAULT true) ? jsonb UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ to_jsonb to_jsonb(anyelement) ? jsonb UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_path_match jsonb_path_match(target jsonb, path jsonpath, vars jsonb DEFAULT '{}'::jsonb, silent boolean DEFAULT false) ? boolean UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_build_object jsonb_build_object(VARIADIC "any") ? jsonb UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ json_strip_nulls json_strip_nulls(json) ? json UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_pretty jsonb_pretty(jsonb) ? text UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ json_array_length json_array_length(json) ? integer UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_array_length jsonb_array_length(jsonb) ? integer UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_build_array jsonb_build_array(VARIADIC "any") ? jsonb UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_object_agg jsonb_object_agg(key "any", value "any") ? jsonb UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ json_array_elements json_array_elements(from_json json, OUT value json) ? SETOF json UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_object jsonb_object(text[]) ? jsonb UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ json_object_agg json_object_agg(key "any", value "any") ? json UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_object jsonb_object(text[], text[]) ? jsonb UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ json_agg json_agg(anyelement) ? json UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_array_elements jsonb_array_elements(from_json jsonb, OUT value jsonb) ? SETOF jsonb UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ to_json to_json(anyelement) ? json UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ json_build_array json_build_array() ? json UNSUPPORTED UNSUPPORTED TYPE_ERROR, UNSUPPORTED_SYNTAX Unsupported feature
⚪ jsonb_build_array jsonb_build_array() ? jsonb UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ json_build_object json_build_object() ? json UNSUPPORTED UNSUPPORTED TYPE_ERROR, UNSUPPORTED_SYNTAX Unsupported feature
⚪ json_array_elements_text json_array_elements_text(from_json json, OUT value text) ? SETOF text UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ json_object_keys json_object_keys(json) ? SETOF text UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ json_build_array json_build_array(VARIADIC "any") ? json UNSUPPORTED UNSUPPORTED TYPE_ERROR, UNSUPPORTED_SYNTAX Unsupported feature
⚪ jsonb_insert jsonb_insert(jsonb_in jsonb, path text[], replacement jsonb, insert_after boolean DEFAULT false) ? jsonb UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ json_object json_object(text[], text[]) ? json UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ json_each json_each(from_json json, OUT key text, OUT value json) ? SETOF record UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ json_build_object json_build_object(VARIADIC "any") ? json UNSUPPORTED UNSUPPORTED TYPE_ERROR, UNSUPPORTED_SYNTAX Unsupported feature
⚪ jsonb_array_elements_text jsonb_array_elements_text(from_json jsonb, OUT value text) ? SETOF text UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_each jsonb_each(from_json jsonb, OUT key text, OUT value jsonb) ? SETOF record UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_typeof jsonb_typeof(jsonb) ? text UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported

Array Functions and Operators (9.19)

Reference: PostgreSQL 16 docs

Function Signature TDS Relation Error Category Notes
⚪ array_append array_append(anycompatiblearray, anycompatible) → anycompatiblearray UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ array_cat array_cat(anycompatiblearray, anycompatiblearray) → anycompatiblearray UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ array_dims array_dims(anyarray) → text UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ array_fill array_fill(anyelement, integer[]) → anyarray UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ array_fill array_fill(anyelement, integer[], integer[]) → anyarray UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🟢 array_length array_length(anyarray, integer) → integer PASS (1/1) PASS (1/1)
⚪ array_lower array_lower(anyarray, integer) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ array_ndims array_ndims(anyarray) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ array_position array_position(anycompatiblearray, anycompatible) → integer UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX, RESULT_MISMATCH Unsupported feature
⚪ array_position array_position(anycompatiblearray, anycompatible, integer) → integer UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
⚪ array_positions array_positions(anycompatiblearray, anycompatible) → integer[] UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ array_prepend array_prepend(anycompatible, anycompatiblearray) → anycompatiblearray UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ array_remove array_remove(anycompatiblearray, anycompatible) → anycompatiblearray UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ array_replace array_replace(anycompatiblearray, anycompatible, anycompatible) → anycompatiblearray UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ array_sample array_sample(anyarray, integer) → anyarray UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ array_shuffle array_shuffle(anyarray) → anyarray UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ array_upper array_upper(anyarray, integer) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ cardinality cardinality(anyarray) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ unnest unnest(anyarray) → SETOF anyelement UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ unnest unnest(anymultirange) → SETOF anyrange UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ unnest unnest(tsvector tsvector, OUT lexeme text, OUT positions smallint[], OUT weights text[]) → SETOF record UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported

Aggregate Functions (9.21)

Reference: PostgreSQL 16 docs

Function Signature TDS Relation Error Category Notes
⚪ any_value any_value(anyelement) → anyelement UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ array_agg array_agg(anyarray) → anyarray UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ array_agg array_agg(anynonarray) → anyarray UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🟢 avg avg(bigint) → numeric PASS (1/1) PASS (1/1)
🟢 avg avg(double precision) → double precision PASS (1/1) PASS (1/1)
🟢 avg avg(integer) → numeric PASS (1/1) PASS (1/1)
⚪ avg avg(interval) → interval UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
🟢 avg avg(numeric) → numeric PASS (1/1) PASS (1/1)
🔴 avg avg(real) → double precision ERROR (0/1) ERROR (0/1) TYPE_ERROR
🟢 avg avg(smallint) → numeric PASS (1/1) PASS (1/1)
⚪ bit_and bit_and(bigint) → bigint UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ bit_and bit_and(bit) → bit UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ bit_and bit_and(integer) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ bit_and bit_and(smallint) → smallint UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ bit_or bit_or(bigint) → bigint UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ bit_or bit_or(bit) → bit UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ bit_or bit_or(integer) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ bit_or bit_or(smallint) → smallint UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ bit_xor bit_xor(bigint) → bigint UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ bit_xor bit_xor(bit) → bit UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ bit_xor bit_xor(integer) → integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ bit_xor bit_xor(smallint) → smallint UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🟢 bool_and bool_and(boolean) → boolean PASS (1/1) PASS (1/1)
🟢 bool_or bool_or(boolean) → boolean PASS (1/1) PASS (1/1)
⚪ corr corr(double precision, double precision) → double precision UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🟢 count count() → bigint PASS (2/2) PASS (2/2)
🟢 count count("any") → bigint PASS (2/2) PASS (2/2)
⚪ covar_pop covar_pop(double precision, double precision) → double precision UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ covar_samp covar_samp(double precision, double precision) → double precision UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ cume_dist cume_dist(VARIADIC "any" ORDER BY VARIADIC "any") → double precision UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX, MISC Unsupported feature
⚪ dense_rank dense_rank(VARIADIC "any" ORDER BY VARIADIC "any") → bigint UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX, MISC Unsupported feature
🟢 every every(boolean) → boolean PASS (1/1) PASS (1/1)
⚪ json_agg json_agg(anyelement) → json UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ json_agg_strict json_agg_strict(anyelement) → json UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ json_object_agg json_object_agg("any", "any") → json UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ json_object_agg_strict json_object_agg_strict("any", "any") → json UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ json_object_agg_unique json_object_agg_unique("any", "any") → json UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ json_object_agg_unique_strict json_object_agg_unique_strict("any", "any") → json UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_agg jsonb_agg(anyelement) → jsonb UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_agg_strict jsonb_agg_strict(anyelement) → jsonb UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_object_agg jsonb_object_agg("any", "any") → jsonb UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_object_agg_strict jsonb_object_agg_strict("any", "any") → jsonb UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_object_agg_unique jsonb_object_agg_unique("any", "any") → jsonb UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ jsonb_object_agg_unique_strict jsonb_object_agg_unique_strict("any", "any") → jsonb UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ max max(anyarray) → anyarray UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
⚪ max max(anyenum) → anyenum UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
🟢 max max(bigint) → bigint PASS (1/1) PASS (1/1)
🟢 max max(character) → character PASS (2/2) PASS (2/2)
🟢 max max(date) → date PASS (1/1) PASS (1/1)
🟢 max max(double precision) → double precision PASS (1/1) PASS (1/1)
⚪ max max(inet) → inet UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
🟢 max max(integer) → integer PASS (1/1) PASS (1/1)
⚪ max max(interval) → interval UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
⚪ max max(money) → money UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
🟢 max max(numeric) → numeric PASS (1/1) PASS (1/1)
⚪ max max(oid) → oid UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
⚪ max max(pg_lsn) → pg_lsn UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
🔴 max max(real) → real ERROR (0/1) ERROR (0/1) TYPE_ERROR
🟢 max max(smallint) → smallint PASS (1/1) PASS (1/1)
🟢 max max(text) → text PASS (1/1) PASS (1/1)
⚪ max max(tid) → tid UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
🟢 max max(time with time zone) → time with time zone PASS (2/2) PASS (2/2)
🟢 max max(time without time zone) → time without time zone PASS (2/2) PASS (2/2)
🔴 max max(timestamp with time zone) → timestamp with time zone ERROR (0/1) ERROR (0/1) TYPE_ERROR
🟢 max max(timestamp without time zone) → timestamp without time zone PASS (1/1) PASS (1/1)
⚪ max max(xid8) → xid8 UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
⚪ min min(anyarray) → anyarray UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
⚪ min min(anyenum) → anyenum UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
🟢 min min(bigint) → bigint PASS (1/1) PASS (1/1)
🟢 min min(character) → character PASS (2/2) PASS (2/2)
🟢 min min(date) → date PASS (1/1) PASS (1/1)
🟢 min min(double precision) → double precision PASS (1/1) PASS (1/1)
⚪ min min(inet) → inet UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
🟢 min min(integer) → integer PASS (1/1) PASS (1/1)
⚪ min min(interval) → interval UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
⚪ min min(money) → money UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
🟢 min min(numeric) → numeric PASS (1/1) PASS (1/1)
⚪ min min(oid) → oid UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
⚪ min min(pg_lsn) → pg_lsn UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
🔴 min min(real) → real ERROR (0/1) ERROR (0/1) TYPE_ERROR
🟢 min min(smallint) → smallint PASS (1/1) PASS (1/1)
🟢 min min(text) → text PASS (1/1) PASS (1/1)
⚪ min min(tid) → tid UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
🟢 min min(time with time zone) → time with time zone PASS (2/2) PASS (2/2)
🟢 min min(time without time zone) → time without time zone PASS (2/2) PASS (2/2)
🔴 min min(timestamp with time zone) → timestamp with time zone ERROR (0/1) ERROR (0/1) TYPE_ERROR
🟢 min min(timestamp without time zone) → timestamp without time zone PASS (1/1) PASS (1/1)
⚪ min min(xid8) → xid8 UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
⚪ mode mode(ORDER BY anyelement) → anyelement UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ percent_rank percent_rank(VARIADIC "any" ORDER BY VARIADIC "any") → double precision UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX, MISC Unsupported feature
🟢 percentile_cont percentile_cont(double precision ORDER BY double precision) → double precision PASS (2/2) PASS (2/2)
🟢 percentile_cont percentile_cont(double precision ORDER BY interval) → interval PASS (2/2) PASS (2/2)
🟢 percentile_cont percentile_cont(double precision[] ORDER BY double precision) → double precision[] PASS (2/2) PASS (2/2)
🟢 percentile_cont percentile_cont(double precision[] ORDER BY interval) → interval[] PASS (2/2) PASS (2/2)
🟡 percentile_disc percentile_disc(double precision ORDER BY anyelement) → anyelement PARTIAL (1/2) PARTIAL (1/2) MISC
🟡 percentile_disc percentile_disc(double precision[] ORDER BY anyelement) → anyarray PARTIAL (1/2) PARTIAL (1/2) MISC
⚪ range_agg range_agg(anymultirange) → anymultirange UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ range_agg range_agg(anyrange) → anymultirange UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ range_intersect_agg range_intersect_agg(anymultirange) → anymultirange UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ range_intersect_agg range_intersect_agg(anyrange) → anyrange UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ rank rank(VARIADIC "any" ORDER BY VARIADIC "any") → bigint UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX, MISC Unsupported feature
⚪ regr_avgx regr_avgx(double precision, double precision) → double precision UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ regr_avgy regr_avgy(double precision, double precision) → double precision UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ regr_count regr_count(double precision, double precision) → bigint UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ regr_intercept regr_intercept(double precision, double precision) → double precision UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ regr_r2 regr_r2(double precision, double precision) → double precision UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ regr_slope regr_slope(double precision, double precision) → double precision UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ regr_sxx regr_sxx(double precision, double precision) → double precision UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ regr_sxy regr_sxy(double precision, double precision) → double precision UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ regr_syy regr_syy(double precision, double precision) → double precision UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
🟢 stddev stddev(bigint) → numeric PASS (1/1) PASS (1/1)
🟢 stddev stddev(double precision) → double precision PASS (1/1) PASS (1/1)
🟢 stddev stddev(integer) → numeric PASS (1/1) PASS (1/1)
🟢 stddev stddev(numeric) → numeric PASS (1/1) PASS (1/1)
🟢 stddev stddev(real) → double precision PASS (1/1) PASS (1/1)
🟢 stddev stddev(smallint) → numeric PASS (1/1) PASS (1/1)
🟢 stddev_pop stddev_pop(bigint) → numeric PASS (1/1) PASS (1/1)
🟢 stddev_pop stddev_pop(double precision) → double precision PASS (1/1) PASS (1/1)
🟢 stddev_pop stddev_pop(integer) → numeric PASS (1/1) PASS (1/1)
🟢 stddev_pop stddev_pop(numeric) → numeric PASS (1/1) PASS (1/1)
🟢 stddev_pop stddev_pop(real) → double precision PASS (1/1) PASS (1/1)
🟢 stddev_pop stddev_pop(smallint) → numeric PASS (1/1) PASS (1/1)
🟢 stddev_samp stddev_samp(bigint) → numeric PASS (1/1) PASS (1/1)
🟢 stddev_samp stddev_samp(double precision) → double precision PASS (1/1) PASS (1/1)
🟢 stddev_samp stddev_samp(integer) → numeric PASS (1/1) PASS (1/1)
🟢 stddev_samp stddev_samp(numeric) → numeric PASS (1/1) PASS (1/1)
🟢 stddev_samp stddev_samp(real) → double precision PASS (1/1) PASS (1/1)
🟢 stddev_samp stddev_samp(smallint) → numeric PASS (1/1) PASS (1/1)
🟡 string_agg string_agg(bytea, bytea) → bytea PARTIAL (1/2) PARTIAL (1/2) MISC
⚪ string_agg string_agg(text, text) → text UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
⚪ sum sum(bigint) → numeric UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
🟢 sum sum(double precision) → double precision PASS (1/1) PASS (1/1)
🟢 sum sum(integer) → bigint PASS (1/1) PASS (1/1)
⚪ sum sum(interval) → interval UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
🟡 sum sum(money) → money PARTIAL (1/2) PARTIAL (1/2) MISC
🟢 sum sum(numeric) → numeric PASS (1/1) PASS (1/1)
🔴 sum sum(real) → real ERROR (0/1) ERROR (0/1) TYPE_ERROR
🟢 sum sum(smallint) → bigint PASS (1/1) PASS (1/1)
🟢 var_pop var_pop(bigint) → numeric PASS (1/1) PASS (1/1)
🟢 var_pop var_pop(double precision) → double precision PASS (1/1) PASS (1/1)
🟢 var_pop var_pop(integer) → numeric PASS (1/1) PASS (1/1)
🟢 var_pop var_pop(numeric) → numeric PASS (1/1) PASS (1/1)
🟢 var_pop var_pop(real) → double precision PASS (1/1) PASS (1/1)
🟢 var_pop var_pop(smallint) → numeric PASS (1/1) PASS (1/1)
🟢 var_samp var_samp(bigint) → numeric PASS (1/1) PASS (1/1)
🟢 var_samp var_samp(double precision) → double precision PASS (1/1) PASS (1/1)
🟢 var_samp var_samp(integer) → numeric PASS (1/1) PASS (1/1)
🟢 var_samp var_samp(numeric) → numeric PASS (1/1) PASS (1/1)
🟢 var_samp var_samp(real) → double precision PASS (1/1) PASS (1/1)
🟢 var_samp var_samp(smallint) → numeric PASS (1/1) PASS (1/1)
🟢 variance variance(bigint) → numeric PASS (1/1) PASS (1/1)
🟢 variance variance(double precision) → double precision PASS (1/1) PASS (1/1)
🟢 variance variance(integer) → numeric PASS (1/1) PASS (1/1)
🟢 variance variance(numeric) → numeric PASS (1/1) PASS (1/1)
🟢 variance variance(real) → double precision PASS (1/1) PASS (1/1)
🟢 variance variance(smallint) → numeric PASS (1/1) PASS (1/1)
⚪ xmlagg xmlagg(xml) → xml UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported

Window Functions (9.22)

Reference: PostgreSQL 16 docs

Function Signature TDS Relation Error Category Notes
⚪ cume_dist cume_dist() → double precision UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
🟢 dense_rank dense_rank() → bigint PASS (1/1) PASS (1/1)
⚪ first_value first_value(anyelement) → anyelement UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
⚪ lag lag(anycompatible, integer, anycompatible) → anycompatible UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
⚪ lag lag(anyelement) → anyelement UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
⚪ lag lag(anyelement, integer) → anyelement UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
⚪ last_value last_value(anyelement) → anyelement UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX, MISC Unsupported feature
⚪ lead lead(anycompatible, integer, anycompatible) → anycompatible UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
⚪ lead lead(anyelement) → anyelement UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
⚪ lead lead(anyelement, integer) → anyelement UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
⚪ nth_value nth_value(anyelement, integer) → anyelement UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
⚪ ntile ntile(integer) → integer UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
⚪ percent_rank percent_rank() → double precision UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
🟢 rank rank() → bigint PASS (1/1) PASS (1/1)
🟢 row_number row_number() → bigint PASS (1/1) PASS (1/1)

Network Address Functions (9.12)

Reference: PostgreSQL 16 docs

Function Signature TDS Relation Error Category Notes
⚪ abbrev abbrev(cidr) → text UNSUPPORTED UNSUPPORTED
⚪ abbrev abbrev(inet) → text UNSUPPORTED UNSUPPORTED
⚪ broadcast broadcast(inet) → inet UNSUPPORTED UNSUPPORTED
⚪ family family(inet) → integer UNSUPPORTED UNSUPPORTED
⚪ host host(inet) → text UNSUPPORTED UNSUPPORTED
⚪ hostmask hostmask(inet) → inet UNSUPPORTED UNSUPPORTED
⚪ inet_client_addr inet_client_addr() → inet UNSUPPORTED UNSUPPORTED
⚪ inet_client_port inet_client_port() → integer UNSUPPORTED UNSUPPORTED
⚪ inet_server_addr inet_server_addr() → inet UNSUPPORTED UNSUPPORTED
⚪ inet_server_port inet_server_port() → integer UNSUPPORTED UNSUPPORTED
⚪ masklen masklen(inet) → integer UNSUPPORTED UNSUPPORTED
⚪ netmask netmask(inet) → inet UNSUPPORTED UNSUPPORTED
⚪ network network(inet) → cidr UNSUPPORTED UNSUPPORTED
⚪ set_masklen set_masklen(cidr, integer) → cidr UNSUPPORTED UNSUPPORTED
⚪ set_masklen set_masklen(inet, integer) → inet UNSUPPORTED UNSUPPORTED
⚪ text text("char") → text UNSUPPORTED UNSUPPORTED
⚪ text text(boolean) → text UNSUPPORTED UNSUPPORTED
⚪ text text(character) → text UNSUPPORTED UNSUPPORTED
⚪ text text(inet) → text UNSUPPORTED UNSUPPORTED
⚪ text text(name) → text UNSUPPORTED UNSUPPORTED
⚪ text text(xml) → text UNSUPPORTED UNSUPPORTED

System Information Functions (9.26)

Reference: PostgreSQL 16 docs

Function Signature TDS Relation Error Category Notes
⚪ col_description col_description(oid, integer) → text UNSUPPORTED UNSUPPORTED
⚪ current_database current_database() → name UNSUPPORTED UNSUPPORTED
⚪ current_query current_query() → text UNSUPPORTED UNSUPPORTED
⚪ current_schema current_schema() → name UNSUPPORTED UNSUPPORTED
⚪ current_schemas current_schemas(boolean) → name[] UNSUPPORTED UNSUPPORTED
⚪ current_user current_user() → name UNSUPPORTED UNSUPPORTED
⚪ has_column_privilege has_column_privilege(name, oid, smallint, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_column_privilege has_column_privilege(name, oid, text, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_column_privilege has_column_privilege(name, text, smallint, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_column_privilege has_column_privilege(name, text, text, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_column_privilege has_column_privilege(oid, oid, smallint, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_column_privilege has_column_privilege(oid, oid, text, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_column_privilege has_column_privilege(oid, smallint, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_column_privilege has_column_privilege(oid, text, smallint, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_column_privilege has_column_privilege(oid, text, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_column_privilege has_column_privilege(oid, text, text, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_column_privilege has_column_privilege(text, smallint, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_column_privilege has_column_privilege(text, text, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_database_privilege has_database_privilege(name, oid, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_database_privilege has_database_privilege(name, text, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_database_privilege has_database_privilege(oid, oid, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_database_privilege has_database_privilege(oid, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_database_privilege has_database_privilege(oid, text, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_database_privilege has_database_privilege(text, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_schema_privilege has_schema_privilege(name, oid, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_schema_privilege has_schema_privilege(name, text, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_schema_privilege has_schema_privilege(oid, oid, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_schema_privilege has_schema_privilege(oid, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_schema_privilege has_schema_privilege(oid, text, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_schema_privilege has_schema_privilege(text, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_table_privilege has_table_privilege(name, oid, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_table_privilege has_table_privilege(name, text, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_table_privilege has_table_privilege(oid, oid, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_table_privilege has_table_privilege(oid, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_table_privilege has_table_privilege(oid, text, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ has_table_privilege has_table_privilege(text, text) → boolean UNSUPPORTED UNSUPPORTED
⚪ obj_description obj_description(oid) → text UNSUPPORTED UNSUPPORTED
⚪ obj_description obj_description(oid, name) → text UNSUPPORTED UNSUPPORTED
⚪ session_user session_user() → name UNSUPPORTED UNSUPPORTED
⚪ shobj_description shobj_description(oid, name) → text UNSUPPORTED UNSUPPORTED
⚪ version version() → text UNSUPPORTED UNSUPPORTED

Sequence Manipulation Functions (9.17)

Reference: PostgreSQL 16 docs

Function Signature TDS Relation Error Category Notes
🔴 currval currval(regclass) → bigint ERROR (0/1) ERROR (0/1) MISC
🔴 lastval lastval() → bigint ERROR (0/1) ERROR (0/1) MISC
🔴 nextval nextval(regclass) → bigint ERROR (0/1) ERROR (0/1) MISC
🔴 setval setval(regclass, bigint) → bigint ERROR (0/1) ERROR (0/1) MISC
🔴 setval setval(regclass, bigint, boolean) → bigint ERROR (0/1) ERROR (0/1) MISC

Set Returning Functions (9.25)

Reference: PostgreSQL 16 docs

Function Signature TDS Relation Error Category Notes
⚪ generate_series generate_series(bigint, bigint) → SETOF bigint UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ generate_series generate_series(bigint, bigint, bigint) → SETOF bigint UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ generate_series generate_series(integer, integer) → SETOF integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ generate_series generate_series(integer, integer, integer) → SETOF integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ generate_series generate_series(numeric, numeric) → SETOF numeric UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ generate_series generate_series(numeric, numeric, numeric) → SETOF numeric UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ generate_series generate_series(timestamp with time zone, timestamp with time zone, interval) → SETOF timestamp with time zone UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ generate_series generate_series(timestamp with time zone, timestamp with time zone, interval, text) → SETOF timestamp with time zone UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ generate_series generate_series(timestamp without time zone, timestamp without time zone, interval) → SETOF timestamp without time zone UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ generate_subscripts generate_subscripts(anyarray, integer) → SETOF integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported
⚪ generate_subscripts generate_subscripts(anyarray, integer, boolean) → SETOF integer UNSUPPORTED UNSUPPORTED FUNCTION_NOT_SUPPORTED Function not supported

Cryptographic Functions (pgcrypto)

Reference: PostgreSQL 16 docs

Function Signature TDS Relation Error Category Notes
⚪ armor armor(bytea) → text UNTESTED UNTESTED
⚪ armor armor(bytea, text[], text[]) → text UNTESTED UNTESTED
⚪ crypt crypt(text, text) → text UNTESTED UNTESTED
⚪ dearmor dearmor(text) → bytea UNTESTED UNTESTED
⚪ digest digest(bytea, text) → bytea UNTESTED UNTESTED
⚪ digest digest(text, text) → bytea UNTESTED UNTESTED
⚪ gen_random_bytes gen_random_bytes(integer) → bytea UNTESTED UNTESTED
⚪ gen_random_uuid gen_random_uuid() → uuid UNTESTED UNTESTED
⚪ gen_random_uuid gen_random_uuid() → uuid UNTESTED UNTESTED
⚪ gen_salt gen_salt(text) → text UNTESTED UNTESTED
⚪ gen_salt gen_salt(text, integer) → text UNTESTED UNTESTED
⚪ hmac hmac(bytea, bytea, text) → bytea UNTESTED UNTESTED
⚪ hmac hmac(text, text, text) → bytea UNTESTED UNTESTED
⚪ pgp_pub_decrypt pgp_pub_decrypt(bytea, bytea) → text UNTESTED UNTESTED
⚪ pgp_pub_decrypt pgp_pub_decrypt(bytea, bytea, text) → text UNTESTED UNTESTED
⚪ pgp_pub_decrypt pgp_pub_decrypt(bytea, bytea, text, text) → text UNTESTED UNTESTED
⚪ pgp_pub_encrypt pgp_pub_encrypt(text, bytea) → bytea UNTESTED UNTESTED
⚪ pgp_pub_encrypt pgp_pub_encrypt(text, bytea, text) → bytea UNTESTED UNTESTED
⚪ pgp_sym_decrypt pgp_sym_decrypt(bytea, text) → text UNTESTED UNTESTED
⚪ pgp_sym_decrypt pgp_sym_decrypt(bytea, text, text) → text UNTESTED UNTESTED
⚪ pgp_sym_encrypt pgp_sym_encrypt(text, text) → bytea UNTESTED UNTESTED
⚪ pgp_sym_encrypt pgp_sym_encrypt(text, text, text) → bytea UNTESTED UNTESTED
🔴 digest digest(text, text) ? bytea ERROR (0/6) ERROR (0/6) MISC

Other Functions

Function Signature TDS Relation Error Category Notes
🟢 TIMESTAMP 'YYYY-MM-DDTHH:MI:SS' TIMESTAMP 'YYYY-MM-DDTHH:MI:SS' PASS (1/1) PASS (1/1)
🔴 'string'::timestamptz 'string'::timestamptz ERROR (0/1) ERROR (0/1) TYPE_ERROR
🟢 DATE 'YYYY-M-D' DATE 'YYYY-M-D' PASS (1/1) PASS (1/1)
🟢 CAST CAST('string' AS date) PASS (1/1) PASS (1/1)
🟢 DATE 'YYYY-MM-DD' DATE 'YYYY-MM-DD' PASS (1/1) PASS (1/1)
⚪ TIMESTAMP 'infinity' TIMESTAMP 'infinity' UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
🟢 DATE 'Mon DD, YYYY' DATE 'Mon DD, YYYY' PASS (1/1) PASS (1/1)
🟢 DATE 'far future' DATE 'far future' PASS (1/1) PASS (1/1)
🟢 TIMESTAMP 'SS.S' TIMESTAMP 'SS.S' PASS (1/1) PASS (1/1)
🔴 TIMESTAMPTZ 'dateTtime+tz' TIMESTAMPTZ 'dateTtime+tz' ERROR (0/1) ERROR (0/1) MISC
🔴 DATE 'M/D/YYYY' DATE 'M/D/YYYY' (MDY) ERROR (0/1) ERROR (0/1) MISC
🟢 DATE 'Jnnnnnnn' DATE 'Jnnnnnnn' PASS (1/1) PASS (1/1)
🟢 TIMESTAMP 'h:MI:SS PM' TIMESTAMP 'h:MI:SS PM' PASS (1/1) PASS (1/1)
🟢 TIMESTAMP 'YYYYMMDD HH:MI:SS.S' TIMESTAMP 'YYYYMMDD HH:MI:SS.S' PASS (1/1) PASS (1/1)
🔴 TIMESTAMPTZ 'SS.MS+TZ' TIMESTAMPTZ 'SS.MS+TZ' ERROR (0/1) ERROR (0/1) MISC
🟢 DATE 'YYMMDD' DATE 'YYMMDD' PASS (1/1) PASS (1/1)
🔴 DATE 'Month DD, YY BC' DATE 'Month DD, YY BC' ERROR (0/1) ERROR (0/1) MISC
🟢 TIMESTAMP '00:00:00' TIMESTAMP '00:00:00' PASS (1/1) PASS (1/1)
🟢 TIMESTAMP '23:59:59' TIMESTAMP '23:59:59' PASS (1/1) PASS (1/1)
🟢 TIMESTAMP 'SS.SS' TIMESTAMP 'SS.SS' PASS (1/1) PASS (1/1)
🟢 DATE 'Mon-DD-YYYY' DATE 'Mon-DD-YYYY' PASS (1/1) PASS (1/1)
🟢 TIMESTAMP 'Y2K' TIMESTAMP 'Y2K' PASS (1/1) PASS (1/1)
⚪ jsonb_path_query_first jsonb_path_query_first(target jsonb, path jsonpath, vars jsonb DEFAULT '{}'::jsonb, silent boolean DEFAULT false) ? jsonb UNSUPPORTED UNSUPPORTED TYPE_ERROR, FUNCTION_NOT_SUPPORTED Function not supported
🟢 TIMESTAMP 'YYYY-MM-DD HH:MI:SS' TIMESTAMP 'YYYY-MM-DD HH:MI:SS' PASS (1/1) PASS (1/1)
🟢 DATE 'Month DD, YYYY' DATE 'Month DD, YYYY' PASS (1/1) PASS (1/1)
🟢 DATE 'YYYYMMDD' DATE 'YYYYMMDD' PASS (1/1) PASS (1/1)
🟢 CAST CAST('string' AS timestamp) PASS (1/1) PASS (1/1)
🟢 DATE 'leap year' DATE 'leap year' PASS (1/1) PASS (1/1)
🔴 TIMESTAMPTZ '+00:00' TIMESTAMPTZ '+00:00' ERROR (0/1) ERROR (0/1) MISC
🔴 TIMESTAMPTZ '-HH:MM' TIMESTAMPTZ '-HH:MM' ERROR (0/1) ERROR (0/1) MISC
🟢 TIMESTAMP 'epoch' TIMESTAMP 'epoch' PASS (1/1) PASS (1/1)
🔴 DATE 'YY-MM-DD' DATE 'YY-MM-DD' ERROR (0/1) ERROR (0/1) MISC
🟢 TIMESTAMP 'Month DD, YYYY HH:MI:SS' TIMESTAMP 'Month DD, YYYY HH:MI:SS' PASS (1/1) PASS (1/1)
🔴 DATE 'M-D-YYYY' DATE 'M-D-YYYY' ERROR (0/1) ERROR (0/1) MISC
🟢 DATE 'Dy Mon DD YYYY' DATE 'Dy Mon DD YYYY' PASS (1/1) PASS (1/1)
🔴 TIMESTAMPTZ '+HH' TIMESTAMPTZ '+HH' ERROR (0/1) ERROR (0/1) MISC
🔴 TIMESTAMP 'M/D/YYYY HH:MI:SS' TIMESTAMP 'M/D/YYYY HH:MI:SS' ERROR (0/1) ERROR (0/1) MISC
⚪ count count(*) → bigint UNSUPPORTED UNSUPPORTED UNSUPPORTED_SYNTAX Unsupported feature
🟢 TIMESTAMP 'HH:MI' TIMESTAMP 'HH:MI' PASS (1/1) PASS (1/1)
🟢 TIMESTAMP 'YYYY-MM-DD HH:MI:SS.MS' TIMESTAMP 'YYYY-MM-DD HH:MI:SS.MS' PASS (1/1) PASS (1/1)
🟢 DATE 'early date' DATE 'early date' PASS (1/1) PASS (1/1)
🔴 TIMESTAMP 'SS.SSSSSS' TIMESTAMP 'SS.SSSSSS' FAIL (0/1) FAIL (0/1) RESULT_MISMATCH
🟢 DATE 'DD-Mon-YYYY' DATE 'DD-Mon-YYYY' PASS (1/1) PASS (1/1)
🔴 TIMESTAMP 'SS.SSSSSSSSS' TIMESTAMP 'SS.SSSSSSSSS' FAIL (0/1) FAIL (0/1) RESULT_MISMATCH
🔴 DATE 'D.M.YYYY' DATE 'D.M.YYYY' (DMY) ERROR (0/1) ERROR (0/1) MISC
🔴 TIMESTAMPTZ 'PST' TIMESTAMPTZ 'PST' ERROR (0/1) ERROR (0/1) MISC
🟢 DATE 'DD Month YYYY' DATE 'DD Month YYYY' PASS (1/1) PASS (1/1)
🟢 DATE 'year boundary' DATE 'year boundary' PASS (1/1) PASS (1/1)
🟢 'string'::date 'string'::date PASS (1/1) PASS (1/1)
🟢 'string'::timestamp 'string'::timestamp PASS (1/1) PASS (1/1)
🟢 DATE 'Month DD, YYYY AD' DATE 'Month DD, YYYY AD' PASS (1/1) PASS (1/1)
🟢 TIMESTAMP '24:00:00' TIMESTAMP '24:00:00' PASS (1/1) PASS (1/1)
🟢 TIMESTAMP 'unix epoch' TIMESTAMP 'unix epoch' PASS (1/1) PASS (1/1)
🟢 DATE 'YYYY/M/D' DATE 'YYYY/M/D' PASS (1/1) PASS (1/1)
🟢 DATE 'YYYY.DDD' DATE 'YYYY.DDD' PASS (1/1) PASS (1/1)
🟢 DATE 'YYYY-Mon-DD' DATE 'YYYY-Mon-DD' PASS (1/1) PASS (1/1)

Functions Not Implemented (266)

These Postgres functions are recognized in the catalog but Legend SQL does not implement them. They fail with "No function matches the given name", "No SQL translation exists", or "Unsupported" errors.

Mathematical Functions and Operators (9.3) (14)

Function
acosh
asinh
atanh
factorial
gcd
lcm
log
min_scale
random
scale
setseed
trim_scale
trunc
width_bucket

String Functions and Operators (9.4) (21)

Function
array_to_string
bit_length
btrim
character_length
format
is_normalized
normalize
octet_length
overlay
position
quote_ident
quote_literal
quote_nullable
regexp_match
regexp_matches
regexp_split_to_array
regexp_split_to_table
string_to_array
to_hex
translate
unistr

Binary String Functions (9.5) (8)

Function
convert
convert_from
convert_to
get_byte
set_byte
sha224
sha384
sha512

Pattern Matching (9.7) (1)

Function
regexp_instr

Data Type Formatting (9.8) (3)

Function
to_char
to_date
to_number

Date/Time Functions and Operators (9.9) (13)

Function
age
clock_timestamp
isfinite
justify_days
justify_hours
justify_interval
make_time
make_timestamptz
now
statement_timestamp
timeofday
to_timestamp
transaction_timestamp

Conditional Expressions (9.18) (3)

Function
num_nonnulls
num_nulls
nullif

JSON Functions and Operators (9.16) (39)

Function
json_typeof
jsonb_strip_nulls
jsonb_each_text
row_to_json
array_to_json
json_object
jsonb_extract_path_text
jsonb_path_query_array
jsonb_object_keys
jsonb_agg
jsonb_build_object
json_each_text
jsonb_extract_path
jsonb_path_query
jsonb_path_exists
jsonb_set
to_jsonb
jsonb_path_match
json_strip_nulls
jsonb_pretty
json_array_length
jsonb_array_length
jsonb_build_array
jsonb_object_agg
json_array_elements
jsonb_object
json_object_agg
json_agg
jsonb_array_elements
to_json
json_build_array
json_build_object
json_array_elements_text
json_object_keys
jsonb_insert
json_each
jsonb_array_elements_text
jsonb_each
jsonb_typeof

Array Functions and Operators (9.19) (16)

Function
array_append
array_cat
array_dims
array_fill
array_lower
array_ndims
array_position
array_positions
array_prepend
array_remove
array_replace
array_sample
array_shuffle
array_upper
cardinality
unnest

Aggregate Functions (9.21) (42)

Function
any_value
array_agg
avg
bit_and
bit_or
bit_xor
corr
covar_pop
covar_samp
cume_dist
dense_rank
json_agg
json_agg_strict
json_object_agg
json_object_agg_strict
json_object_agg_unique
json_object_agg_unique_strict
jsonb_agg
jsonb_agg_strict
jsonb_object_agg
jsonb_object_agg_strict
jsonb_object_agg_unique
jsonb_object_agg_unique_strict
max
min
mode
percent_rank
range_agg
range_intersect_agg
rank
regr_avgx
regr_avgy
regr_count
regr_intercept
regr_r2
regr_slope
regr_sxx
regr_sxy
regr_syy
string_agg
sum
xmlagg

Window Functions (9.22) (8)

Function
cume_dist
first_value
lag
last_value
lead
nth_value
ntile
percent_rank

Set Returning Functions (9.25) (2)

Function
generate_series
generate_subscripts

Other Functions (3)

Function
TIMESTAMP 'infinity'
jsonb_path_query_first
count

Unsupported Functions

Functions listed below have no supported signatures in Legend SQL. Functions with at least one working overload (e.g., length(text)) are excluded.

Mathematical Functions and Operators (9.3) (12 unsupported)

Function Reason
acosh Function not supported
asinh Function not supported
atanh Function not supported
factorial Function not supported
gcd Function not supported
lcm Function not supported
min_scale Function not supported
random Function not supported
scale Function not supported
setseed Function not supported
trim_scale Function not supported
width_bucket Function not supported

String Functions and Operators (9.4) (17 unsupported)

Function Reason
array_to_string Function not supported
bit_length Function not supported
character_length Function not supported
format Function not supported
is_normalized Function not supported
normalize Function not supported
octet_length Function not supported
quote_ident Function not supported
quote_literal Function not supported
quote_nullable Function not supported
regexp_match Function not supported
regexp_matches Function not supported
regexp_split_to_array Function not supported
regexp_split_to_table Function not supported
to_hex Function not supported
translate Function not supported
unistr Function not supported

Binary String Functions (9.5) (8 unsupported)

Function Reason
convert Function not supported
convert_from Function not supported
convert_to Function not supported
get_byte Function not supported
set_byte Function not supported
sha224 Function not supported
sha384 Function not supported
sha512 Function not supported

Data Type Formatting (9.8) (2 unsupported)

Function Reason
to_date Function not supported
to_number Function not supported

Date/Time Functions and Operators (9.9) (13 unsupported)

Function Reason
age Function not supported
clock_timestamp Function not supported
isfinite Function not supported
justify_days Function not supported
justify_hours Function not supported
justify_interval Function not supported
make_time Function not supported
make_timestamptz Function not supported
now Function not supported
statement_timestamp Function not supported
timeofday Function not supported
to_timestamp Function not supported
transaction_timestamp Function not supported

Conditional Expressions (9.18) (3 unsupported)

Function Reason
num_nonnulls Function not supported
num_nulls Function not supported
nullif Function not supported

JSON Functions and Operators (9.16) (4 unsupported)

Function Reason
jsonb_agg Function not supported
jsonb_object_agg Function not supported
json_object_agg Function not supported
json_agg Function not supported

Array Functions and Operators (9.19) (16 unsupported)

Function Reason
array_append Function not supported
array_cat Function not supported
array_dims Function not supported
array_fill Function not supported
array_lower Function not supported
array_ndims Function not supported
array_position Unsupported feature
array_positions Function not supported
array_prepend Function not supported
array_remove Function not supported
array_replace Function not supported
array_sample Function not supported
array_shuffle Function not supported
array_upper Function not supported
cardinality Function not supported
unnest Function not supported

Aggregate Functions (9.21) (35 unsupported)

Function Reason
any_value Function not supported
array_agg Function not supported
bit_and Function not supported
bit_or Function not supported
bit_xor Function not supported
corr Function not supported
covar_pop Function not supported
covar_samp Function not supported
cume_dist Unsupported feature
json_agg Function not supported
json_agg_strict Function not supported
json_object_agg Function not supported
json_object_agg_strict Function not supported
json_object_agg_unique Function not supported
json_object_agg_unique_strict Function not supported
jsonb_agg Function not supported
jsonb_agg_strict Function not supported
jsonb_object_agg Function not supported
jsonb_object_agg_strict Function not supported
jsonb_object_agg_unique Function not supported
jsonb_object_agg_unique_strict Function not supported
mode Function not supported
percent_rank Unsupported feature
range_agg Function not supported
range_intersect_agg Function not supported
regr_avgx Function not supported
regr_avgy Function not supported
regr_count Function not supported
regr_intercept Function not supported
regr_r2 Function not supported
regr_slope Function not supported
regr_sxx Function not supported
regr_sxy Function not supported
regr_syy Function not supported
xmlagg Function not supported

Window Functions (9.22) (8 unsupported)

Function Reason
cume_dist Unsupported feature
first_value Unsupported feature
lag Unsupported feature
last_value Unsupported feature
lead Unsupported feature
nth_value Unsupported feature
ntile Unsupported feature
percent_rank Unsupported feature

Network Address Functions (9.12) (14 unsupported)

Function Reason
abbrev Unsupported category/type
broadcast Unsupported category/type
family Unsupported category/type
host Unsupported category/type
hostmask Unsupported category/type
inet_client_addr Unsupported category/type
inet_client_port Unsupported category/type
inet_server_addr Unsupported category/type
inet_server_port Unsupported category/type
masklen Unsupported category/type
netmask Unsupported category/type
network Unsupported category/type
set_masklen Unsupported category/type
text Unsupported category/type

System Information Functions (9.26) (14 unsupported)

Function Reason
col_description Unsupported category/type
current_database Unsupported category/type
current_query Unsupported category/type
current_schema Unsupported category/type
current_schemas Unsupported category/type
current_user Unsupported category/type
has_column_privilege Unsupported category/type
has_database_privilege Unsupported category/type
has_schema_privilege Unsupported category/type
has_table_privilege Unsupported category/type
obj_description Unsupported category/type
session_user Unsupported category/type
shobj_description Unsupported category/type
version Unsupported category/type

Set Returning Functions (9.25) (2 unsupported)

Function Reason
generate_series Function not supported
generate_subscripts Function not supported

Other Functions (2 unsupported)

Function Reason
TIMESTAMP 'infinity' Unsupported feature
jsonb_path_query_first Function not supported

Error Details

FUNCTION_NOT_SUPPORTED (239 tests)

acosh__dp__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ACOSH(ABS(float_val) + 1) AS result FROM numbers WHERE float_val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT ACOSH(ABS(float_val) + 1) AS result FROM func('e2e::tds_numbers') WHERE float_val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT ACOSH(ABS(float_val) + 1) AS result FROM func('e2e::rel_numbers') WHERE float_val IS NOT NULL ORDER BY 1

Error:

No function matches the given name "ACOSH"


asinh__dp__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ASINH(float_val) AS result FROM numbers WHERE float_val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT ASINH(float_val) AS result FROM func('e2e::tds_numbers') WHERE float_val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT ASINH(float_val) AS result FROM func('e2e::rel_numbers') WHERE float_val IS NOT NULL ORDER BY 1

Error:

No function matches the given name "ASINH"


atanh__dp__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ATANH(float_val / (ABS(float_val) + 1)) AS result FROM numbers WHERE float_val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT ATANH(float_val / (ABS(float_val) + 1)) AS result FROM func('e2e::tds_numbers') WHERE float_val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT ATANH(float_val / (ABS(float_val) + 1)) AS result FROM func('e2e::rel_numbers') WHERE float_val IS NOT NULL ORDER BY 1

Error:

No function matches the given name "ATANH"


factorial__big__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT FACTORIAL(small_val::bigint) AS result FROM numbers WHERE small_val IS NOT NULL AND small_val >= 0 AND small_val <= 20 ORDER BY 1

Legend SQL (TDS):

SELECT FACTORIAL(small_val::bigint) AS result FROM func('e2e::tds_numbers') WHERE small_val IS NOT NULL AND small_val >= 0 AND small_val <= 20 ORDER BY 1

Legend SQL (Relation):

SELECT FACTORIAL(small_val::bigint) AS result FROM func('e2e::rel_numbers') WHERE small_val IS NOT NULL AND small_val >= 0 AND small_val <= 20 ORDER BY 1

Error:

No function matches the given name "FACTORIAL"


gcd__big_big__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT GCD(int_val, small_val) AS result FROM numbers WHERE int_val IS NOT NULL AND small_val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT GCD(int_val, small_val) AS result FROM func('e2e::tds_numbers') WHERE int_val IS NOT NULL AND small_val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT GCD(int_val, small_val) AS result FROM func('e2e::rel_numbers') WHERE int_val IS NOT NULL AND small_val IS NOT NULL ORDER BY 1

Error:

No function matches the given name "GCD"


gcd__int_int__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT GCD(int_val, small_val) AS result FROM numbers WHERE int_val IS NOT NULL AND small_val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT GCD(int_val, small_val) AS result FROM func('e2e::tds_numbers') WHERE int_val IS NOT NULL AND small_val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT GCD(int_val, small_val) AS result FROM func('e2e::rel_numbers') WHERE int_val IS NOT NULL AND small_val IS NOT NULL ORDER BY 1

Error:

No function matches the given name "GCD"


gcd__num_num__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT GCD(int_val, small_val) AS result FROM numbers WHERE int_val IS NOT NULL AND small_val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT GCD(int_val, small_val) AS result FROM func('e2e::tds_numbers') WHERE int_val IS NOT NULL AND small_val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT GCD(int_val, small_val) AS result FROM func('e2e::rel_numbers') WHERE int_val IS NOT NULL AND small_val IS NOT NULL ORDER BY 1

Error:

No function matches the given name "GCD"


lcm__big_big__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT LCM(int_val, small_val) AS result FROM numbers WHERE int_val IS NOT NULL AND small_val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT LCM(int_val, small_val) AS result FROM func('e2e::tds_numbers') WHERE int_val IS NOT NULL AND small_val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT LCM(int_val, small_val) AS result FROM func('e2e::rel_numbers') WHERE int_val IS NOT NULL AND small_val IS NOT NULL ORDER BY 1

Error:

No function matches the given name "LCM"


lcm__int_int__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT LCM(int_val, small_val) AS result FROM numbers WHERE int_val IS NOT NULL AND small_val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT LCM(int_val, small_val) AS result FROM func('e2e::tds_numbers') WHERE int_val IS NOT NULL AND small_val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT LCM(int_val, small_val) AS result FROM func('e2e::rel_numbers') WHERE int_val IS NOT NULL AND small_val IS NOT NULL ORDER BY 1

Error:

No function matches the given name "LCM"


lcm__num_num__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT LCM(int_val, small_val) AS result FROM numbers WHERE int_val IS NOT NULL AND small_val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT LCM(int_val, small_val) AS result FROM func('e2e::tds_numbers') WHERE int_val IS NOT NULL AND small_val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT LCM(int_val, small_val) AS result FROM func('e2e::rel_numbers') WHERE int_val IS NOT NULL AND small_val IS NOT NULL ORDER BY 1

Error:

No function matches the given name "LCM"


min_scale__num__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MIN_SCALE(numeric_val) AS result FROM numbers WHERE numeric_val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT MIN_SCALE(numeric_val) AS result FROM func('e2e::tds_numbers') WHERE numeric_val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT MIN_SCALE(numeric_val) AS result FROM func('e2e::rel_numbers') WHERE numeric_val IS NOT NULL ORDER BY 1

Error:

No function matches the given name "MIN_SCALE"


random__basic

🔴 Failed in both TDS and Relation

Input SQL:

SELECT CASE WHEN RANDOM() >= 0 AND RANDOM() < 1 THEN 1 ELSE 0 END AS result FROM numbers WHERE id = 1

Legend SQL (TDS):

SELECT CASE WHEN RANDOM() >= 0 AND RANDOM() < 1 THEN 1 ELSE 0 END AS result FROM func('e2e::tds_numbers') WHERE id = 1

Legend SQL (Relation):

SELECT CASE WHEN RANDOM() >= 0 AND RANDOM() < 1 THEN 1 ELSE 0 END AS result FROM func('e2e::rel_numbers') WHERE id = 1

Error:

No function matches the given name "RANDOM"


random_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT RANDOM() AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT RANDOM() AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT RANDOM() AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "RANDOM"


scale__num__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT SCALE(numeric_val) AS result FROM numbers WHERE numeric_val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT SCALE(numeric_val) AS result FROM func('e2e::tds_numbers') WHERE numeric_val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT SCALE(numeric_val) AS result FROM func('e2e::rel_numbers') WHERE numeric_val IS NOT NULL ORDER BY 1

Error:

No function matches the given name "SCALE"


setseed__dp__basic

🔴 Failed in both TDS and Relation

Input SQL:

SELECT SETSEED(0.5) FROM numbers WHERE id = 1

Legend SQL (TDS):

SELECT SETSEED(0.5) FROM func('e2e::tds_numbers') WHERE id = 1

Legend SQL (Relation):

SELECT SETSEED(0.5) FROM func('e2e::rel_numbers') WHERE id = 1

Error:

No function matches the given name "SETSEED"


setseed_double_precision_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT SETSEED(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT SETSEED(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT SETSEED(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "SETSEED"


trim_scale__num__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TRIM_SCALE(numeric_val) AS result FROM numbers WHERE numeric_val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT TRIM_SCALE(numeric_val) AS result FROM func('e2e::tds_numbers') WHERE numeric_val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT TRIM_SCALE(numeric_val) AS result FROM func('e2e::rel_numbers') WHERE numeric_val IS NOT NULL ORDER BY 1

Error:

No function matches the given name "TRIM_SCALE"


width_bucket_anycompatible_anycompatiblear_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT WIDTH_BUCKET(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT WIDTH_BUCKET(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT WIDTH_BUCKET(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "WIDTH_BUCKET"


width_bucket__dp_dp_dp_int__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT WIDTH_BUCKET(float_val, -10.0, 10.0, 5) AS result FROM numbers WHERE float_val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT WIDTH_BUCKET(float_val, -10.0, 10.0, 5) AS result FROM func('e2e::tds_numbers') WHERE float_val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT WIDTH_BUCKET(float_val, -10.0, 10.0, 5) AS result FROM func('e2e::rel_numbers') WHERE float_val IS NOT NULL ORDER BY 1

Error:

No function matches the given name "WIDTH_BUCKET"


width_bucket__num_num_num_int__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT WIDTH_BUCKET(numeric_val, -100000.0, 100000.0, 10) AS result FROM numbers WHERE numeric_val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT WIDTH_BUCKET(numeric_val, -100000.0, 100000.0, 10) AS result FROM func('e2e::tds_numbers') WHERE numeric_val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT WIDTH_BUCKET(numeric_val, -100000.0, 100000.0, 10) AS result FROM func('e2e::rel_numbers') WHERE numeric_val IS NOT NULL ORDER BY 1

Error:

No function matches the given name "WIDTH_BUCKET"


array_to_string_anyarray_text_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ARRAY_TO_STRING(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT ARRAY_TO_STRING(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT ARRAY_TO_STRING(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "ARRAY_TO_STRING"


array_to_string__anyarray_txt_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ARRAY_TO_STRING(ARRAY[val, nullable_val], ', ') AS result FROM strings ORDER BY 1

Legend SQL (TDS):

SELECT ARRAY_TO_STRING(ARRAY[val, nullable_val], ', ') AS result FROM func('e2e::tds_strings') ORDER BY 1

Legend SQL (Relation):

SELECT ARRAY_TO_STRING(ARRAY[val, nullable_val], ', ') AS result FROM func('e2e::rel_strings') ORDER BY 1

Error:

No function matches the given name "ARRAY_TO_STRING"


bit_length_bit_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT BIT_LENGTH(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT BIT_LENGTH(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT BIT_LENGTH(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "BIT_LENGTH"


bit_length_bytea_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT BIT_LENGTH(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT BIT_LENGTH(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT BIT_LENGTH(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "BIT_LENGTH"


bit_length__txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT BIT_LENGTH(val) AS result FROM strings ORDER BY 1

Legend SQL (TDS):

SELECT BIT_LENGTH(val) AS result FROM func('e2e::tds_strings') ORDER BY 1

Legend SQL (Relation):

SELECT BIT_LENGTH(val) AS result FROM func('e2e::rel_strings') ORDER BY 1

Error:

No function matches the given name "BIT_LENGTH"


character_length_character_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT CHARACTER_LENGTH(name) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT CHARACTER_LENGTH(name) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT CHARACTER_LENGTH(name) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "CHARACTER_LENGTH"


character_length__txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT CHARACTER_LENGTH(val) AS result FROM strings ORDER BY 1

Legend SQL (TDS):

SELECT CHARACTER_LENGTH(val) AS result FROM func('e2e::tds_strings') ORDER BY 1

Legend SQL (Relation):

SELECT CHARACTER_LENGTH(val) AS result FROM func('e2e::rel_strings') ORDER BY 1

Error:

No function matches the given name "CHARACTER_LENGTH"


format__txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT FORMAT('Hello World') AS result FROM strings WHERE id = 1

Legend SQL (TDS):

SELECT FORMAT('Hello World') AS result FROM func('e2e::tds_strings') WHERE id = 1

Legend SQL (Relation):

SELECT FORMAT('Hello World') AS result FROM func('e2e::rel_strings') WHERE id = 1

Error:

No function matches the given name "FORMAT"


format__txt_variadic__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT FORMAT('Hello %s, age %s', name, age) AS result FROM persons WHERE age IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT FORMAT('Hello %s, age %s', name, age) AS result FROM func('e2e::tds_persons') WHERE age IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT FORMAT('Hello %s, age %s', name, age) AS result FROM func('e2e::rel_persons') WHERE age IS NOT NULL ORDER BY 1

Error:

No function matches the given name "FORMAT"


is_normalized__txt_txtNFCtxt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT IS_NORMALIZED(unicode_val) AS result FROM strings WHERE unicode_val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT IS_NORMALIZED(unicode_val) AS result FROM func('e2e::tds_strings') WHERE unicode_val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT IS_NORMALIZED(unicode_val) AS result FROM func('e2e::rel_strings') WHERE unicode_val IS NOT NULL ORDER BY 1

Error:

No function matches the given name "IS_NORMALIZED"


normalize__txt_txtNFCtxt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT NORMALIZE(unicode_val) AS result FROM strings WHERE unicode_val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT NORMALIZE(unicode_val) AS result FROM func('e2e::tds_strings') WHERE unicode_val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT NORMALIZE(unicode_val) AS result FROM func('e2e::rel_strings') WHERE unicode_val IS NOT NULL ORDER BY 1

Error:

No function matches the given name "NORMALIZE"


octet_length_bit_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT OCTET_LENGTH(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT OCTET_LENGTH(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT OCTET_LENGTH(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "OCTET_LENGTH"


octet_length_bytea_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT OCTET_LENGTH(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT OCTET_LENGTH(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT OCTET_LENGTH(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "OCTET_LENGTH"


octet_length_character_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT OCTET_LENGTH(name) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT OCTET_LENGTH(name) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT OCTET_LENGTH(name) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "OCTET_LENGTH"


octet_length__txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT OCTET_LENGTH(val) AS result FROM strings ORDER BY 1

Legend SQL (TDS):

SELECT OCTET_LENGTH(val) AS result FROM func('e2e::tds_strings') ORDER BY 1

Legend SQL (Relation):

SELECT OCTET_LENGTH(val) AS result FROM func('e2e::rel_strings') ORDER BY 1

Error:

No function matches the given name "OCTET_LENGTH"


overlay_bit_bit_integer_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT OVERLAY(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT OVERLAY(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT OVERLAY(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "OVERLAY"


overlay_bit_bit_integer_integer_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT OVERLAY(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT OVERLAY(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT OVERLAY(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "OVERLAY"


overlay_bytea_bytea_integer_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT OVERLAY(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT OVERLAY(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT OVERLAY(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "OVERLAY"


overlay_bytea_bytea_integer_integer_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT OVERLAY(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT OVERLAY(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT OVERLAY(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "OVERLAY"


overlay__txt_txt_int_int__func_syntax

🔴 Failed in both TDS and Relation

Input SQL:

SELECT OVERLAY(val, 'XX', 1, 2) AS result FROM strings WHERE val IS NOT NULL AND val <> '' ORDER BY 1

Legend SQL (TDS):

SELECT OVERLAY(val, 'XX', 1, 2) AS result FROM func('e2e::tds_strings') WHERE val IS NOT NULL AND val <> '' ORDER BY 1

Legend SQL (Relation):

SELECT OVERLAY(val, 'XX', 1, 2) AS result FROM func('e2e::rel_strings') WHERE val IS NOT NULL AND val <> '' ORDER BY 1

Error:

No function matches the given name "OVERLAY"


position_bit_bit_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT POSITION(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT POSITION(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT POSITION(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "POSITION"


position_bytea_bytea_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT POSITION(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT POSITION(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT POSITION(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "POSITION"


quote_ident__txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT QUOTE_IDENT(val) AS result FROM strings WHERE val IS NOT NULL AND val <> '' ORDER BY 1

Legend SQL (TDS):

SELECT QUOTE_IDENT(val) AS result FROM func('e2e::tds_strings') WHERE val IS NOT NULL AND val <> '' ORDER BY 1

Legend SQL (Relation):

SELECT QUOTE_IDENT(val) AS result FROM func('e2e::rel_strings') WHERE val IS NOT NULL AND val <> '' ORDER BY 1

Error:

No function matches the given name "QUOTE_IDENT"


quote_literal_anyelement_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT QUOTE_LITERAL(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT QUOTE_LITERAL(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT QUOTE_LITERAL(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "QUOTE_LITERAL"


quote_literal__txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT QUOTE_LITERAL(val) AS result FROM strings WHERE val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT QUOTE_LITERAL(val) AS result FROM func('e2e::tds_strings') WHERE val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT QUOTE_LITERAL(val) AS result FROM func('e2e::rel_strings') WHERE val IS NOT NULL ORDER BY 1

Error:

No function matches the given name "QUOTE_LITERAL"


quote_nullable_anyelement_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT QUOTE_NULLABLE(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT QUOTE_NULLABLE(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT QUOTE_NULLABLE(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "QUOTE_NULLABLE"


quote_nullable__txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT QUOTE_NULLABLE(nullable_val) AS result FROM strings ORDER BY 1

Legend SQL (TDS):

SELECT QUOTE_NULLABLE(nullable_val) AS result FROM func('e2e::tds_strings') ORDER BY 1

Legend SQL (Relation):

SELECT QUOTE_NULLABLE(nullable_val) AS result FROM func('e2e::rel_strings') ORDER BY 1

Error:

No function matches the given name "QUOTE_NULLABLE"


regexp_match__txt_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGEXP_MATCH(val, '([a-z]+)') AS result FROM strings WHERE val IS NOT NULL AND val <> '' ORDER BY 1

Legend SQL (TDS):

SELECT REGEXP_MATCH(val, '([a-z]+)') AS result FROM func('e2e::tds_strings') WHERE val IS NOT NULL AND val <> '' ORDER BY 1

Legend SQL (Relation):

SELECT REGEXP_MATCH(val, '([a-z]+)') AS result FROM func('e2e::rel_strings') WHERE val IS NOT NULL AND val <> '' ORDER BY 1

Error:

No function matches the given name "REGEXP_MATCH"


regexp_match__txt_txt_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGEXP_MATCH(val, '([a-z]+)', 'i') AS result FROM strings WHERE val IS NOT NULL AND val <> '' ORDER BY 1

Legend SQL (TDS):

SELECT REGEXP_MATCH(val, '([a-z]+)', 'i') AS result FROM func('e2e::tds_strings') WHERE val IS NOT NULL AND val <> '' ORDER BY 1

Legend SQL (Relation):

SELECT REGEXP_MATCH(val, '([a-z]+)', 'i') AS result FROM func('e2e::rel_strings') WHERE val IS NOT NULL AND val <> '' ORDER BY 1

Error:

No function matches the given name "REGEXP_MATCH"


regexp_matches__txt_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGEXP_MATCHES(val, '([a-z]+)', 'g') AS result FROM strings WHERE id = 1

Legend SQL (TDS):

SELECT REGEXP_MATCHES(val, '([a-z]+)', 'g') AS result FROM func('e2e::tds_strings') WHERE id = 1

Legend SQL (Relation):

SELECT REGEXP_MATCHES(val, '([a-z]+)', 'g') AS result FROM func('e2e::rel_strings') WHERE id = 1

Error:

No function matches the given name "REGEXP_MATCHES"


regexp_matches_text_text_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGEXP_MATCHES(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT REGEXP_MATCHES(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT REGEXP_MATCHES(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "REGEXP_MATCHES"


regexp_matches__txt_txt_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGEXP_MATCHES(val, '([a-z]+)', 'g') AS result FROM strings WHERE id = 1

Legend SQL (TDS):

SELECT REGEXP_MATCHES(val, '([a-z]+)', 'g') AS result FROM func('e2e::tds_strings') WHERE id = 1

Legend SQL (Relation):

SELECT REGEXP_MATCHES(val, '([a-z]+)', 'g') AS result FROM func('e2e::rel_strings') WHERE id = 1

Error:

No function matches the given name "REGEXP_MATCHES"


regexp_matches_text_text_text_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGEXP_MATCHES(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT REGEXP_MATCHES(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT REGEXP_MATCHES(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "REGEXP_MATCHES"


regexp_split_to_array__txt_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGEXP_SPLIT_TO_ARRAY(val, '\s+') AS result FROM strings WHERE val IS NOT NULL AND val <> '' ORDER BY 1

Legend SQL (TDS):

SELECT REGEXP_SPLIT_TO_ARRAY(val, '\s+') AS result FROM func('e2e::tds_strings') WHERE val IS NOT NULL AND val <> '' ORDER BY 1

Legend SQL (Relation):

SELECT REGEXP_SPLIT_TO_ARRAY(val, '\s+') AS result FROM func('e2e::rel_strings') WHERE val IS NOT NULL AND val <> '' ORDER BY 1

Error:

No function matches the given name "REGEXP_SPLIT_TO_ARRAY"


regexp_split_to_array__txt_txt_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGEXP_SPLIT_TO_ARRAY(val, '\s+') AS result FROM strings WHERE val IS NOT NULL AND val <> '' ORDER BY 1

Legend SQL (TDS):

SELECT REGEXP_SPLIT_TO_ARRAY(val, '\s+') AS result FROM func('e2e::tds_strings') WHERE val IS NOT NULL AND val <> '' ORDER BY 1

Legend SQL (Relation):

SELECT REGEXP_SPLIT_TO_ARRAY(val, '\s+') AS result FROM func('e2e::rel_strings') WHERE val IS NOT NULL AND val <> '' ORDER BY 1

Error:

No function matches the given name "REGEXP_SPLIT_TO_ARRAY"


regexp_split_to_table__txt_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGEXP_SPLIT_TO_TABLE(val, '\s+') AS result FROM strings WHERE id = 1

Legend SQL (TDS):

SELECT REGEXP_SPLIT_TO_TABLE(val, '\s+') AS result FROM func('e2e::tds_strings') WHERE id = 1

Legend SQL (Relation):

SELECT REGEXP_SPLIT_TO_TABLE(val, '\s+') AS result FROM func('e2e::rel_strings') WHERE id = 1

Error:

No function matches the given name "REGEXP_SPLIT_TO_TABLE"


regexp_split_to_table_text_text_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGEXP_SPLIT_TO_TABLE(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT REGEXP_SPLIT_TO_TABLE(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT REGEXP_SPLIT_TO_TABLE(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "REGEXP_SPLIT_TO_TABLE"


regexp_split_to_table__txt_txt_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGEXP_SPLIT_TO_TABLE(val, '\s+') AS result FROM strings WHERE id = 1

Legend SQL (TDS):

SELECT REGEXP_SPLIT_TO_TABLE(val, '\s+') AS result FROM func('e2e::tds_strings') WHERE id = 1

Legend SQL (Relation):

SELECT REGEXP_SPLIT_TO_TABLE(val, '\s+') AS result FROM func('e2e::rel_strings') WHERE id = 1

Error:

No function matches the given name "REGEXP_SPLIT_TO_TABLE"


regexp_split_to_table_text_text_text_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGEXP_SPLIT_TO_TABLE(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT REGEXP_SPLIT_TO_TABLE(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT REGEXP_SPLIT_TO_TABLE(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "REGEXP_SPLIT_TO_TABLE"


to_hex__big__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TO_HEX(int_val) AS result FROM numbers WHERE int_val IS NOT NULL AND int_val >= 0 ORDER BY 1

Legend SQL (TDS):

SELECT TO_HEX(int_val) AS result FROM func('e2e::tds_numbers') WHERE int_val IS NOT NULL AND int_val >= 0 ORDER BY 1

Legend SQL (Relation):

SELECT TO_HEX(int_val) AS result FROM func('e2e::rel_numbers') WHERE int_val IS NOT NULL AND int_val >= 0 ORDER BY 1

Error:

No function matches the given name "TO_HEX"


to_hex__int__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TO_HEX(int_val) AS result FROM numbers WHERE int_val IS NOT NULL AND int_val >= 0 ORDER BY 1

Legend SQL (TDS):

SELECT TO_HEX(int_val) AS result FROM func('e2e::tds_numbers') WHERE int_val IS NOT NULL AND int_val >= 0 ORDER BY 1

Legend SQL (Relation):

SELECT TO_HEX(int_val) AS result FROM func('e2e::rel_numbers') WHERE int_val IS NOT NULL AND int_val >= 0 ORDER BY 1

Error:

No function matches the given name "TO_HEX"


translate__txt_txt_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TRANSLATE(val, 'aeiou', 'AEIOU') AS result FROM strings ORDER BY 1

Legend SQL (TDS):

SELECT TRANSLATE(val, 'aeiou', 'AEIOU') AS result FROM func('e2e::tds_strings') ORDER BY 1

Legend SQL (Relation):

SELECT TRANSLATE(val, 'aeiou', 'AEIOU') AS result FROM func('e2e::rel_strings') ORDER BY 1

Error:

No function matches the given name "TRANSLATE"


unistr__txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT UNISTR('\0041') AS result FROM strings WHERE id = 1

Legend SQL (TDS):

SELECT UNISTR('\0041') AS result FROM func('e2e::tds_strings') WHERE id = 1

Legend SQL (Relation):

SELECT UNISTR('\0041') AS result FROM func('e2e::rel_strings') WHERE id = 1

Error:

No function matches the given name "UNISTR"


convert__bytea_name_name

🔴 Failed in both TDS and Relation

Input SQL:

SELECT CONVERT('Hello', 'UTF8', 'LATIN1') AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT CONVERT('Hello', 'UTF8', 'LATIN1') AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT CONVERT('Hello', 'UTF8', 'LATIN1') AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "CONVERT"


convert_from__bytea_name

🔴 Failed in both TDS and Relation

Input SQL:

SELECT CONVERT_FROM('Hello', 'UTF8') AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT CONVERT_FROM('Hello', 'UTF8') AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT CONVERT_FROM('Hello', 'UTF8') AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "CONVERT_FROM"


convert_to__txt_name

🔴 Failed in both TDS and Relation

Input SQL:

SELECT CONVERT_TO('Hello', 'UTF8') AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT CONVERT_TO('Hello', 'UTF8') AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT CONVERT_TO('Hello', 'UTF8') AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "CONVERT_TO"


get_byte__bytea_int

🔴 Failed in both TDS and Relation

Input SQL:

SELECT GET_BYTE('AB', 0) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT GET_BYTE('AB', 0) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT GET_BYTE('AB', 0) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "GET_BYTE"


set_byte__bytea_int_int

🔴 Failed in both TDS and Relation

Input SQL:

SELECT SET_BYTE('AB', 0, 67) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT SET_BYTE('AB', 0, 67) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT SET_BYTE('AB', 0, 67) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "SET_BYTE"


sha224__bytea

🔴 Failed in both TDS and Relation

Input SQL:

SELECT SHA224('Hello') AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT SHA224('Hello') AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT SHA224('Hello') AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "SHA224"


sha384__bytea

🔴 Failed in both TDS and Relation

Input SQL:

SELECT SHA384('Hello') AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT SHA384('Hello') AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT SHA384('Hello') AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "SHA384"


sha512__bytea

🔴 Failed in both TDS and Relation

Input SQL:

SELECT SHA512('Hello') AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT SHA512('Hello') AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT SHA512('Hello') AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "SHA512"


to_date__txt_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TO_DATE('2023-01-15', 'YYYY-MM-DD') AS result FROM dates WHERE id = 1

Legend SQL (TDS):

SELECT TO_DATE('2023-01-15', 'YYYY-MM-DD') AS result FROM func('e2e::tds_dates') WHERE id = 1

Legend SQL (Relation):

SELECT TO_DATE('2023-01-15', 'YYYY-MM-DD') AS result FROM func('e2e::rel_dates') WHERE id = 1

Error:

No function matches the given name "TO_DATE"


to_number__txt_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TO_NUMBER('12,345.67', '99G999D99') AS result FROM numbers WHERE id = 1

Legend SQL (TDS):

SELECT TO_NUMBER('12,345.67', '99G999D99') AS result FROM func('e2e::tds_numbers') WHERE id = 1

Legend SQL (Relation):

SELECT TO_NUMBER('12,345.67', '99G999D99') AS result FROM func('e2e::rel_numbers') WHERE id = 1

Error:

No function matches the given name "TO_NUMBER"


age__tstz__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT AGE(tsz::timestamptz) AS result FROM dates WHERE tsz IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT AGE(tsz::timestamptz) AS result FROM func('e2e::tds_dates') WHERE tsz IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT AGE(tsz::timestamptz) AS result FROM func('e2e::rel_dates') WHERE tsz IS NOT NULL ORDER BY 1

Error:

No function matches the given name "AGE"


age_timestamp_with_time_zone_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT AGE(CAST('2023-01-01' AS TIMESTAMP)) IS NOT NULL AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT AGE(CAST('2023-01-01' AS TIMESTAMP)) IS NOT NULL AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT AGE(CAST('2023-01-01' AS TIMESTAMP)) IS NOT NULL AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "AGE"


age__tstz_tstz__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT AGE(tsz::timestamptz, '2000-01-01'::timestamptz) AS result FROM dates WHERE tsz IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT AGE(tsz::timestamptz, '2000-01-01'::timestamptz) AS result FROM func('e2e::tds_dates') WHERE tsz IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT AGE(tsz::timestamptz, '2000-01-01'::timestamptz) AS result FROM func('e2e::rel_dates') WHERE tsz IS NOT NULL ORDER BY 1

Error:

No function matches the given name "AGE"


age__ts__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT AGE(ts) AS result FROM dates WHERE ts IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT AGE(ts) AS result FROM func('e2e::tds_dates') WHERE ts IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT AGE(ts) AS result FROM func('e2e::rel_dates') WHERE ts IS NOT NULL ORDER BY 1

Error:

No function matches the given name "AGE"


age_timestamp_without_time_zone_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT AGE(CAST('2023-01-01' AS TIMESTAMP)) IS NOT NULL AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT AGE(CAST('2023-01-01' AS TIMESTAMP)) IS NOT NULL AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT AGE(CAST('2023-01-01' AS TIMESTAMP)) IS NOT NULL AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "AGE"


age__ts_ts__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT AGE(ts, '2000-01-01'::timestamp) AS result FROM dates WHERE ts IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT AGE(ts, '2000-01-01'::timestamp) AS result FROM func('e2e::tds_dates') WHERE ts IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT AGE(ts, '2000-01-01'::timestamp) AS result FROM func('e2e::rel_dates') WHERE ts IS NOT NULL ORDER BY 1

Error:

No function matches the given name "AGE"


age_xid_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT AGE(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT AGE(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT AGE(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "AGE"


clock_timestamp__basic

🔴 Failed in both TDS and Relation

Input SQL:

SELECT CASE WHEN CLOCK_TIMESTAMP() > '2020-01-01'::timestamptz THEN 1 ELSE 0 END AS result FROM dates WHERE id = 1

Legend SQL (TDS):

SELECT CASE WHEN CLOCK_TIMESTAMP() > '2020-01-01'::timestamptz THEN 1 ELSE 0 END AS result FROM func('e2e::tds_dates') WHERE id = 1

Legend SQL (Relation):

SELECT CASE WHEN CLOCK_TIMESTAMP() > '2020-01-01'::timestamptz THEN 1 ELSE 0 END AS result FROM func('e2e::rel_dates') WHERE id = 1

Error:

No function matches the given name "CLOCK_TIMESTAMP"


clock_timestamp_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT CLOCK_TIMESTAMP() IS NOT NULL AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT CLOCK_TIMESTAMP() IS NOT NULL AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT CLOCK_TIMESTAMP() IS NOT NULL AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "CLOCK_TIMESTAMP"


isfinite__date__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ISFINITE(d) AS result FROM dates WHERE d IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT ISFINITE(d) AS result FROM func('e2e::tds_dates') WHERE d IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT ISFINITE(d) AS result FROM func('e2e::rel_dates') WHERE d IS NOT NULL ORDER BY 1

Error:

No function matches the given name "ISFINITE"


isfinite__intv__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ISFINITE(INTERVAL '1 day') AS result FROM dates WHERE id = 1

Legend SQL (TDS):

SELECT ISFINITE(INTERVAL '1 day') AS result FROM func('e2e::tds_dates') WHERE id = 1

Legend SQL (Relation):

SELECT ISFINITE(INTERVAL '1 day') AS result FROM func('e2e::rel_dates') WHERE id = 1

Error:

No function matches the given name "ISFINITE"


isfinite__tstz__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ISFINITE(tsz::timestamptz) AS result FROM dates WHERE tsz IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT ISFINITE(tsz::timestamptz) AS result FROM func('e2e::tds_dates') WHERE tsz IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT ISFINITE(tsz::timestamptz) AS result FROM func('e2e::rel_dates') WHERE tsz IS NOT NULL ORDER BY 1

Error:

No function matches the given name "ISFINITE"


isfinite__ts__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ISFINITE(ts) AS result FROM dates WHERE ts IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT ISFINITE(ts) AS result FROM func('e2e::tds_dates') WHERE ts IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT ISFINITE(ts) AS result FROM func('e2e::rel_dates') WHERE ts IS NOT NULL ORDER BY 1

Error:

No function matches the given name "ISFINITE"


justify_days__intv__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT JUSTIFY_DAYS(INTERVAL '35 days 25 hours') AS result FROM dates WHERE id = 1

Legend SQL (TDS):

SELECT JUSTIFY_DAYS(INTERVAL '35 days 25 hours') AS result FROM func('e2e::tds_dates') WHERE id = 1

Legend SQL (Relation):

SELECT JUSTIFY_DAYS(INTERVAL '35 days 25 hours') AS result FROM func('e2e::rel_dates') WHERE id = 1

Error:

No function matches the given name "JUSTIFY_DAYS"


justify_hours__intv__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT JUSTIFY_HOURS(INTERVAL '35 days 25 hours') AS result FROM dates WHERE id = 1

Legend SQL (TDS):

SELECT JUSTIFY_HOURS(INTERVAL '35 days 25 hours') AS result FROM func('e2e::tds_dates') WHERE id = 1

Legend SQL (Relation):

SELECT JUSTIFY_HOURS(INTERVAL '35 days 25 hours') AS result FROM func('e2e::rel_dates') WHERE id = 1

Error:

No function matches the given name "JUSTIFY_HOURS"


justify_interval__intv__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT JUSTIFY_INTERVAL(INTERVAL '35 days 25 hours') AS result FROM dates WHERE id = 1

Legend SQL (TDS):

SELECT JUSTIFY_INTERVAL(INTERVAL '35 days 25 hours') AS result FROM func('e2e::tds_dates') WHERE id = 1

Legend SQL (Relation):

SELECT JUSTIFY_INTERVAL(INTERVAL '35 days 25 hours') AS result FROM func('e2e::rel_dates') WHERE id = 1

Error:

No function matches the given name "JUSTIFY_INTERVAL"


make_time__int_int_dp__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MAKE_TIME(10, 30, 0.0) AS result FROM dates WHERE id = 1

Legend SQL (TDS):

SELECT MAKE_TIME(10, 30, 0.0) AS result FROM func('e2e::tds_dates') WHERE id = 1

Legend SQL (Relation):

SELECT MAKE_TIME(10, 30, 0.0) AS result FROM func('e2e::rel_dates') WHERE id = 1

Error:

No function matches the given name "MAKE_TIME"


make_timestamptz__int_int_t_int_int_dp__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MAKE_TIMESTAMPTZ(2023, 6, 15, 10, 30, 0.0) AS result FROM dates WHERE id = 1

Legend SQL (TDS):

SELECT MAKE_TIMESTAMPTZ(2023, 6, 15, 10, 30, 0.0) AS result FROM func('e2e::tds_dates') WHERE id = 1

Legend SQL (Relation):

SELECT MAKE_TIMESTAMPTZ(2023, 6, 15, 10, 30, 0.0) AS result FROM func('e2e::rel_dates') WHERE id = 1

Error:

No function matches the given name "MAKE_TIMESTAMPTZ"


make_timestamptz__int_int_t_int_int_dp_timezonetxt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MAKE_TIMESTAMPTZ(2023, 6, 15, 10, 30, 0.0, 'UTC') AS result FROM dates WHERE id = 1

Legend SQL (TDS):

SELECT MAKE_TIMESTAMPTZ(2023, 6, 15, 10, 30, 0.0, 'UTC') AS result FROM func('e2e::tds_dates') WHERE id = 1

Legend SQL (Relation):

SELECT MAKE_TIMESTAMPTZ(2023, 6, 15, 10, 30, 0.0, 'UTC') AS result FROM func('e2e::rel_dates') WHERE id = 1

Error:

No function matches the given name "MAKE_TIMESTAMPTZ"


now__basic

🔴 Failed in both TDS and Relation

Input SQL:

SELECT CASE WHEN NOW() > '2020-01-01'::timestamptz THEN 1 ELSE 0 END AS result FROM dates WHERE id = 1

Legend SQL (TDS):

SELECT CASE WHEN NOW() > '2020-01-01'::timestamptz THEN 1 ELSE 0 END AS result FROM func('e2e::tds_dates') WHERE id = 1

Legend SQL (Relation):

SELECT CASE WHEN NOW() > '2020-01-01'::timestamptz THEN 1 ELSE 0 END AS result FROM func('e2e::rel_dates') WHERE id = 1

Error:

No function matches the given name "NOW"


now_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT NOW() IS NOT NULL AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT NOW() IS NOT NULL AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT NOW() IS NOT NULL AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "NOW"


statement_timestamp__basic

🔴 Failed in both TDS and Relation

Input SQL:

SELECT CASE WHEN STATEMENT_TIMESTAMP() > '2020-01-01'::timestamptz THEN 1 ELSE 0 END AS result FROM dates WHERE id = 1

Legend SQL (TDS):

SELECT CASE WHEN STATEMENT_TIMESTAMP() > '2020-01-01'::timestamptz THEN 1 ELSE 0 END AS result FROM func('e2e::tds_dates') WHERE id = 1

Legend SQL (Relation):

SELECT CASE WHEN STATEMENT_TIMESTAMP() > '2020-01-01'::timestamptz THEN 1 ELSE 0 END AS result FROM func('e2e::rel_dates') WHERE id = 1

Error:

No function matches the given name "STATEMENT_TIMESTAMP"


statement_timestamp_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT STATEMENT_TIMESTAMP() IS NOT NULL AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT STATEMENT_TIMESTAMP() IS NOT NULL AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT STATEMENT_TIMESTAMP() IS NOT NULL AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "STATEMENT_TIMESTAMP"


timeofday__basic

🔴 Failed in both TDS and Relation

Input SQL:

SELECT CASE WHEN LENGTH(TIMEOFDAY()) > 0 THEN 1 ELSE 0 END AS result FROM dates WHERE id = 1

Legend SQL (TDS):

SELECT CASE WHEN LENGTH(TIMEOFDAY()) > 0 THEN 1 ELSE 0 END AS result FROM func('e2e::tds_dates') WHERE id = 1

Legend SQL (Relation):

SELECT CASE WHEN LENGTH(TIMEOFDAY()) > 0 THEN 1 ELSE 0 END AS result FROM func('e2e::rel_dates') WHERE id = 1

Error:

No function matches the given name "TIMEOFDAY"


timeofday_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TIMEOFDAY() IS NOT NULL AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT TIMEOFDAY() IS NOT NULL AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT TIMEOFDAY() IS NOT NULL AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "TIMEOFDAY"


to_timestamp__dp__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TO_TIMESTAMP(0) AS result FROM dates WHERE id = 1

Legend SQL (TDS):

SELECT TO_TIMESTAMP(0) AS result FROM func('e2e::tds_dates') WHERE id = 1

Legend SQL (Relation):

SELECT TO_TIMESTAMP(0) AS result FROM func('e2e::rel_dates') WHERE id = 1

Error:

No function matches the given name "TO_TIMESTAMP"


to_timestamp_text_text_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TO_TIMESTAMP('2023-01-15', 'YYYY-MM-DD') IS NOT NULL AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT TO_TIMESTAMP('2023-01-15', 'YYYY-MM-DD') IS NOT NULL AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT TO_TIMESTAMP('2023-01-15', 'YYYY-MM-DD') IS NOT NULL AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "TO_TIMESTAMP"


transaction_timestamp__basic

🔴 Failed in both TDS and Relation

Input SQL:

SELECT CASE WHEN TRANSACTION_TIMESTAMP() > '2020-01-01'::timestamptz THEN 1 ELSE 0 END AS result FROM dates WHERE id = 1

Legend SQL (TDS):

SELECT CASE WHEN TRANSACTION_TIMESTAMP() > '2020-01-01'::timestamptz THEN 1 ELSE 0 END AS result FROM func('e2e::tds_dates') WHERE id = 1

Legend SQL (Relation):

SELECT CASE WHEN TRANSACTION_TIMESTAMP() > '2020-01-01'::timestamptz THEN 1 ELSE 0 END AS result FROM func('e2e::rel_dates') WHERE id = 1

Error:

No function matches the given name "TRANSACTION_TIMESTAMP"


transaction_timestamp_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TRANSACTION_TIMESTAMP() IS NOT NULL AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT TRANSACTION_TIMESTAMP() IS NOT NULL AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT TRANSACTION_TIMESTAMP() IS NOT NULL AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "TRANSACTION_TIMESTAMP"


num_nonnulls__variadic__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT NUM_NONNULLS(int_val, float_val, numeric_val) AS result FROM numbers ORDER BY 1

Legend SQL (TDS):

SELECT NUM_NONNULLS(int_val, float_val, numeric_val) AS result FROM func('e2e::tds_numbers') ORDER BY 1

Legend SQL (Relation):

SELECT NUM_NONNULLS(int_val, float_val, numeric_val) AS result FROM func('e2e::rel_numbers') ORDER BY 1

Error:

No function matches the given name "NUM_NONNULLS"


num_nulls__variadic__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT NUM_NULLS(int_val, float_val, numeric_val) AS result FROM numbers ORDER BY 1

Legend SQL (TDS):

SELECT NUM_NULLS(int_val, float_val, numeric_val) AS result FROM func('e2e::tds_numbers') ORDER BY 1

Legend SQL (Relation):

SELECT NUM_NULLS(int_val, float_val, numeric_val) AS result FROM func('e2e::rel_numbers') ORDER BY 1

Error:

No function matches the given name "NUM_NULLS"


nullif__varchar__equal

🔴 Failed in both TDS and Relation

Input SQL:

SELECT NULLIF(name, 'Alice') AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT NULLIF(name, 'Alice') AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT NULLIF(name, 'Alice') AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "NULLIF"


nullif__varchar__not_equal

🔴 Failed in both TDS and Relation

Input SQL:

SELECT NULLIF(name, 'Nobody') AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT NULLIF(name, 'Nobody') AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT NULLIF(name, 'Nobody') AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "NULLIF"


nullif__int__equal

🔴 Failed in both TDS and Relation

Input SQL:

SELECT NULLIF(int_val, 42) AS result FROM numbers WHERE id = 1

Legend SQL (TDS):

SELECT NULLIF(int_val, 42) AS result FROM func('e2e::tds_numbers') WHERE id = 1

Legend SQL (Relation):

SELECT NULLIF(int_val, 42) AS result FROM func('e2e::rel_numbers') WHERE id = 1

Error:

No function matches the given name "NULLIF"


nullif__int__not_equal

🔴 Failed in both TDS and Relation

Input SQL:

SELECT NULLIF(int_val, 999) AS result FROM numbers WHERE id = 1

Legend SQL (TDS):

SELECT NULLIF(int_val, 999) AS result FROM func('e2e::tds_numbers') WHERE id = 1

Legend SQL (Relation):

SELECT NULLIF(int_val, 999) AS result FROM func('e2e::rel_numbers') WHERE id = 1

Error:

No function matches the given name "NULLIF"


json_typeof__from_column

📗 Relation Path

Input SQL:

SELECT JSON_TYPEOF(json_val) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSON_TYPEOF(json_val) AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSON_TYPEOF"


json_typeof__array_column

📗 Relation Path

Input SQL:

SELECT JSON_TYPEOF(json_arr) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSON_TYPEOF(json_arr) AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSON_TYPEOF"


jsonb_strip_nulls__from_column

📗 Relation Path

Input SQL:

SELECT JSONB_STRIP_NULLS(jsonb_val) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_STRIP_NULLS(jsonb_val) AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSONB_STRIP_NULLS"


jsonb_each_text__from_column

🔴 Failed in both TDS and Relation

Input SQL:

SELECT key, value FROM JSONB_EACH_TEXT((SELECT jsonb_val FROM json_data WHERE id = 1)) ORDER BY key

Legend SQL (TDS):

SELECT key, value FROM JSONB_EACH_TEXT((SELECT jsonb_val FROM func('e2e::tds_json_data') WHERE id = 1)) ORDER BY key

Legend SQL (Relation):

SELECT key, value FROM JSONB_EACH_TEXT((SELECT jsonb_val FROM func('e2e::rel_json_data') WHERE id = 1)) ORDER BY key

Error:

No function matches the given name "JSONB_EACH_TEXT"


row_to_json__unsupported_type

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ROW_TO_JSON(persons) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT ROW_TO_JSON(persons) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT ROW_TO_JSON(persons) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "ROW_TO_JSON"


array_to_json__bool__unsupported_type

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ARRAY_TO_JSON(ARRAY[1, 2, 3], true) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT ARRAY_TO_JSON(ARRAY[1, 2, 3], true) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT ARRAY_TO_JSON(ARRAY[1, 2, 3], true) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "ARRAY_TO_JSON"


json_object__text_array

📗 Relation Path

Input SQL:

SELECT JSON_OBJECT(ARRAY['a', '1', 'b', '2']) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSON_OBJECT(ARRAY['a', '1', 'b', '2']) AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSON_OBJECT"


row_to_json__bool__unsupported_type

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ROW_TO_JSON(persons, true) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT ROW_TO_JSON(persons, true) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT ROW_TO_JSON(persons, true) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "ROW_TO_JSON"


jsonb_extract_path_text__from_column

📗 Relation Path

Input SQL:

SELECT JSONB_EXTRACT_PATH_TEXT(jsonb_val, 'a', 'b', 'c') AS result FROM json_data WHERE id = 2

Legend SQL:

SELECT JSONB_EXTRACT_PATH_TEXT(jsonb_val, 'a', 'b', 'c') AS result FROM func('e2e::rel_json_data') WHERE id = 2

Error:

No function matches the given name "JSONB_EXTRACT_PATH_TEXT"


jsonb_path_query_array__from_column

📗 Relation Path

Input SQL:

SELECT JSONB_PATH_QUERY_ARRAY(jsonb_arr, '$[*]') AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_PATH_QUERY_ARRAY(jsonb_arr, '$[*]') AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSONB_PATH_QUERY_ARRAY"


jsonb_object_keys__from_column

📗 Relation Path

Input SQL:

SELECT JSONB_OBJECT_KEYS(jsonb_val) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_OBJECT_KEYS(jsonb_val) AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSONB_OBJECT_KEYS"


jsonb_agg__from_column

📗 Relation Path

Input SQL:

SELECT JSONB_AGG(jsonb_val ->> 'b') AS result FROM json_data WHERE jsonb_val IS NOT NULL

Legend SQL:

SELECT JSONB_AGG(jsonb_val ->> 'b') AS result FROM func('e2e::rel_json_data') WHERE jsonb_val IS NOT NULL

Error:

No function matches the given name "JSONB_AGG"


jsonb_build_object__empty

📗 Relation Path

Input SQL:

SELECT JSONB_BUILD_OBJECT() AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_BUILD_OBJECT() AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSONB_BUILD_OBJECT"


json_each_text__from_column

🔴 Failed in both TDS and Relation

Input SQL:

SELECT key, value FROM JSON_EACH_TEXT((SELECT json_val FROM json_data WHERE id = 1)) ORDER BY key

Legend SQL (TDS):

SELECT key, value FROM JSON_EACH_TEXT((SELECT json_val FROM func('e2e::tds_json_data') WHERE id = 1)) ORDER BY key

Legend SQL (Relation):

SELECT key, value FROM JSON_EACH_TEXT((SELECT json_val FROM func('e2e::rel_json_data') WHERE id = 1)) ORDER BY key

Error:

No function matches the given name "JSON_EACH_TEXT"


jsonb_extract_path__from_column

📗 Relation Path

Input SQL:

SELECT JSONB_EXTRACT_PATH(jsonb_val, 'a', 'b', 'c') AS result FROM json_data WHERE id = 2

Legend SQL:

SELECT JSONB_EXTRACT_PATH(jsonb_val, 'a', 'b', 'c') AS result FROM func('e2e::rel_json_data') WHERE id = 2

Error:

No function matches the given name "JSONB_EXTRACT_PATH"


jsonb_path_query__from_column

📗 Relation Path

Input SQL:

SELECT JSONB_PATH_QUERY(jsonb_val, '$.a') AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_PATH_QUERY(jsonb_val, '$.a') AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSONB_PATH_QUERY"


jsonb_path_exists__from_column

📗 Relation Path

Input SQL:

SELECT JSONB_PATH_EXISTS(jsonb_val, '$.a') AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_PATH_EXISTS(jsonb_val, '$.a') AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSONB_PATH_EXISTS"


jsonb_path_exists__with_vars

📗 Relation Path

Input SQL:

SELECT JSONB_PATH_EXISTS(jsonb_val, '$.a ? (@ > $x)', '{"x":0}') AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_PATH_EXISTS(jsonb_val, '$.a ? (@ > $x)', '{"x":0}') AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSONB_PATH_EXISTS"


array_to_json__unsupported_type

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ARRAY_TO_JSON(ARRAY[1, 2, 3]) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT ARRAY_TO_JSON(ARRAY[1, 2, 3]) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT ARRAY_TO_JSON(ARRAY[1, 2, 3]) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "ARRAY_TO_JSON"


jsonb_set__from_column

📗 Relation Path

Input SQL:

SELECT JSONB_SET(jsonb_val, '{a}', '99') AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_SET(jsonb_val, '{a}', '99') AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSONB_SET"


jsonb_set__create_missing_false

📗 Relation Path

Input SQL:

SELECT JSONB_SET(jsonb_val, '{z}', '"new"', false) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_SET(jsonb_val, '{z}', '"new"', false) AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSONB_SET"


to_jsonb__from_column

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TO_JSONB(val) AS result FROM strings WHERE val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT TO_JSONB(val) AS result FROM func('e2e::tds_strings') WHERE val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT TO_JSONB(val) AS result FROM func('e2e::rel_strings') WHERE val IS NOT NULL ORDER BY 1

Error:

No function matches the given name "TO_JSONB"


jsonb_path_match__from_column

📗 Relation Path

Input SQL:

SELECT JSONB_PATH_MATCH(jsonb_val, '$.a == 1') AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_PATH_MATCH(jsonb_val, '$.a == 1') AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSONB_PATH_MATCH"


jsonb_build_object__variadic__from_column

📗 Relation Path

Input SQL:

SELECT JSONB_BUILD_OBJECT('id', id, 'val', jsonb_val ->> 'b') AS result FROM json_data WHERE id <= 3 ORDER BY id

Legend SQL:

SELECT JSONB_BUILD_OBJECT('id', id, 'val', jsonb_val ->> 'b') AS result FROM func('e2e::rel_json_data') WHERE id <= 3 ORDER BY id

Error:

No function matches the given name "JSONB_BUILD_OBJECT"


json_strip_nulls__from_column

📗 Relation Path

Input SQL:

SELECT JSON_STRIP_NULLS(json_val) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSON_STRIP_NULLS(json_val) AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSON_STRIP_NULLS"


jsonb_pretty__from_column

📗 Relation Path

Input SQL:

SELECT JSONB_PRETTY(jsonb_val) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_PRETTY(jsonb_val) AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSONB_PRETTY"


json_array_length__from_column

📗 Relation Path

Input SQL:

SELECT JSON_ARRAY_LENGTH(json_arr) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSON_ARRAY_LENGTH(json_arr) AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSON_ARRAY_LENGTH"


json_array_length__null

📗 Relation Path

Input SQL:

SELECT JSON_ARRAY_LENGTH(json_arr) AS result FROM json_data WHERE id = 5

Legend SQL:

SELECT JSON_ARRAY_LENGTH(json_arr) AS result FROM func('e2e::rel_json_data') WHERE id = 5

Error:

No function matches the given name "JSON_ARRAY_LENGTH"


jsonb_array_length__from_column

📗 Relation Path

Input SQL:

SELECT JSONB_ARRAY_LENGTH(jsonb_arr) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_ARRAY_LENGTH(jsonb_arr) AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSONB_ARRAY_LENGTH"


jsonb_array_length__null

📗 Relation Path

Input SQL:

SELECT JSONB_ARRAY_LENGTH(jsonb_arr) AS result FROM json_data WHERE id = 5

Legend SQL:

SELECT JSONB_ARRAY_LENGTH(jsonb_arr) AS result FROM func('e2e::rel_json_data') WHERE id = 5

Error:

No function matches the given name "JSONB_ARRAY_LENGTH"


jsonb_build_array__variadic__from_column

📗 Relation Path

Input SQL:

SELECT JSONB_BUILD_ARRAY(id, jsonb_val ->> 'b') AS result FROM json_data WHERE id <= 3 ORDER BY id

Legend SQL:

SELECT JSONB_BUILD_ARRAY(id, jsonb_val ->> 'b') AS result FROM func('e2e::rel_json_data') WHERE id <= 3 ORDER BY id

Error:

No function matches the given name "JSONB_BUILD_ARRAY"


jsonb_object_agg__from_column

📗 Relation Path

Input SQL:

SELECT JSONB_OBJECT_AGG(id, jsonb_val ->> 'b') AS result FROM json_data WHERE jsonb_val IS NOT NULL

Legend SQL:

SELECT JSONB_OBJECT_AGG(id, jsonb_val ->> 'b') AS result FROM func('e2e::rel_json_data') WHERE jsonb_val IS NOT NULL

Error:

No function matches the given name "JSONB_OBJECT_AGG"


json_array_elements__from_column

📗 Relation Path

Input SQL:

SELECT JSON_ARRAY_ELEMENTS(json_arr) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSON_ARRAY_ELEMENTS(json_arr) AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSON_ARRAY_ELEMENTS"


jsonb_object__text_array

📗 Relation Path

Input SQL:

SELECT JSONB_OBJECT(ARRAY['a', '1', 'b', '2']) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_OBJECT(ARRAY['a', '1', 'b', '2']) AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSONB_OBJECT"


json_object_agg__from_column

📗 Relation Path

Input SQL:

SELECT JSON_OBJECT_AGG(id, json_val ->> 'b') AS result FROM json_data WHERE json_val IS NOT NULL

Legend SQL:

SELECT JSON_OBJECT_AGG(id, json_val ->> 'b') AS result FROM func('e2e::rel_json_data') WHERE json_val IS NOT NULL

Error:

No function matches the given name "JSON_OBJECT_AGG"


jsonb_object__keys_values

📗 Relation Path

Input SQL:

SELECT JSONB_OBJECT(ARRAY['a','b'], ARRAY['1','2']) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_OBJECT(ARRAY['a', 'b'], ARRAY['1', '2']) AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSONB_OBJECT"


json_agg__from_column

📗 Relation Path

Input SQL:

SELECT JSON_AGG(json_val ->> 'b') AS result FROM json_data WHERE json_val IS NOT NULL

Legend SQL:

SELECT JSON_AGG(json_val ->> 'b') AS result FROM func('e2e::rel_json_data') WHERE json_val IS NOT NULL

Error:

No function matches the given name "JSON_AGG"


jsonb_array_elements__from_column

📗 Relation Path

Input SQL:

SELECT JSONB_ARRAY_ELEMENTS(jsonb_arr) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_ARRAY_ELEMENTS(jsonb_arr) AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSONB_ARRAY_ELEMENTS"


to_json__from_column

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TO_JSON(val) AS result FROM strings WHERE val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT TO_JSON(val) AS result FROM func('e2e::tds_strings') WHERE val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT TO_JSON(val) AS result FROM func('e2e::rel_strings') WHERE val IS NOT NULL ORDER BY 1

Error:

No function matches the given name "TO_JSON"


jsonb_build_array__empty

📗 Relation Path

Input SQL:

SELECT JSONB_BUILD_ARRAY() AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_BUILD_ARRAY() AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSONB_BUILD_ARRAY"


json_array_elements_text__from_column

📗 Relation Path

Input SQL:

SELECT JSON_ARRAY_ELEMENTS_TEXT(json_arr) AS result FROM json_data WHERE id = 3

Legend SQL:

SELECT JSON_ARRAY_ELEMENTS_TEXT(json_arr) AS result FROM func('e2e::rel_json_data') WHERE id = 3

Error:

No function matches the given name "JSON_ARRAY_ELEMENTS_TEXT"


json_object_keys__from_column

📗 Relation Path

Input SQL:

SELECT JSON_OBJECT_KEYS(json_val) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSON_OBJECT_KEYS(json_val) AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSON_OBJECT_KEYS"


jsonb_insert__from_column

📗 Relation Path

Input SQL:

SELECT JSONB_INSERT(jsonb_val, '{d}', '"inserted"') AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_INSERT(jsonb_val, '{d}', '"inserted"') AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSONB_INSERT"


jsonb_insert__after_true

📗 Relation Path

Input SQL:

SELECT JSONB_INSERT(jsonb_arr, '{1}', '99', true) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_INSERT(jsonb_arr, '{1}', '99', true) AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSONB_INSERT"


json_object__keys_values

📗 Relation Path

Input SQL:

SELECT JSON_OBJECT(ARRAY['a','b'], ARRAY['1','2']) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSON_OBJECT(ARRAY['a', 'b'], ARRAY['1', '2']) AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSON_OBJECT"


json_each__from_column

🔴 Failed in both TDS and Relation

Input SQL:

SELECT key, value FROM JSON_EACH((SELECT json_val FROM json_data WHERE id = 1)) ORDER BY key

Legend SQL (TDS):

SELECT key, value FROM JSON_EACH((SELECT json_val FROM func('e2e::tds_json_data') WHERE id = 1)) ORDER BY key

Legend SQL (Relation):

SELECT key, value FROM JSON_EACH((SELECT json_val FROM func('e2e::rel_json_data') WHERE id = 1)) ORDER BY key

Error:

No function matches the given name "JSON_EACH"


jsonb_array_elements_text__from_column

📗 Relation Path

Input SQL:

SELECT JSONB_ARRAY_ELEMENTS_TEXT(jsonb_arr) AS result FROM json_data WHERE id = 3

Legend SQL:

SELECT JSONB_ARRAY_ELEMENTS_TEXT(jsonb_arr) AS result FROM func('e2e::rel_json_data') WHERE id = 3

Error:

No function matches the given name "JSONB_ARRAY_ELEMENTS_TEXT"


jsonb_each__from_column

🔴 Failed in both TDS and Relation

Input SQL:

SELECT key, value FROM JSONB_EACH((SELECT jsonb_val FROM json_data WHERE id = 1)) ORDER BY key

Legend SQL (TDS):

SELECT key, value FROM JSONB_EACH((SELECT jsonb_val FROM func('e2e::tds_json_data') WHERE id = 1)) ORDER BY key

Legend SQL (Relation):

SELECT key, value FROM JSONB_EACH((SELECT jsonb_val FROM func('e2e::rel_json_data') WHERE id = 1)) ORDER BY key

Error:

No function matches the given name "JSONB_EACH"


jsonb_typeof__from_column

📗 Relation Path

Input SQL:

SELECT JSONB_TYPEOF(jsonb_val) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_TYPEOF(jsonb_val) AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSONB_TYPEOF"


array_append__anycompatiblearray_anycompatible__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ARRAY_APPEND(ARRAY[1,2,3], int_val) AS result FROM numbers WHERE int_val IS NOT NULL AND id <= 3 ORDER BY 1

Legend SQL (TDS):

SELECT ARRAY_APPEND(ARRAY[1, 2, 3], int_val) AS result FROM func('e2e::tds_numbers') WHERE int_val IS NOT NULL AND id <= 3 ORDER BY 1

Legend SQL (Relation):

SELECT ARRAY_APPEND(ARRAY[1, 2, 3], int_val) AS result FROM func('e2e::rel_numbers') WHERE int_val IS NOT NULL AND id <= 3 ORDER BY 1

Error:

No function matches the given name "ARRAY_APPEND"


array_cat__anycompatiblearray_anycompatiblearray__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ARRAY_CAT(ARRAY[1,2], ARRAY[3,4]) AS result FROM numbers WHERE id = 1

Legend SQL (TDS):

SELECT ARRAY_CAT(ARRAY[1, 2], ARRAY[3, 4]) AS result FROM func('e2e::tds_numbers') WHERE id = 1

Legend SQL (Relation):

SELECT ARRAY_CAT(ARRAY[1, 2], ARRAY[3, 4]) AS result FROM func('e2e::rel_numbers') WHERE id = 1

Error:

No function matches the given name "ARRAY_CAT"


array_dims__anyarray__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ARRAY_DIMS(ARRAY[[1,2],[3,4]]) AS result FROM numbers WHERE id = 1

Legend SQL (TDS):

SELECT ARRAY_DIMS(ARRAY[[1, 2], [3, 4]]) AS result FROM func('e2e::tds_numbers') WHERE id = 1

Legend SQL (Relation):

SELECT ARRAY_DIMS(ARRAY[[1, 2], [3, 4]]) AS result FROM func('e2e::rel_numbers') WHERE id = 1

Error:

No function matches the given name "ARRAY_DIMS"


array_fill__anyelement_int[]__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ARRAY_FILL(0, ARRAY[3]) AS result FROM numbers WHERE id = 1

Legend SQL (TDS):

SELECT ARRAY_FILL(0, ARRAY[3]) AS result FROM func('e2e::tds_numbers') WHERE id = 1

Legend SQL (Relation):

SELECT ARRAY_FILL(0, ARRAY[3]) AS result FROM func('e2e::rel_numbers') WHERE id = 1

Error:

No function matches the given name "ARRAY_FILL"


array_fill__anyelement_int[]_int[]__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ARRAY_FILL(0, ARRAY[3]) AS result FROM numbers WHERE id = 1

Legend SQL (TDS):

SELECT ARRAY_FILL(0, ARRAY[3]) AS result FROM func('e2e::tds_numbers') WHERE id = 1

Legend SQL (Relation):

SELECT ARRAY_FILL(0, ARRAY[3]) AS result FROM func('e2e::rel_numbers') WHERE id = 1

Error:

No function matches the given name "ARRAY_FILL"


array_lower__anyarray_int__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ARRAY_LOWER(ARRAY[10,20,30], 1) AS result FROM numbers WHERE id = 1

Legend SQL (TDS):

SELECT ARRAY_LOWER(ARRAY[10, 20, 30], 1) AS result FROM func('e2e::tds_numbers') WHERE id = 1

Legend SQL (Relation):

SELECT ARRAY_LOWER(ARRAY[10, 20, 30], 1) AS result FROM func('e2e::rel_numbers') WHERE id = 1

Error:

No function matches the given name "ARRAY_LOWER"


array_ndims__anyarray__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ARRAY_NDIMS(ARRAY[[1,2],[3,4]]) AS result FROM numbers WHERE id = 1

Legend SQL (TDS):

SELECT ARRAY_NDIMS(ARRAY[[1, 2], [3, 4]]) AS result FROM func('e2e::tds_numbers') WHERE id = 1

Legend SQL (Relation):

SELECT ARRAY_NDIMS(ARRAY[[1, 2], [3, 4]]) AS result FROM func('e2e::rel_numbers') WHERE id = 1

Error:

No function matches the given name "ARRAY_NDIMS"


array_positions__anycompatiblearray_anycompatible__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ARRAY_POSITIONS(ARRAY[1,2,3,2,1], 2) AS result FROM numbers WHERE id = 1

Legend SQL (TDS):

SELECT ARRAY_POSITIONS(ARRAY[1, 2, 3, 2, 1], 2) AS result FROM func('e2e::tds_numbers') WHERE id = 1

Legend SQL (Relation):

SELECT ARRAY_POSITIONS(ARRAY[1, 2, 3, 2, 1], 2) AS result FROM func('e2e::rel_numbers') WHERE id = 1

Error:

No function matches the given name "ARRAY_POSITIONS"


array_prepend__anycompatible_anycompatiblearray__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ARRAY_PREPEND(0, ARRAY[1,2,3]) AS result FROM numbers WHERE id = 1

Legend SQL (TDS):

SELECT ARRAY_PREPEND(0, ARRAY[1, 2, 3]) AS result FROM func('e2e::tds_numbers') WHERE id = 1

Legend SQL (Relation):

SELECT ARRAY_PREPEND(0, ARRAY[1, 2, 3]) AS result FROM func('e2e::rel_numbers') WHERE id = 1

Error:

No function matches the given name "ARRAY_PREPEND"


array_remove__anycompatiblearray_anycompatible__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ARRAY_REMOVE(ARRAY[1,2,3,2], 2) AS result FROM numbers WHERE id = 1

Legend SQL (TDS):

SELECT ARRAY_REMOVE(ARRAY[1, 2, 3, 2], 2) AS result FROM func('e2e::tds_numbers') WHERE id = 1

Legend SQL (Relation):

SELECT ARRAY_REMOVE(ARRAY[1, 2, 3, 2], 2) AS result FROM func('e2e::rel_numbers') WHERE id = 1

Error:

No function matches the given name "ARRAY_REMOVE"


array_replace__anycompatiblearray_anycompatible_anycompatible__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ARRAY_REPLACE(ARRAY[1,2,3,2], 2, 99) AS result FROM numbers WHERE id = 1

Legend SQL (TDS):

SELECT ARRAY_REPLACE(ARRAY[1, 2, 3, 2], 2, 99) AS result FROM func('e2e::tds_numbers') WHERE id = 1

Legend SQL (Relation):

SELECT ARRAY_REPLACE(ARRAY[1, 2, 3, 2], 2, 99) AS result FROM func('e2e::rel_numbers') WHERE id = 1

Error:

No function matches the given name "ARRAY_REPLACE"


array_sample__anyarray_int__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ARRAY_LENGTH(ARRAY_SAMPLE(ARRAY[1,2,3,4,5], 3), 1) AS result FROM numbers WHERE id = 1

Legend SQL (TDS):

SELECT ARRAY_LENGTH(ARRAY_SAMPLE(ARRAY[1, 2, 3, 4, 5], 3), 1) AS result FROM func('e2e::tds_numbers') WHERE id = 1

Legend SQL (Relation):

SELECT ARRAY_LENGTH(ARRAY_SAMPLE(ARRAY[1, 2, 3, 4, 5], 3), 1) AS result FROM func('e2e::rel_numbers') WHERE id = 1

Error:

No function matches the given name "ARRAY_SAMPLE"


array_sample_anyarray_integer_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ARRAY_SAMPLE(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT ARRAY_SAMPLE(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT ARRAY_SAMPLE(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "ARRAY_SAMPLE"


array_shuffle__anyarray__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ARRAY_LENGTH(ARRAY_SHUFFLE(ARRAY[1,2,3,4,5], 3), 1) AS result FROM numbers WHERE id = 1

Legend SQL (TDS):

SELECT ARRAY_LENGTH(ARRAY_SHUFFLE(ARRAY[1, 2, 3, 4, 5], 3), 1) AS result FROM func('e2e::tds_numbers') WHERE id = 1

Legend SQL (Relation):

SELECT ARRAY_LENGTH(ARRAY_SHUFFLE(ARRAY[1, 2, 3, 4, 5], 3), 1) AS result FROM func('e2e::rel_numbers') WHERE id = 1

Error:

No function matches the given name "ARRAY_SHUFFLE"


array_shuffle_anyarray_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ARRAY_SHUFFLE(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT ARRAY_SHUFFLE(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT ARRAY_SHUFFLE(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "ARRAY_SHUFFLE"


array_upper__anyarray_int__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ARRAY_UPPER(ARRAY[10,20,30], 1) AS result FROM numbers WHERE id = 1

Legend SQL (TDS):

SELECT ARRAY_UPPER(ARRAY[10, 20, 30], 1) AS result FROM func('e2e::tds_numbers') WHERE id = 1

Legend SQL (Relation):

SELECT ARRAY_UPPER(ARRAY[10, 20, 30], 1) AS result FROM func('e2e::rel_numbers') WHERE id = 1

Error:

No function matches the given name "ARRAY_UPPER"


cardinality__anyarray__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT CARDINALITY(ARRAY[1,2,3]) AS result FROM numbers WHERE id = 1

Legend SQL (TDS):

SELECT CARDINALITY(ARRAY[1, 2, 3]) AS result FROM func('e2e::tds_numbers') WHERE id = 1

Legend SQL (Relation):

SELECT CARDINALITY(ARRAY[1, 2, 3]) AS result FROM func('e2e::rel_numbers') WHERE id = 1

Error:

No function matches the given name "CARDINALITY"


unnest_anyarray_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT UNNEST(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT UNNEST(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT UNNEST(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "UNNEST"


unnest_anymultirange_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT UNNEST(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT UNNEST(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT UNNEST(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "UNNEST"


unnest_tsvector_tsvector_OUT_lexeme_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT UNNEST(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT UNNEST(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT UNNEST(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "UNNEST"


any_value__anyelement__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ANY_VALUE(name) AS result FROM persons WHERE dept_id = 1

Legend SQL (TDS):

SELECT ANY_VALUE(name) AS result FROM func('e2e::tds_persons') WHERE dept_id = 1

Legend SQL (Relation):

SELECT ANY_VALUE(name) AS result FROM func('e2e::rel_persons') WHERE dept_id = 1

Error:

No function matches the given name "ANY_VALUE"


array_agg_anyarray_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ARRAY_AGG(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT ARRAY_AGG(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT ARRAY_AGG(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "ARRAY_AGG"


array_agg__anynonarray__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ARRAY_AGG(name ORDER BY name) AS result FROM persons WHERE name IS NOT NULL

Legend SQL (TDS):

SELECT ARRAY_AGG(name ORDER BY name) AS result FROM func('e2e::tds_persons') WHERE name IS NOT NULL

Legend SQL (Relation):

SELECT ARRAY_AGG(name ORDER BY name) AS result FROM func('e2e::rel_persons') WHERE name IS NOT NULL

Error:

No function matches the given name "ARRAY_AGG"


bit_and__big__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT BIT_AND(big_val) AS result FROM numbers WHERE big_val IS NOT NULL

Legend SQL (TDS):

SELECT BIT_AND(big_val) AS result FROM func('e2e::tds_numbers') WHERE big_val IS NOT NULL

Legend SQL (Relation):

SELECT BIT_AND(big_val) AS result FROM func('e2e::rel_numbers') WHERE big_val IS NOT NULL

Error:

No function matches the given name "BIT_AND"


bit_and_bit_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT BIT_AND(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT BIT_AND(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT BIT_AND(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "BIT_AND"


bit_and__int__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT BIT_AND(int_val) AS result FROM numbers WHERE int_val IS NOT NULL

Legend SQL (TDS):

SELECT BIT_AND(int_val) AS result FROM func('e2e::tds_numbers') WHERE int_val IS NOT NULL

Legend SQL (Relation):

SELECT BIT_AND(int_val) AS result FROM func('e2e::rel_numbers') WHERE int_val IS NOT NULL

Error:

No function matches the given name "BIT_AND"


bit_and__small__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT BIT_AND(small_val::smallint) AS result FROM numbers WHERE small_val IS NOT NULL

Legend SQL (TDS):

SELECT BIT_AND(small_val::smallint) AS result FROM func('e2e::tds_numbers') WHERE small_val IS NOT NULL

Legend SQL (Relation):

SELECT BIT_AND(small_val::smallint) AS result FROM func('e2e::rel_numbers') WHERE small_val IS NOT NULL

Error:

No function matches the given name "BIT_AND"


bit_or__big__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT BIT_OR(big_val) AS result FROM numbers WHERE big_val IS NOT NULL

Legend SQL (TDS):

SELECT BIT_OR(big_val) AS result FROM func('e2e::tds_numbers') WHERE big_val IS NOT NULL

Legend SQL (Relation):

SELECT BIT_OR(big_val) AS result FROM func('e2e::rel_numbers') WHERE big_val IS NOT NULL

Error:

No function matches the given name "BIT_OR"


bit_or_bit_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT BIT_OR(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT BIT_OR(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT BIT_OR(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "BIT_OR"


bit_or__int__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT BIT_OR(int_val) AS result FROM numbers WHERE int_val IS NOT NULL

Legend SQL (TDS):

SELECT BIT_OR(int_val) AS result FROM func('e2e::tds_numbers') WHERE int_val IS NOT NULL

Legend SQL (Relation):

SELECT BIT_OR(int_val) AS result FROM func('e2e::rel_numbers') WHERE int_val IS NOT NULL

Error:

No function matches the given name "BIT_OR"


bit_or__small__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT BIT_OR(small_val::smallint) AS result FROM numbers WHERE small_val IS NOT NULL

Legend SQL (TDS):

SELECT BIT_OR(small_val::smallint) AS result FROM func('e2e::tds_numbers') WHERE small_val IS NOT NULL

Legend SQL (Relation):

SELECT BIT_OR(small_val::smallint) AS result FROM func('e2e::rel_numbers') WHERE small_val IS NOT NULL

Error:

No function matches the given name "BIT_OR"


bit_xor__big__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT BIT_XOR(big_val) AS result FROM numbers WHERE big_val IS NOT NULL

Legend SQL (TDS):

SELECT BIT_XOR(big_val) AS result FROM func('e2e::tds_numbers') WHERE big_val IS NOT NULL

Legend SQL (Relation):

SELECT BIT_XOR(big_val) AS result FROM func('e2e::rel_numbers') WHERE big_val IS NOT NULL

Error:

No function matches the given name "BIT_XOR"


bit_xor_bit_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT BIT_XOR(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT BIT_XOR(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT BIT_XOR(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "BIT_XOR"


bit_xor__int__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT BIT_XOR(int_val) AS result FROM numbers WHERE int_val IS NOT NULL

Legend SQL (TDS):

SELECT BIT_XOR(int_val) AS result FROM func('e2e::tds_numbers') WHERE int_val IS NOT NULL

Legend SQL (Relation):

SELECT BIT_XOR(int_val) AS result FROM func('e2e::rel_numbers') WHERE int_val IS NOT NULL

Error:

No function matches the given name "BIT_XOR"


bit_xor__small__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT BIT_XOR(small_val::smallint) AS result FROM numbers WHERE small_val IS NOT NULL

Legend SQL (TDS):

SELECT BIT_XOR(small_val::smallint) AS result FROM func('e2e::tds_numbers') WHERE small_val IS NOT NULL

Legend SQL (Relation):

SELECT BIT_XOR(small_val::smallint) AS result FROM func('e2e::rel_numbers') WHERE small_val IS NOT NULL

Error:

No function matches the given name "BIT_XOR"


corr__dp_dp__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT CORR(salary, age) AS result FROM persons WHERE salary IS NOT NULL AND age IS NOT NULL

Legend SQL (TDS):

SELECT CORR(salary, age) AS result FROM func('e2e::tds_persons') WHERE salary IS NOT NULL AND age IS NOT NULL

Legend SQL (Relation):

SELECT CORR(salary, age) AS result FROM func('e2e::rel_persons') WHERE salary IS NOT NULL AND age IS NOT NULL

Error:

No function matches the given name "CORR"


covar_pop__dp_dp__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT COVAR_POP(salary, age) AS result FROM persons WHERE salary IS NOT NULL AND age IS NOT NULL

Legend SQL (TDS):

SELECT COVAR_POP(salary, age) AS result FROM func('e2e::tds_persons') WHERE salary IS NOT NULL AND age IS NOT NULL

Legend SQL (Relation):

SELECT COVAR_POP(salary, age) AS result FROM func('e2e::rel_persons') WHERE salary IS NOT NULL AND age IS NOT NULL

Error:

No function matches the given name "COVAR_POP"


covar_samp__dp_dp__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT COVAR_SAMP(salary, age) AS result FROM persons WHERE salary IS NOT NULL AND age IS NOT NULL

Legend SQL (TDS):

SELECT COVAR_SAMP(salary, age) AS result FROM func('e2e::tds_persons') WHERE salary IS NOT NULL AND age IS NOT NULL

Legend SQL (Relation):

SELECT COVAR_SAMP(salary, age) AS result FROM func('e2e::rel_persons') WHERE salary IS NOT NULL AND age IS NOT NULL

Error:

No function matches the given name "COVAR_SAMP"


json_agg__anyelement__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT JSON_AGG(val) AS result FROM strings WHERE val IS NOT NULL AND id <= 3

Legend SQL (TDS):

SELECT JSON_AGG(val) AS result FROM func('e2e::tds_strings') WHERE val IS NOT NULL AND id <= 3

Legend SQL (Relation):

SELECT JSON_AGG(val) AS result FROM func('e2e::rel_strings') WHERE val IS NOT NULL AND id <= 3

Error:

No function matches the given name "JSON_AGG"


json_agg_strict__anyelement__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT JSON_AGG_STRICT(val) AS result FROM strings WHERE val IS NOT NULL AND id <= 3

Legend SQL (TDS):

SELECT JSON_AGG_STRICT(val) AS result FROM func('e2e::tds_strings') WHERE val IS NOT NULL AND id <= 3

Legend SQL (Relation):

SELECT JSON_AGG_STRICT(val) AS result FROM func('e2e::rel_strings') WHERE val IS NOT NULL AND id <= 3

Error:

No function matches the given name "JSON_AGG_STRICT"


json_object_agg__any_any__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT JSON_OBJECT_AGG(id::text, val) AS result FROM strings WHERE val IS NOT NULL AND id <= 3

Legend SQL (TDS):

SELECT JSON_OBJECT_AGG(id::text, val) AS result FROM func('e2e::tds_strings') WHERE val IS NOT NULL AND id <= 3

Legend SQL (Relation):

SELECT JSON_OBJECT_AGG(id::text, val) AS result FROM func('e2e::rel_strings') WHERE val IS NOT NULL AND id <= 3

Error:

No function matches the given name "JSON_OBJECT_AGG"


json_object_agg_strict__any_any__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT JSON_OBJECT_AGG_STRICT(id::text, val) AS result FROM strings WHERE val IS NOT NULL AND id <= 3

Legend SQL (TDS):

SELECT JSON_OBJECT_AGG_STRICT(id::text, val) AS result FROM func('e2e::tds_strings') WHERE val IS NOT NULL AND id <= 3

Legend SQL (Relation):

SELECT JSON_OBJECT_AGG_STRICT(id::text, val) AS result FROM func('e2e::rel_strings') WHERE val IS NOT NULL AND id <= 3

Error:

No function matches the given name "JSON_OBJECT_AGG_STRICT"


json_object_agg_unique__any_any__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT JSON_OBJECT_AGG_UNIQUE(id::text, val) AS result FROM strings WHERE val IS NOT NULL AND id <= 3

Legend SQL (TDS):

SELECT JSON_OBJECT_AGG_UNIQUE(id::text, val) AS result FROM func('e2e::tds_strings') WHERE val IS NOT NULL AND id <= 3

Legend SQL (Relation):

SELECT JSON_OBJECT_AGG_UNIQUE(id::text, val) AS result FROM func('e2e::rel_strings') WHERE val IS NOT NULL AND id <= 3

Error:

No function matches the given name "JSON_OBJECT_AGG_UNIQUE"


json_object_agg_unique_strict__any_any__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT JSON_OBJECT_AGG_UNIQUE_STRICT(id::text, val) AS result FROM strings WHERE val IS NOT NULL AND id <= 3

Legend SQL (TDS):

SELECT JSON_OBJECT_AGG_UNIQUE_STRICT(id::text, val) AS result FROM func('e2e::tds_strings') WHERE val IS NOT NULL AND id <= 3

Legend SQL (Relation):

SELECT JSON_OBJECT_AGG_UNIQUE_STRICT(id::text, val) AS result FROM func('e2e::rel_strings') WHERE val IS NOT NULL AND id <= 3

Error:

No function matches the given name "JSON_OBJECT_AGG_UNIQUE_STRICT"


jsonb_agg__anyelement__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT JSONB_AGG(val) AS result FROM strings WHERE val IS NOT NULL AND id <= 3

Legend SQL (TDS):

SELECT JSONB_AGG(val) AS result FROM func('e2e::tds_strings') WHERE val IS NOT NULL AND id <= 3

Legend SQL (Relation):

SELECT JSONB_AGG(val) AS result FROM func('e2e::rel_strings') WHERE val IS NOT NULL AND id <= 3

Error:

No function matches the given name "JSONB_AGG"


jsonb_agg_strict__anyelement__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT JSONB_AGG_STRICT(val) AS result FROM strings WHERE val IS NOT NULL AND id <= 3

Legend SQL (TDS):

SELECT JSONB_AGG_STRICT(val) AS result FROM func('e2e::tds_strings') WHERE val IS NOT NULL AND id <= 3

Legend SQL (Relation):

SELECT JSONB_AGG_STRICT(val) AS result FROM func('e2e::rel_strings') WHERE val IS NOT NULL AND id <= 3

Error:

No function matches the given name "JSONB_AGG_STRICT"


jsonb_object_agg__any_any__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT JSONB_OBJECT_AGG(id::text, val) AS result FROM strings WHERE val IS NOT NULL AND id <= 3

Legend SQL (TDS):

SELECT JSONB_OBJECT_AGG(id::text, val) AS result FROM func('e2e::tds_strings') WHERE val IS NOT NULL AND id <= 3

Legend SQL (Relation):

SELECT JSONB_OBJECT_AGG(id::text, val) AS result FROM func('e2e::rel_strings') WHERE val IS NOT NULL AND id <= 3

Error:

No function matches the given name "JSONB_OBJECT_AGG"


jsonb_object_agg_strict__any_any__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT JSONB_OBJECT_AGG_STRICT(id::text, val) AS result FROM strings WHERE val IS NOT NULL AND id <= 3

Legend SQL (TDS):

SELECT JSONB_OBJECT_AGG_STRICT(id::text, val) AS result FROM func('e2e::tds_strings') WHERE val IS NOT NULL AND id <= 3

Legend SQL (Relation):

SELECT JSONB_OBJECT_AGG_STRICT(id::text, val) AS result FROM func('e2e::rel_strings') WHERE val IS NOT NULL AND id <= 3

Error:

No function matches the given name "JSONB_OBJECT_AGG_STRICT"


jsonb_object_agg_unique__any_any__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT JSONB_OBJECT_AGG_UNIQUE(id::text, val) AS result FROM strings WHERE val IS NOT NULL AND id <= 3

Legend SQL (TDS):

SELECT JSONB_OBJECT_AGG_UNIQUE(id::text, val) AS result FROM func('e2e::tds_strings') WHERE val IS NOT NULL AND id <= 3

Legend SQL (Relation):

SELECT JSONB_OBJECT_AGG_UNIQUE(id::text, val) AS result FROM func('e2e::rel_strings') WHERE val IS NOT NULL AND id <= 3

Error:

No function matches the given name "JSONB_OBJECT_AGG_UNIQUE"


jsonb_object_agg_unique_strict__any_any__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT JSONB_OBJECT_AGG_UNIQUE_STRICT(id::text, val) AS result FROM strings WHERE val IS NOT NULL AND id <= 3

Legend SQL (TDS):

SELECT JSONB_OBJECT_AGG_UNIQUE_STRICT(id::text, val) AS result FROM func('e2e::tds_strings') WHERE val IS NOT NULL AND id <= 3

Legend SQL (Relation):

SELECT JSONB_OBJECT_AGG_UNIQUE_STRICT(id::text, val) AS result FROM func('e2e::rel_strings') WHERE val IS NOT NULL AND id <= 3

Error:

No function matches the given name "JSONB_OBJECT_AGG_UNIQUE_STRICT"


mode__ORDERBYanyelement__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MODE() WITHIN GROUP (ORDER BY dept_id) AS result FROM persons WHERE dept_id IS NOT NULL

Legend SQL (TDS):

SELECT MODE() WITHIN GROUP (ORDER BY dept_id) AS result FROM func('e2e::tds_persons') WHERE dept_id IS NOT NULL

Legend SQL (Relation):

SELECT MODE() WITHIN GROUP (ORDER BY dept_id) AS result FROM func('e2e::rel_persons') WHERE dept_id IS NOT NULL

Error:

No function matches the given name "MODE"


range_agg_anymultirange_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT RANGE_AGG(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT RANGE_AGG(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT RANGE_AGG(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "RANGE_AGG"


range_agg_anyrange_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT RANGE_AGG(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT RANGE_AGG(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT RANGE_AGG(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "RANGE_AGG"


range_intersect_agg_anymultirange_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT RANGE_INTERSECT_AGG(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT RANGE_INTERSECT_AGG(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT RANGE_INTERSECT_AGG(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "RANGE_INTERSECT_AGG"


range_intersect_agg_anyrange_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT RANGE_INTERSECT_AGG(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT RANGE_INTERSECT_AGG(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT RANGE_INTERSECT_AGG(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "RANGE_INTERSECT_AGG"


regr_avgx__dp_dp__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGR_AVGX(salary, age) AS result FROM persons WHERE salary IS NOT NULL AND age IS NOT NULL

Legend SQL (TDS):

SELECT REGR_AVGX(salary, age) AS result FROM func('e2e::tds_persons') WHERE salary IS NOT NULL AND age IS NOT NULL

Legend SQL (Relation):

SELECT REGR_AVGX(salary, age) AS result FROM func('e2e::rel_persons') WHERE salary IS NOT NULL AND age IS NOT NULL

Error:

No function matches the given name "REGR_AVGX"


regr_avgy__dp_dp__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGR_AVGY(salary, age) AS result FROM persons WHERE salary IS NOT NULL AND age IS NOT NULL

Legend SQL (TDS):

SELECT REGR_AVGY(salary, age) AS result FROM func('e2e::tds_persons') WHERE salary IS NOT NULL AND age IS NOT NULL

Legend SQL (Relation):

SELECT REGR_AVGY(salary, age) AS result FROM func('e2e::rel_persons') WHERE salary IS NOT NULL AND age IS NOT NULL

Error:

No function matches the given name "REGR_AVGY"


regr_count__dp_dp__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGR_COUNT(salary, age) AS result FROM persons WHERE salary IS NOT NULL AND age IS NOT NULL

Legend SQL (TDS):

SELECT REGR_COUNT(salary, age) AS result FROM func('e2e::tds_persons') WHERE salary IS NOT NULL AND age IS NOT NULL

Legend SQL (Relation):

SELECT REGR_COUNT(salary, age) AS result FROM func('e2e::rel_persons') WHERE salary IS NOT NULL AND age IS NOT NULL

Error:

No function matches the given name "REGR_COUNT"


regr_intercept__dp_dp__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGR_INTERCEPT(salary, age) AS result FROM persons WHERE salary IS NOT NULL AND age IS NOT NULL

Legend SQL (TDS):

SELECT REGR_INTERCEPT(salary, age) AS result FROM func('e2e::tds_persons') WHERE salary IS NOT NULL AND age IS NOT NULL

Legend SQL (Relation):

SELECT REGR_INTERCEPT(salary, age) AS result FROM func('e2e::rel_persons') WHERE salary IS NOT NULL AND age IS NOT NULL

Error:

No function matches the given name "REGR_INTERCEPT"


regr_r2__dp_dp__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGR_R2(salary, age) AS result FROM persons WHERE salary IS NOT NULL AND age IS NOT NULL

Legend SQL (TDS):

SELECT REGR_R2(salary, age) AS result FROM func('e2e::tds_persons') WHERE salary IS NOT NULL AND age IS NOT NULL

Legend SQL (Relation):

SELECT REGR_R2(salary, age) AS result FROM func('e2e::rel_persons') WHERE salary IS NOT NULL AND age IS NOT NULL

Error:

No function matches the given name "REGR_R2"


regr_slope__dp_dp__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGR_SLOPE(salary, age) AS result FROM persons WHERE salary IS NOT NULL AND age IS NOT NULL

Legend SQL (TDS):

SELECT REGR_SLOPE(salary, age) AS result FROM func('e2e::tds_persons') WHERE salary IS NOT NULL AND age IS NOT NULL

Legend SQL (Relation):

SELECT REGR_SLOPE(salary, age) AS result FROM func('e2e::rel_persons') WHERE salary IS NOT NULL AND age IS NOT NULL

Error:

No function matches the given name "REGR_SLOPE"


regr_sxx__dp_dp__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGR_SXX(salary, age) AS result FROM persons WHERE salary IS NOT NULL AND age IS NOT NULL

Legend SQL (TDS):

SELECT REGR_SXX(salary, age) AS result FROM func('e2e::tds_persons') WHERE salary IS NOT NULL AND age IS NOT NULL

Legend SQL (Relation):

SELECT REGR_SXX(salary, age) AS result FROM func('e2e::rel_persons') WHERE salary IS NOT NULL AND age IS NOT NULL

Error:

No function matches the given name "REGR_SXX"


regr_sxy__dp_dp__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGR_SXY(salary, age) AS result FROM persons WHERE salary IS NOT NULL AND age IS NOT NULL

Legend SQL (TDS):

SELECT REGR_SXY(salary, age) AS result FROM func('e2e::tds_persons') WHERE salary IS NOT NULL AND age IS NOT NULL

Legend SQL (Relation):

SELECT REGR_SXY(salary, age) AS result FROM func('e2e::rel_persons') WHERE salary IS NOT NULL AND age IS NOT NULL

Error:

No function matches the given name "REGR_SXY"


regr_syy__dp_dp__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGR_SYY(salary, age) AS result FROM persons WHERE salary IS NOT NULL AND age IS NOT NULL

Legend SQL (TDS):

SELECT REGR_SYY(salary, age) AS result FROM func('e2e::tds_persons') WHERE salary IS NOT NULL AND age IS NOT NULL

Legend SQL (Relation):

SELECT REGR_SYY(salary, age) AS result FROM func('e2e::rel_persons') WHERE salary IS NOT NULL AND age IS NOT NULL

Error:

No function matches the given name "REGR_SYY"


xmlagg_xml_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT XMLAGG(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT XMLAGG(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT XMLAGG(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

No function matches the given name "XMLAGG"


generate_series__big_big__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT g.val AS result FROM GENERATE_SERIES(1::bigint, 5::bigint) AS g(val) ORDER BY 1

Legend SQL:

SELECT g.val AS result FROM GENERATE_SERIES(1::bigint, 5::bigint) AS g(val) ORDER BY 1

Error:

No function matches the given name "GENERATE_SERIES"


generate_series__big_big_big__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT g.val AS result FROM GENERATE_SERIES(1::bigint, 10::bigint, 2::bigint) AS g(val) ORDER BY 1

Legend SQL:

SELECT g.val AS result FROM GENERATE_SERIES(1::bigint, 10::bigint, 2::bigint) AS g(val) ORDER BY 1

Error:

No function matches the given name "GENERATE_SERIES"


generate_series__int_int__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT g.val AS result FROM GENERATE_SERIES(1, 5) AS g(val) ORDER BY 1

Legend SQL:

SELECT g.val AS result FROM GENERATE_SERIES(1, 5) AS g(val) ORDER BY 1

Error:

No function matches the given name "GENERATE_SERIES"


generate_series_empty_result

🔴 Failed in both TDS and Relation

Input SQL:

SELECT g.val AS result FROM GENERATE_SERIES(5, 1) AS g(val) ORDER BY 1

Legend SQL:

SELECT g.val AS result FROM GENERATE_SERIES(5, 1) AS g(val) ORDER BY 1

Error:

No function matches the given name "GENERATE_SERIES"


generate_series_single_value

🔴 Failed in both TDS and Relation

Input SQL:

SELECT g.val AS result FROM GENERATE_SERIES(1, 1) AS g(val) ORDER BY 1

Legend SQL:

SELECT g.val AS result FROM GENERATE_SERIES(1, 1) AS g(val) ORDER BY 1

Error:

No function matches the given name "GENERATE_SERIES"


generate_series_in_from

🔴 Failed in both TDS and Relation

Input SQL:

SELECT g.result FROM GENERATE_SERIES(1, 3) AS g(result) ORDER BY 1

Legend SQL:

SELECT g.result FROM GENERATE_SERIES(1, 3) AS g(result) ORDER BY 1

Error:

No function matches the given name "GENERATE_SERIES"


generate_series_cross_join

🔴 Failed in both TDS and Relation

Input SQL:

SELECT p.name, g.val FROM persons p, GENERATE_SERIES(1, 2) AS g(val) WHERE p.id <= 2 ORDER BY 1, 2

Legend SQL (TDS):

SELECT p.name, g.val FROM func('e2e::tds_persons') p, GENERATE_SERIES(1, 2) AS g(val) WHERE p.id <= 2 ORDER BY 1, 2

Legend SQL (Relation):

SELECT p.name, g.val FROM func('e2e::rel_persons') p, GENERATE_SERIES(1, 2) AS g(val) WHERE p.id <= 2 ORDER BY 1, 2

Error:

No function matches the given name "GENERATE_SERIES"


generate_series__int_int_int__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT g.val AS result FROM GENERATE_SERIES(0, 20, 5) AS g(val) ORDER BY 1

Legend SQL:

SELECT g.val AS result FROM GENERATE_SERIES(0, 20, 5) AS g(val) ORDER BY 1

Error:

No function matches the given name "GENERATE_SERIES"


generate_series_negative_step

🔴 Failed in both TDS and Relation

Input SQL:

SELECT g.val AS result FROM GENERATE_SERIES(5, 1, -1) AS g(val) ORDER BY 1

Legend SQL:

SELECT g.val AS result FROM GENERATE_SERIES(5, 1, -1) AS g(val) ORDER BY 1

Error:

No function matches the given name "GENERATE_SERIES"


generate_series__num_num__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT g.val AS result FROM GENERATE_SERIES(1::numeric, 5::numeric) AS g(val) ORDER BY 1

Legend SQL:

SELECT g.val AS result FROM GENERATE_SERIES(1::numeric, 5::numeric) AS g(val) ORDER BY 1

Error:

No function matches the given name "GENERATE_SERIES"


generate_series__num_num_num__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT g.val AS result FROM GENERATE_SERIES(0::numeric, 2::numeric, 0.5::numeric) AS g(val) ORDER BY 1

Legend SQL:

SELECT g.val AS result FROM GENERATE_SERIES(0::numeric, 2::numeric, 0.5::numeric) AS g(val) ORDER BY 1

Error:

No function matches the given name "GENERATE_SERIES"


generate_series__tstz_tstz_intv__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT g.val AS result FROM GENERATE_SERIES('2023-01-01'::timestamptz, '2023-01-05'::timestamptz, '1 day'::interval) AS g(val) ORDER BY 1

Legend SQL:

SELECT g.val AS result FROM GENERATE_SERIES('2023-01-01'::timestamptz, '2023-01-05'::timestamptz, '1 day'::interval) AS g(val) ORDER BY 1

Error:

No function matches the given name "GENERATE_SERIES"


generate_series__tstz_tstz_intv_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT g.val AS result FROM GENERATE_SERIES('2023-01-01'::timestamptz, '2023-01-05'::timestamptz, '1 day'::interval, 'UTC') AS g(val) ORDER BY 1

Legend SQL:

SELECT g.val AS result FROM GENERATE_SERIES('2023-01-01'::timestamptz, '2023-01-05'::timestamptz, '1 day'::interval, 'UTC') AS g(val) ORDER BY 1

Error:

No function matches the given name "GENERATE_SERIES"


generate_series__ts_ts_intv__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT g.val AS result FROM GENERATE_SERIES('2023-01-01'::timestamp, '2023-01-05'::timestamp, '1 day'::interval) AS g(val) ORDER BY 1

Legend SQL:

SELECT g.val AS result FROM GENERATE_SERIES('2023-01-01'::timestamp, '2023-01-05'::timestamp, '1 day'::interval) AS g(val) ORDER BY 1

Error:

No function matches the given name "GENERATE_SERIES"


generate_subscripts__anyarray_int__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT g.val AS result FROM GENERATE_SUBSCRIPTS(ARRAY[10, 20, 30], 1) AS g(val) ORDER BY 1

Legend SQL:

SELECT g.val AS result FROM GENERATE_SUBSCRIPTS(ARRAY[10, 20, 30], 1) AS g(val) ORDER BY 1

Error:

No function matches the given name "GENERATE_SUBSCRIPTS"


generate_subscripts__anyarray_int_bool__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT g.val AS result FROM GENERATE_SUBSCRIPTS(ARRAY[10, 20, 30], 1, false) AS g(val) ORDER BY 1

Legend SQL:

SELECT g.val AS result FROM GENERATE_SUBSCRIPTS(ARRAY[10, 20, 30], 1, false) AS g(val) ORDER BY 1

Error:

No function matches the given name "GENERATE_SUBSCRIPTS"


jsonb_path_query_first__from_column

📗 Relation Path

Input SQL:

SELECT JSONB_PATH_QUERY_FIRST(jsonb_arr, '$[*]') AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_PATH_QUERY_FIRST(jsonb_arr, '$[*]') AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

No function matches the given name "JSONB_PATH_QUERY_FIRST"

RESULT_MISMATCH (13 tests)

div__num_num__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT DIV(numeric_val, 3.0) AS result FROM numbers WHERE numeric_val IS NOT NULL AND numeric_val <> 0 ORDER BY 1

Legend SQL (TDS):

SELECT DIV(numeric_val, 3.0) AS result FROM func('e2e::tds_numbers') WHERE numeric_val IS NOT NULL AND numeric_val <> 0 ORDER BY 1

Legend SQL (Relation):

SELECT DIV(numeric_val, 3.0) AS result FROM func('e2e::rel_numbers') WHERE numeric_val IS NOT NULL AND numeric_val <> 0 ORDER BY 1

Error:

null


concat_ws__txt_variadic__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT CONCAT_WS(', ', val, nullable_val) AS result FROM strings ORDER BY 1

Legend SQL (TDS):

SELECT CONCAT_WS(', ', val, nullable_val) AS result FROM func('e2e::tds_strings') ORDER BY 1

Legend SQL (Relation):

SELECT CONCAT_WS(', ', val, nullable_val) AS result FROM func('e2e::rel_strings') ORDER BY 1

Error:

null


initcap__txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT INITCAP(val) AS result FROM strings ORDER BY 1

Legend SQL (TDS):

SELECT INITCAP(val) AS result FROM func('e2e::tds_strings') ORDER BY 1

Legend SQL (Relation):

SELECT INITCAP(val) AS result FROM func('e2e::rel_strings') ORDER BY 1

Error:

null


string_to_array__txt_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT STRING_TO_ARRAY(val, ' ') AS result FROM strings WHERE val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT STRING_TO_ARRAY(val, ' ') AS result FROM func('e2e::tds_strings') WHERE val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT STRING_TO_ARRAY(val, ' ') AS result FROM func('e2e::rel_strings') WHERE val IS NOT NULL ORDER BY 1

Error:

null


regexp_count__start_position__ignored_by_legend

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGEXP_COUNT(val, '[a-z]', 5) AS result FROM strings WHERE id = 10

Legend SQL (TDS):

SELECT REGEXP_COUNT(val, '[a-z]', 5) AS result FROM func('e2e::tds_strings') WHERE id = 10

Legend SQL (Relation):

SELECT REGEXP_COUNT(val, '[a-z]', 5) AS result FROM func('e2e::rel_strings') WHERE id = 10

Error:

null


regexp_substr__start_position__ignored_by_legend

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGEXP_SUBSTR(val, '[a-z]+', 5) AS result FROM strings WHERE id = 10

Legend SQL (TDS):

SELECT REGEXP_SUBSTR(val, '[a-z]+', 5) AS result FROM func('e2e::tds_strings') WHERE id = 10

Legend SQL (Relation):

SELECT REGEXP_SUBSTR(val, '[a-z]+', 5) AS result FROM func('e2e::rel_strings') WHERE id = 10

Error:

null


regexp_substr__nth_occurrence__ignored_by_legend

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGEXP_SUBSTR(val, '[a-z]+', 1, 2) AS result FROM strings WHERE id = 10

Legend SQL (TDS):

SELECT REGEXP_SUBSTR(val, '[a-z]+', 1, 2) AS result FROM func('e2e::tds_strings') WHERE id = 10

Legend SQL (Relation):

SELECT REGEXP_SUBSTR(val, '[a-z]+', 1, 2) AS result FROM func('e2e::rel_strings') WHERE id = 10

Error:

null


regexp_substr__nth_occurrence_last__ignored_by_legend

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGEXP_SUBSTR(val, '[a-z]+', 1, 4) AS result FROM strings WHERE id = 10

Legend SQL (TDS):

SELECT REGEXP_SUBSTR(val, '[a-z]+', 1, 4) AS result FROM func('e2e::tds_strings') WHERE id = 10

Legend SQL (Relation):

SELECT REGEXP_SUBSTR(val, '[a-z]+', 1, 4) AS result FROM func('e2e::rel_strings') WHERE id = 10

Error:

null


regexp_substr__start_and_nth__ignored_by_legend

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGEXP_SUBSTR(val, '[a-z]+', 5, 2) AS result FROM strings WHERE id = 10

Legend SQL (TDS):

SELECT REGEXP_SUBSTR(val, '[a-z]+', 5, 2) AS result FROM func('e2e::tds_strings') WHERE id = 10

Legend SQL (Relation):

SELECT REGEXP_SUBSTR(val, '[a-z]+', 5, 2) AS result FROM func('e2e::rel_strings') WHERE id = 10

Error:

null


json_extract_path__from_column

📗 Relation Path

Input SQL:

SELECT JSON_EXTRACT_PATH(json_val, 'a', 'b', 'c') AS result FROM json_data WHERE id = 2

Legend SQL:

SELECT JSON_EXTRACT_PATH(json_val, 'a', 'b', 'c') AS result FROM func('e2e::rel_json_data') WHERE id = 2

Error:

null


array_position__anycompatiblearray_anycompatible__from_table

📗 Relation Path

Input SQL:

SELECT ARRAY_POSITION(ARRAY[1,2,3], 2) AS result FROM numbers WHERE id = 1

Legend SQL:

SELECT ARRAY_POSITION(ARRAY[1, 2, 3], 2) AS result FROM func('e2e::rel_numbers') WHERE id = 1

Error:

null


date_literal__fractional_6_digits

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TIMESTAMP '1999-01-08 04:05:06.123456' AS result FROM dates LIMIT 1

Legend SQL (TDS):

SELECT TIMESTAMP '1999-01-08 04:05:06.123456' AS result FROM func('e2e::tds_dates') LIMIT 1

Legend SQL (Relation):

SELECT TIMESTAMP '1999-01-08 04:05:06.123456' AS result FROM func('e2e::rel_dates') LIMIT 1

Error:

null


date_literal__fractional_9_digits

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TIMESTAMP '1999-01-08 04:05:06.123456789' AS result FROM dates LIMIT 1

Legend SQL (TDS):

SELECT TIMESTAMP '1999-01-08 04:05:06.123456789' AS result FROM func('e2e::tds_dates') LIMIT 1

Legend SQL (Relation):

SELECT TIMESTAMP '1999-01-08 04:05:06.123456789' AS result FROM func('e2e::rel_dates') LIMIT 1

Error:

null

MISC (62 tests)

exp__dp__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT EXP(small_val::double precision) AS result FROM numbers WHERE small_val IS NOT NULL AND small_val BETWEEN -10 AND 10 ORDER BY 1

Legend SQL:

null

Error:

Rewrite failed:


exp__num__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT EXP(small_val::double precision) AS result FROM numbers WHERE small_val IS NOT NULL AND small_val BETWEEN -10 AND 10 ORDER BY 1

Legend SQL:

null

Error:

Rewrite failed:


trunc__dp__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TRUNC(float_val::double precision) AS result FROM numbers WHERE float_val IS NOT NULL ORDER BY 1

Legend SQL:

null

Error:

Rewrite failed:


trunc_macaddr_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TRUNC(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT TRUNC(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT TRUNC(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

Postgres rejected reference SQL but Legend executed it successfully. Fix the reference SQL or the Legend parser/planner. Postgres error: ERROR: function trunc(unknown) is not unique Hint: Could not choose a best candidate function. You might need to add explicit type casts. Position: 8


trunc_macaddr8_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TRUNC(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT TRUNC(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT TRUNC(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

Postgres rejected reference SQL but Legend executed it successfully. Fix the reference SQL or the Legend parser/planner. Postgres error: ERROR: function trunc(unknown) is not unique Hint: Could not choose a best candidate function. You might need to add explicit type casts. Position: 8


decode_text_text_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT DECODE(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT DECODE(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT DECODE(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

incorrect number of args to decode


encode_bytea_text_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT ENCODE(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT ENCODE(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT ENCODE(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

incorrect number of args to encode


substr_bytea_integer_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT SUBSTR(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT SUBSTR(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT SUBSTR(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

invalid number of args for substring


substr_bytea_integer_integer_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT SUBSTR(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT SUBSTR(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT SUBSTR(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

invalid number of args for substring


substring_bit_integer_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT SUBSTRING(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT SUBSTRING(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT SUBSTRING(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

invalid number of args for substring


substring_bit_integer_integer_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT SUBSTRING(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT SUBSTRING(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT SUBSTRING(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

invalid number of args for substring


substring_bytea_integer_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT SUBSTRING(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT SUBSTRING(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT SUBSTRING(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

invalid number of args for substring


substring_bytea_integer_integer_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT SUBSTRING(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT SUBSTRING(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT SUBSTRING(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

invalid number of args for substring


substring__txt_txt__from_table

📗 Relation Path

Input SQL:

SELECT SUBSTRING(val FROM '[a-z]+') AS result FROM strings WHERE val ~ '[a-z]' ORDER BY 1

Legend SQL:

SELECT SUBSTRING(val FROM '[a-z]+') AS result FROM func('e2e::rel_strings') WHERE val ~ '[a-z]' ORDER BY 1

Error:

Can't find a match for function 'meta::pure::functions::string::substring(String[1],String[1])'.\nFunctions that can match if parameter types or multiplicities are changed:\n\t\tsubstring(String[1],Integer[1]):String[1]\nFunctions that can match if number of parameters are changed:\n\t\tsubstring(String[1],Integer[1],Integer[1]):String[1]\n


substring_text_text_text_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT SUBSTRING(name) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT SUBSTRING(name) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT SUBSTRING(name) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

invalid number of args for substring


sha256__bytea

🔴 Failed in both TDS and Relation

Input SQL:

SELECT SHA256('Hello') AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT SHA256('Hello') AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT SHA256('Hello') AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

SHA256 function must be wrapped with encode(func, 'hex')


regexp_substr__constant__no_flags

📘 TDS Path

Input SQL:

SELECT REGEXP_SUBSTR('abc123def', '[0-9]+') AS matches, REGEXP_SUBSTR('abcdef', '[0-9]+') AS noMatch FROM strings WHERE id = 1

Legend SQL:

SELECT REGEXP_SUBSTR('abc123def', '[0-9]+') AS matches, REGEXP_SUBSTR('abcdef', '[0-9]+') AS noMatch FROM func('e2e::tds_strings') WHERE id = 1

Error:

Execution error at ??, "Cannot cast a collection of size 0 to multiplicity [1]"


regexp_substr__constant__start_pos

📘 TDS Path

Input SQL:

SELECT REGEXP_SUBSTR('abc123def', '[a-z]+', 1) AS matches, REGEXP_SUBSTR('123', '[a-z]+', 1) AS noMatch FROM strings WHERE id = 1

Legend SQL:

SELECT REGEXP_SUBSTR('abc123def', '[a-z]+', 1) AS matches, REGEXP_SUBSTR('123', '[a-z]+', 1) AS noMatch FROM func('e2e::tds_strings') WHERE id = 1

Error:

Execution error at ??, "Cannot cast a collection of size 0 to multiplicity [1]"


regexp_substr__constant__start_pos_occurrence

📘 TDS Path

Input SQL:

SELECT REGEXP_SUBSTR('abc123def', '[a-z]+', 1, 1) AS matches, REGEXP_SUBSTR('123', '[a-z]+', 1, 1) AS noMatch FROM strings WHERE id = 1

Legend SQL:

SELECT REGEXP_SUBSTR('abc123def', '[a-z]+', 1, 1) AS matches, REGEXP_SUBSTR('123', '[a-z]+', 1, 1) AS noMatch FROM func('e2e::tds_strings') WHERE id = 1

Error:

Execution error at ??, "Cannot cast a collection of size 0 to multiplicity [1]"


regexp_substr__constant__flag_in

📘 TDS Path

Input SQL:

SELECT REGEXP_SUBSTR('HELLO
world', '^[a-z]+$', 1, 1, 'in') AS matches, REGEXP_SUBSTR('123
456', '^[a-z]+$', 1, 1, 'in') AS noMatch FROM strings WHERE id = 1

Legend SQL:

SELECT REGEXP_SUBSTR('HELLO
world', '^[a-z]+$', 1, 1, 'in') AS matches, REGEXP_SUBSTR('123
456', '^[a-z]+$', 1, 1, 'in') AS noMatch FROM func('e2e::tds_strings') WHERE id = 1

Error:

Execution error at ??, "Cannot cast a collection of size 0 to multiplicity [1]"


regexp_substr__constant__flag_i

📘 TDS Path

Input SQL:

SELECT REGEXP_SUBSTR('ABC123', '[a-z]+', 1, 1, 'i') AS matches, REGEXP_SUBSTR('123', '[a-z]+', 1, 1, 'i') AS noMatch FROM strings WHERE id = 1

Legend SQL:

SELECT REGEXP_SUBSTR('ABC123', '[a-z]+', 1, 1, 'i') AS matches, REGEXP_SUBSTR('123', '[a-z]+', 1, 1, 'i') AS noMatch FROM func('e2e::tds_strings') WHERE id = 1

Error:

Execution error at ??, "Cannot cast a collection of size 0 to multiplicity [1]"


regexp_substr__constant__flag_c

📘 TDS Path

Input SQL:

SELECT REGEXP_SUBSTR('abc123', '[a-z]+', 1, 1, 'c') AS matches, REGEXP_SUBSTR('ABC123', '[a-z]+', 1, 1, 'c') AS noMatch FROM strings WHERE id = 1

Legend SQL:

SELECT REGEXP_SUBSTR('abc123', '[a-z]+', 1, 1, 'c') AS matches, REGEXP_SUBSTR('ABC123', '[a-z]+', 1, 1, 'c') AS noMatch FROM func('e2e::tds_strings') WHERE id = 1

Error:

Execution error at ??, "Cannot cast a collection of size 0 to multiplicity [1]"


regexp_substr__constant__flag_s

📘 TDS Path

Input SQL:

SELECT REGEXP_SUBSTR('hello
world', '.+', 1, 1, 's') AS matches, REGEXP_SUBSTR('', '.+', 1, 1, 's') AS noMatch FROM strings WHERE id = 1

Legend SQL:

SELECT REGEXP_SUBSTR('hello
world', '.+', 1, 1, 's') AS matches, REGEXP_SUBSTR('', '.+', 1, 1, 's') AS noMatch FROM func('e2e::tds_strings') WHERE id = 1

Error:

Execution error at ??, "Cannot cast a collection of size 0 to multiplicity [1]"


regexp_substr__constant__flag_n

📘 TDS Path

Input SQL:

SELECT REGEXP_SUBSTR('hello
world', '^world$', 1, 1, 'n') AS matches, REGEXP_SUBSTR('hello
world', '^nothere$', 1, 1, 'n') AS noMatch FROM strings WHERE id = 1

Legend SQL:

SELECT REGEXP_SUBSTR('hello
world', '^world$', 1, 1, 'n') AS matches, REGEXP_SUBSTR('hello
world', '^nothere$', 1, 1, 'n') AS noMatch FROM func('e2e::tds_strings') WHERE id = 1

Error:

Execution error at ??, "Cannot cast a collection of size 0 to multiplicity [1]"


regexp_substr__constant__flag_m

📘 TDS Path

Input SQL:

SELECT REGEXP_SUBSTR('hello
world', '^world$', 1, 1, 'm') AS matches, REGEXP_SUBSTR('hello
world', '^nothere$', 1, 1, 'm') AS noMatch FROM strings WHERE id = 1

Legend SQL:

SELECT REGEXP_SUBSTR('hello
world', '^world$', 1, 1, 'm') AS matches, REGEXP_SUBSTR('hello
world', '^nothere$', 1, 1, 'm') AS noMatch FROM func('e2e::tds_strings') WHERE id = 1

Error:

Execution error at ??, "Cannot cast a collection of size 0 to multiplicity [1]"


regexp_substr__constant__subexpr

📘 TDS Path

Input SQL:

SELECT REGEXP_SUBSTR('abc123def', '([a-z]+)([0-9]+)', 1, 1, 'i', 0) AS matches, REGEXP_SUBSTR('!!!', '([a-z]+)', 1, 1, 'i', 0) AS noMatch FROM strings WHERE id = 1

Legend SQL:

SELECT REGEXP_SUBSTR('abc123def', '([a-z]+)([0-9]+)', 1, 1, 'i', 0) AS matches, REGEXP_SUBSTR('!!!', '([a-z]+)', 1, 1, 'i', 0) AS noMatch FROM func('e2e::tds_strings') WHERE id = 1

Error:

Execution error at ??, "Cannot cast a collection of size 0 to multiplicity [1]"


to_char__intv_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TO_CHAR(INTERVAL '1 year 2 months 3 days', 'YYYY MM DD') AS result FROM dates WHERE id = 1

Legend SQL (TDS):

SELECT TO_CHAR(INTERVAL '1 year 2 months 3 days', 'YYYY MM DD') AS result FROM func('e2e::tds_dates') WHERE id = 1

Legend SQL (Relation):

SELECT TO_CHAR(INTERVAL '1 year 2 months 3 days', 'YYYY MM DD') AS result FROM func('e2e::rel_dates') WHERE id = 1

Error:

interval literal only supported in certain contexts


date_trunc__txt_intv__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT DATE_TRUNC('hour', INTERVAL '3 hours 15 minutes') AS result FROM dates WHERE id = 1

Legend SQL (TDS):

SELECT DATE_TRUNC('hour', INTERVAL '3 hours 15 minutes') AS result FROM func('e2e::tds_dates') WHERE id = 1

Legend SQL (Relation):

SELECT DATE_TRUNC('hour', INTERVAL '3 hours 15 minutes') AS result FROM func('e2e::rel_dates') WHERE id = 1

Error:

interval literal only supported in certain contexts


extract__txt_intv__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT EXTRACT(HOUR FROM INTERVAL '3 hours 15 minutes') AS result FROM dates WHERE id = 1

Legend SQL (TDS):

SELECT EXTRACT(HOUR FROM INTERVAL '3 hours 15 minutes') AS result FROM func('e2e::tds_dates') WHERE id = 1

Legend SQL (Relation):

SELECT EXTRACT(HOUR FROM INTERVAL '3 hours 15 minutes') AS result FROM func('e2e::rel_dates') WHERE id = 1

Error:

interval literal only supported in certain contexts


coalesce__all_null

📘 TDS Path

Input SQL:

SELECT COALESCE(NULL, NULL, NULL) AS result FROM persons WHERE id = 1

Legend SQL:

SELECT COALESCE(NULL, NULL, NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Error:

Execution error at (resource:/core/pure/tds/tdsSchema.pure line:358 column:135), "Cannot cast a collection of size 0 to multiplicity [1]"

📗 Relation Path

Input SQL:

SELECT COALESCE(NULL, NULL, NULL) AS result FROM persons WHERE id = 1

Legend SQL:

SELECT COALESCE(NULL, NULL, NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

Column type is empty for col: result


cume_dist_VARIADIC_any_ORDER_BY_VARIAD_cov

📗 Relation Path

Input SQL:

SELECT CUME_DIST(NULL) AS result FROM persons WHERE id = 1

Legend SQL:

SELECT CUME_DIST(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

incorrect number of args for cume_dist


dense_rank_VARIADIC_any_ORDER_BY_VARIAD_cov

📗 Relation Path

Input SQL:

SELECT DENSE_RANK(NULL) AS result FROM persons WHERE id = 1

Legend SQL:

SELECT DENSE_RANK(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

Can't find variable class for variable 'p' in the graph


percent_rank_VARIADIC_any_ORDER_BY_VARIAD_cov

📗 Relation Path

Input SQL:

SELECT PERCENT_RANK(NULL) AS result FROM persons WHERE id = 1

Legend SQL:

SELECT PERCENT_RANK(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

incorrect number of args for percent_rank


percentile_disc_double_precision_ORDER_BY_anye_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT PERCENTILE_DISC(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT PERCENTILE_DISC(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT PERCENTILE_DISC(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

percentile must be within group


percentile_disc_double_precision_ORDER_BY_an_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT PERCENTILE_DISC(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT PERCENTILE_DISC(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT PERCENTILE_DISC(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

percentile must be within group


rank_VARIADIC_any_ORDER_BY_VARIAD_cov

📗 Relation Path

Input SQL:

SELECT RANK(NULL) AS result FROM persons WHERE id = 1

Legend SQL:

SELECT RANK(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

Can't find variable class for variable 'p' in the graph


string_agg_bytea_bytea_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT STRING_AGG(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT STRING_AGG(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT STRING_AGG(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

Error mapping not found for class Nil cache:''


sum_money_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT SUM(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT SUM(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT SUM(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

Error mapping not found for class Nil cache:''


last_value__anyelement__from_table

📗 Relation Path

Input SQL:

SELECT name, LAST_VALUE(name) OVER (ORDER BY name ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) AS result FROM persons WHERE name IS NOT NULL ORDER BY name

Legend SQL:

SELECT name, LAST_VALUE(name) OVER (ORDER BY name ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) AS result FROM func('e2e::rel_persons') WHERE name IS NOT NULL ORDER BY name

Error:

Cannot invoke "Object.getClass()" because "resO" is null


currval__regclass__basic

🔴 Failed in both TDS and Relation

Input SQL:

SELECT CURRVAL('test_seq') AS result FROM (SELECT NEXTVAL('test_seq')) AS init

Legend SQL:

SELECT CURRVAL('test_seq') AS result FROM (SELECT NEXTVAL('test_seq')) AS init

Error:

ERROR: org.postgresql.util.PSQLException: ERROR: relation "test_seq" does not exist Position: 59


lastval__basic

🔴 Failed in both TDS and Relation

Input SQL:

SELECT LASTVAL() AS result FROM (SELECT NEXTVAL('test_seq')) AS init

Legend SQL:

SELECT LASTVAL() AS result FROM (SELECT NEXTVAL('test_seq')) AS init

Error:

ERROR: org.postgresql.util.PSQLException: ERROR: relation "test_seq" does not exist Position: 49


nextval__regclass__basic

🔴 Failed in both TDS and Relation

Input SQL:

SELECT NEXTVAL('test_seq') AS result

Legend SQL:

SELECT NEXTVAL('test_seq') AS result

Error:

ERROR: org.postgresql.util.PSQLException: ERROR: relation "test_seq" does not exist Position: 16


setval__regclass_big__basic

🔴 Failed in both TDS and Relation

Input SQL:

SELECT SETVAL('test_seq', 42) AS result

Legend SQL:

SELECT SETVAL('test_seq', 42) AS result

Error:

ERROR: org.postgresql.util.PSQLException: ERROR: relation "test_seq" does not exist Position: 15


setval__regclass_big_bool__basic

🔴 Failed in both TDS and Relation

Input SQL:

SELECT SETVAL('test_seq', 100, true) AS result

Legend SQL:

SELECT SETVAL('test_seq', 100, true) AS result

Error:

ERROR: org.postgresql.util.PSQLException: ERROR: relation "test_seq" does not exist Position: 15


digest_sha1__bytea

🔴 Failed in both TDS and Relation

Input SQL:

SELECT digest('Hello, World!', 'sha1') AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT digest('Hello, World!', 'sha1') AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT digest('Hello, World!', 'sha1') AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

SHA1 function must be wrapped with encode(func, 'hex')


digest_sha256__bytea

🔴 Failed in both TDS and Relation

Input SQL:

SELECT digest('Hello, World!', 'sha256') AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT digest('Hello, World!', 'sha256') AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT digest('Hello, World!', 'sha256') AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

SHA256 function must be wrapped with encode(func, 'hex')


digest_md5__bytea

🔴 Failed in both TDS and Relation

Input SQL:

SELECT digest('Hello, World!', 'md5') AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT digest('Hello, World!', 'md5') AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT digest('Hello, World!', 'md5') AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

MD5 function must be wrapped with encode(func, 'hex')


digest_sha1_column__bytea

🔴 Failed in both TDS and Relation

Input SQL:

SELECT digest(name, 'sha1') AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT digest(name, 'sha1') AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT digest(name, 'sha1') AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

SHA1 function must be wrapped with encode(func, 'hex')


digest_sha256_column__bytea

🔴 Failed in both TDS and Relation

Input SQL:

SELECT digest(name, 'sha256') AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT digest(name, 'sha256') AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT digest(name, 'sha256') AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

SHA256 function must be wrapped with encode(func, 'hex')


digest_md5_column__bytea

🔴 Failed in both TDS and Relation

Input SQL:

SELECT digest(name, 'md5') AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT digest(name, 'md5') AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT digest(name, 'md5') AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

MD5 function must be wrapped with encode(func, 'hex')


date_literal__datetime_t_with_tz

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TIMESTAMP WITH TIME ZONE '1999-01-08T04:05:06+05:30' AS result FROM dates LIMIT 1

Legend SQL:

null

Error:

Rewrite failed:


date_literal__mdy_us_style

🔴 Failed in both TDS and Relation

Input SQL:

SELECT DATE '1/8/1999' AS result FROM dates LIMIT 1

Legend SQL (TDS):

SELECT DATE '1/8/1999' AS result FROM func('e2e::tds_dates') LIMIT 1

Legend SQL (Relation):

SELECT DATE '1/8/1999' AS result FROM func('e2e::rel_dates') LIMIT 1

Error:

Execution error at ??, "Failed to parse date string: 1/8/1999"


date_literal__tz_with_subseconds

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TIMESTAMP WITH TIME ZONE '1999-01-08 04:05:06.789+05:30' AS result FROM dates LIMIT 1

Legend SQL:

null

Error:

Rewrite failed:


date_literal__bc_date

🔴 Failed in both TDS and Relation

Input SQL:

SELECT DATE 'January 8, 99 BC' AS result FROM dates LIMIT 1

Legend SQL (TDS):

SELECT DATE 'January 8, 99 BC' AS result FROM func('e2e::tds_dates') LIMIT 1

Legend SQL (Relation):

SELECT DATE 'January 8, 99 BC' AS result FROM func('e2e::rel_dates') LIMIT 1

Error:

ERROR: time zone displacement out of range: "-98-01-08"\n Position: 75


date_literal__tz_utc

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TIMESTAMP WITH TIME ZONE '1999-01-08 04:05:06+00:00' AS result FROM dates LIMIT 1

Legend SQL:

null

Error:

Rewrite failed:


date_literal__tz_negative_offset

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TIMESTAMP WITH TIME ZONE '1999-01-08 04:05:06-05:00' AS result FROM dates LIMIT 1

Legend SQL:

null

Error:

Rewrite failed:


date_literal__two_digit_year

🔴 Failed in both TDS and Relation

Input SQL:

SELECT DATE '99-01-08' AS result FROM dates LIMIT 1

Legend SQL (TDS):

SELECT DATE '99-01-08' AS result FROM func('e2e::tds_dates') LIMIT 1

Legend SQL (Relation):

SELECT DATE '99-01-08' AS result FROM func('e2e::rel_dates') LIMIT 1

Error:

Postgres rejected reference SQL but Legend executed it successfully. Fix the reference SQL or the Legend parser/planner. Postgres error: ERROR: date/time field value out of range: "99-01-08" Hint: Perhaps you need a different "datestyle" setting. Position: 13


date_literal__mdy_dashes

🔴 Failed in both TDS and Relation

Input SQL:

SELECT DATE '1-8-1999' AS result FROM dates LIMIT 1

Legend SQL (TDS):

SELECT DATE '1-8-1999' AS result FROM func('e2e::tds_dates') LIMIT 1

Legend SQL (Relation):

SELECT DATE '1-8-1999' AS result FROM func('e2e::rel_dates') LIMIT 1

Error:

Execution error at ??, "Failed to parse date string: 1-8-1999"


date_literal__tz_positive_offset

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TIMESTAMP WITH TIME ZONE '1999-01-08 04:05:06+02' AS result FROM dates LIMIT 1

Legend SQL:

null

Error:

Rewrite failed:


date_literal__mdy_timestamp

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TIMESTAMP '1/8/1999 04:05:06' AS result FROM dates LIMIT 1

Legend SQL (TDS):

SELECT TIMESTAMP '1/8/1999 04:05:06' AS result FROM func('e2e::tds_dates') LIMIT 1

Legend SQL (Relation):

SELECT TIMESTAMP '1/8/1999 04:05:06' AS result FROM func('e2e::rel_dates') LIMIT 1

Error:

Execution error at ??, "Failed to parse date string: 1/8/1999 04:05:06"


date_literal__dmy_dots

🔴 Failed in both TDS and Relation

Input SQL:

SELECT DATE '31.1.1999' AS result FROM dates LIMIT 1

Legend SQL (TDS):

SELECT DATE '31.1.1999' AS result FROM func('e2e::tds_dates') LIMIT 1

Legend SQL (Relation):

SELECT DATE '31.1.1999' AS result FROM func('e2e::rel_dates') LIMIT 1

Error:

Execution error at ??, "Failed to parse date string: 31.1.1999"


date_literal__tz_abbrev_stripped

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TIMESTAMP WITH TIME ZONE '1999-01-08 04:05:06 PST' AS result FROM dates LIMIT 1

Legend SQL:

null

Error:

Rewrite failed:

UNSUPPORTED_SYNTAX (60 tests)

log__num_num__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT LOG(10::numeric, ABS(numeric_val) + 1) AS result FROM numbers WHERE numeric_val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT LOG(10::numeric, ABS(numeric_val) + 1) AS result FROM func('e2e::tds_numbers') WHERE numeric_val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT LOG(10::numeric, ABS(numeric_val) + 1) AS result FROM func('e2e::rel_numbers') WHERE numeric_val IS NOT NULL ORDER BY 1

Error:

Unsupported: only base 10 supported for log function


trunc__num_int__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TRUNC(numeric_val, 2) AS result FROM numbers WHERE numeric_val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT TRUNC(numeric_val, 2) AS result FROM func('e2e::tds_numbers') WHERE numeric_val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT TRUNC(numeric_val, 2) AS result FROM func('e2e::rel_numbers') WHERE numeric_val IS NOT NULL ORDER BY 1

Error:

Unsupported: trunc with defined decimal places is not currently supported


btrim__txt_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT BTRIM(val, 'hx') AS result FROM strings ORDER BY 1

Legend SQL (TDS):

SELECT BTRIM(val, 'hx') AS result FROM func('e2e::tds_strings') ORDER BY 1

Legend SQL (Relation):

SELECT BTRIM(val, 'hx') AS result FROM func('e2e::rel_strings') ORDER BY 1

Error:

only empty string trim is currently supported


string_to_array__txt_txt_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT STRING_TO_ARRAY(val, ' ', '') AS result FROM strings WHERE val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT STRING_TO_ARRAY(val, ' ', '') AS result FROM func('e2e::tds_strings') WHERE val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT STRING_TO_ARRAY(val, ' ', '') AS result FROM func('e2e::rel_strings') WHERE val IS NOT NULL ORDER BY 1

Error:

Unsupported: only string_to_array with arg 2 supported


regexp_instr__constant__extra_args_error

🔴 Failed in both TDS and Relation

Input SQL:

SELECT REGEXP_INSTR('abc123', '[0-9]', 1) AS result FROM strings WHERE id = 1

Legend SQL (TDS):

SELECT REGEXP_INSTR('abc123', '[0-9]', 1) AS result FROM func('e2e::tds_strings') WHERE id = 1

Legend SQL (Relation):

SELECT REGEXP_INSTR('abc123', '[0-9]', 1) AS result FROM func('e2e::rel_strings') WHERE id = 1

Error:

regexp_instr with a start position, occurrence or flags is not supported


to_char__big_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TO_CHAR(big_val, '9999999999') AS result FROM numbers WHERE big_val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT TO_CHAR(big_val, '9999999999') AS result FROM func('e2e::tds_numbers') WHERE big_val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT TO_CHAR(big_val, '9999999999') AS result FROM func('e2e::rel_numbers') WHERE big_val IS NOT NULL ORDER BY 1

Error:

Unsupported: to_char currently only supported for date inputs


to_char__dp_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TO_CHAR(float_val, '999.99') AS result FROM numbers WHERE float_val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT TO_CHAR(float_val, '999.99') AS result FROM func('e2e::tds_numbers') WHERE float_val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT TO_CHAR(float_val, '999.99') AS result FROM func('e2e::rel_numbers') WHERE float_val IS NOT NULL ORDER BY 1

Error:

Unsupported: to_char currently only supported for date inputs


to_char__int_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TO_CHAR(int_val, '999999') AS result FROM numbers WHERE int_val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT TO_CHAR(int_val, '999999') AS result FROM func('e2e::tds_numbers') WHERE int_val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT TO_CHAR(int_val, '999999') AS result FROM func('e2e::rel_numbers') WHERE int_val IS NOT NULL ORDER BY 1

Error:

Unsupported: to_char currently only supported for date inputs


to_char__num_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TO_CHAR(numeric_val, '999999.99') AS result FROM numbers WHERE numeric_val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT TO_CHAR(numeric_val, '999999.99') AS result FROM func('e2e::tds_numbers') WHERE numeric_val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT TO_CHAR(numeric_val, '999999.99') AS result FROM func('e2e::rel_numbers') WHERE numeric_val IS NOT NULL ORDER BY 1

Error:

Unsupported: to_char currently only supported for date inputs


json_build_array__empty

📗 Relation Path

Input SQL:

SELECT JSON_BUILD_ARRAY() AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSON_BUILD_ARRAY() AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

Unsupported type on column: result (meta::pure::functions::collection::List), only primitive types and enums are supported


json_build_object__empty

📗 Relation Path

Input SQL:

SELECT JSON_BUILD_OBJECT() AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSON_BUILD_OBJECT() AS result FROM func('e2e::rel_json_data') WHERE id = 1

Error:

Unsupported type on column: result (meta::pure::functions::collection::Map), only primitive types and enums are supported


json_build_array__variadic__from_column

📗 Relation Path

Input SQL:

SELECT JSON_BUILD_ARRAY(id, json_val ->> 'b') AS result FROM json_data WHERE id <= 3 ORDER BY id

Legend SQL:

SELECT JSON_BUILD_ARRAY(id, json_val ->> 'b') AS result FROM func('e2e::rel_json_data') WHERE id <= 3 ORDER BY id

Error:

Unsupported type on column: result (meta::pure::functions::collection::List), only primitive types and enums are supported


json_build_object__variadic__from_column

📗 Relation Path

Input SQL:

SELECT JSON_BUILD_OBJECT('id', id, 'val', json_val ->> 'b') AS result FROM json_data WHERE id <= 3 ORDER BY id

Legend SQL:

SELECT JSON_BUILD_OBJECT('id', id, 'val', json_val ->> 'b') AS result FROM func('e2e::rel_json_data') WHERE id <= 3 ORDER BY id

Error:

Unsupported type on column: result (meta::pure::functions::collection::Map), only primitive types and enums are supported


array_position__anycompatiblearray_anycompatible__from_table

📘 TDS Path

Input SQL:

SELECT ARRAY_POSITION(ARRAY[1,2,3], 2) AS result FROM numbers WHERE id = 1

Legend SQL:

SELECT ARRAY_POSITION(ARRAY[1, 2, 3], 2) AS result FROM func('e2e::tds_numbers') WHERE id = 1

Error:

Unsupported: array_position only supported on relation inputs


array_position__anycompatiblearray_anycompatible_int__with_start

📘 TDS Path

Input SQL:

SELECT ARRAY_POSITION(ARRAY[1,2,3,2], 2, 2) AS result FROM numbers WHERE id = 1

Legend SQL:

SELECT ARRAY_POSITION(ARRAY[1, 2, 3, 2], 2, 2) AS result FROM func('e2e::tds_numbers') WHERE id = 1

Error:

Unsupported: array_position only supported on relation inputs

📗 Relation Path

Input SQL:

SELECT ARRAY_POSITION(ARRAY[1,2,3,2], 2, 2) AS result FROM numbers WHERE id = 1

Legend SQL:

SELECT ARRAY_POSITION(ARRAY[1, 2, 3, 2], 2, 2) AS result FROM func('e2e::rel_numbers') WHERE id = 1

Error:

Unsupported: only two arg array_position supported


avg__intv__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT AVG(INTERVAL '1 day' * id) AS result FROM numbers WHERE id <= 3

Legend SQL (TDS):

SELECT AVG(INTERVAL '1 day' * id) AS result FROM func('e2e::tds_numbers') WHERE id <= 3

Legend SQL (Relation):

SELECT AVG(INTERVAL '1 day' * id) AS result FROM func('e2e::rel_numbers') WHERE id <= 3

Error:

date arithmetic expression not currently supported


cume_dist_VARIADIC_any_ORDER_BY_VARIAD_cov

📘 TDS Path

Input SQL:

SELECT CUME_DIST(NULL) AS result FROM persons WHERE id = 1

Legend SQL:

SELECT CUME_DIST(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Error:

Unsupported: cume_dist only supported on relation inputs


dense_rank_VARIADIC_any_ORDER_BY_VARIAD_cov

📘 TDS Path

Input SQL:

SELECT DENSE_RANK(NULL) AS result FROM persons WHERE id = 1

Legend SQL:

SELECT DENSE_RANK(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Error:

Unsupported type on column: result (meta::pure::functions::collection::Map), only primitive types and enums are supported


max_anyarray_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MAX(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT MAX(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT MAX(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

Unsupported type on column: result (meta::pure::metamodel::type::Nil), only primitive types and enums are supported


max_anyenum_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MAX(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT MAX(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT MAX(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

Unsupported type on column: result (meta::pure::metamodel::type::Nil), only primitive types and enums are supported


max_inet_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MAX(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT MAX(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT MAX(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

Unsupported type on column: result (meta::pure::metamodel::type::Nil), only primitive types and enums are supported


max__intv__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MAX(INTERVAL '1 day' * id) AS result FROM numbers WHERE id <= 5

Legend SQL (TDS):

SELECT MAX(INTERVAL '1 day' * id) AS result FROM func('e2e::tds_numbers') WHERE id <= 5

Legend SQL (Relation):

SELECT MAX(INTERVAL '1 day' * id) AS result FROM func('e2e::rel_numbers') WHERE id <= 5

Error:

date arithmetic expression not currently supported


max_money_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MAX(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT MAX(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT MAX(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

Unsupported type on column: result (meta::pure::metamodel::type::Nil), only primitive types and enums are supported


max_oid_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MAX(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT MAX(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT MAX(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

Unsupported type on column: result (meta::pure::metamodel::type::Nil), only primitive types and enums are supported


max_pg_lsn_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MAX(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT MAX(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT MAX(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

Unsupported type on column: result (meta::pure::metamodel::type::Nil), only primitive types and enums are supported


max_tid_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MAX(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT MAX(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT MAX(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

Unsupported type on column: result (meta::pure::metamodel::type::Nil), only primitive types and enums are supported


max_xid8_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MAX(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT MAX(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT MAX(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

Unsupported type on column: result (meta::pure::metamodel::type::Nil), only primitive types and enums are supported


min_anyarray_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MIN(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT MIN(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT MIN(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

Unsupported type on column: result (meta::pure::metamodel::type::Nil), only primitive types and enums are supported


min_anyenum_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MIN(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT MIN(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT MIN(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

Unsupported type on column: result (meta::pure::metamodel::type::Nil), only primitive types and enums are supported


min_inet_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MIN(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT MIN(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT MIN(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

Unsupported type on column: result (meta::pure::metamodel::type::Nil), only primitive types and enums are supported


min__intv__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MIN(INTERVAL '1 day' * id) AS result FROM numbers WHERE id <= 5

Legend SQL (TDS):

SELECT MIN(INTERVAL '1 day' * id) AS result FROM func('e2e::tds_numbers') WHERE id <= 5

Legend SQL (Relation):

SELECT MIN(INTERVAL '1 day' * id) AS result FROM func('e2e::rel_numbers') WHERE id <= 5

Error:

date arithmetic expression not currently supported


min_money_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MIN(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT MIN(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT MIN(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

Unsupported type on column: result (meta::pure::metamodel::type::Nil), only primitive types and enums are supported


min_oid_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MIN(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT MIN(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT MIN(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

Unsupported type on column: result (meta::pure::metamodel::type::Nil), only primitive types and enums are supported


min_pg_lsn_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MIN(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT MIN(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT MIN(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

Unsupported type on column: result (meta::pure::metamodel::type::Nil), only primitive types and enums are supported


min_tid_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MIN(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT MIN(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT MIN(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

Unsupported type on column: result (meta::pure::metamodel::type::Nil), only primitive types and enums are supported


min_xid8_cov

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MIN(NULL) AS result FROM persons WHERE id = 1

Legend SQL (TDS):

SELECT MIN(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Legend SQL (Relation):

SELECT MIN(NULL) AS result FROM func('e2e::rel_persons') WHERE id = 1

Error:

Unsupported type on column: result (meta::pure::metamodel::type::Nil), only primitive types and enums are supported


percent_rank_VARIADIC_any_ORDER_BY_VARIAD_cov

📘 TDS Path

Input SQL:

SELECT PERCENT_RANK(NULL) AS result FROM persons WHERE id = 1

Legend SQL:

SELECT PERCENT_RANK(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Error:

Unsupported: percent_rank only supported on relation inputs


rank_VARIADIC_any_ORDER_BY_VARIAD_cov

📘 TDS Path

Input SQL:

SELECT RANK(NULL) AS result FROM persons WHERE id = 1

Legend SQL:

SELECT RANK(NULL) AS result FROM func('e2e::tds_persons') WHERE id = 1

Error:

Unsupported type on column: result (meta::pure::functions::collection::Map), only primitive types and enums are supported


string_agg__txt_txt__from_table

📘 TDS Path

Input SQL:

SELECT STRING_AGG(name, ', ' ORDER BY name) AS result FROM persons WHERE name IS NOT NULL

Legend SQL:

SELECT STRING_AGG(name, ', ' ORDER BY name) AS result FROM func('e2e::tds_persons') WHERE name IS NOT NULL

Error:

Unsupported: ordered or filtered aggregation is only supported on relations


string_agg__txt_txt__group_by_ordered

📘 TDS Path

Input SQL:

SELECT dept_id, STRING_AGG(name, ',' ORDER BY id DESC) AS result FROM persons WHERE dept_id IS NOT NULL GROUP BY dept_id ORDER BY 1

Legend SQL:

SELECT dept_id, STRING_AGG(name, ',' ORDER BY id DESC) AS result FROM func('e2e::tds_persons') WHERE dept_id IS NOT NULL GROUP BY dept_id ORDER BY 1

Error:

Unsupported: ordered or filtered aggregation is only supported on relations


string_agg__txt_txt__group_by_ordered_multiple_keys

📘 TDS Path

Input SQL:

SELECT active, STRING_AGG(name, ',' ORDER BY dept_id ASC, id DESC) AS result FROM persons WHERE dept_id IS NOT NULL AND active IS NOT NULL GROUP BY active ORDER BY 1

Legend SQL:

SELECT active, STRING_AGG(name, ',' ORDER BY dept_id ASC, id DESC) AS result FROM func('e2e::tds_persons') WHERE dept_id IS NOT NULL AND active IS NOT NULL GROUP BY active ORDER BY 1

Error:

Unsupported: ordered or filtered aggregation is only supported on relations


string_agg__txt_txt__group_by_ordered_mixed

📘 TDS Path

Input SQL:

SELECT dept_id, STRING_AGG(name, ',' ORDER BY id DESC) AS result, SUM(salary) AS total FROM persons WHERE dept_id IS NOT NULL GROUP BY dept_id ORDER BY 1

Legend SQL:

SELECT dept_id, STRING_AGG(name, ',' ORDER BY id DESC) AS result, SUM(salary) AS total FROM func('e2e::tds_persons') WHERE dept_id IS NOT NULL GROUP BY dept_id ORDER BY 1

Error:

Unsupported: ordered or filtered aggregation is only supported on relations


string_agg__txt_txt__group_by_filtered

📘 TDS Path

Input SQL:

SELECT dept_id, STRING_AGG(name, ',' ORDER BY id DESC) FILTER (WHERE salary > 50000) AS result FROM persons WHERE dept_id IS NOT NULL GROUP BY dept_id ORDER BY 1

Legend SQL:

SELECT dept_id, STRING_AGG(name, ',' ORDER BY id DESC) FILTER (WHERE salary > 50000) AS result FROM func('e2e::tds_persons') WHERE dept_id IS NOT NULL GROUP BY dept_id ORDER BY 1

Error:

Unsupported: ordered or filtered aggregation is only supported on relations


sum__big__group_by_filtered

📘 TDS Path

Input SQL:

SELECT dept_id, SUM(salary) FILTER (WHERE active) AS result FROM persons WHERE dept_id IS NOT NULL GROUP BY dept_id ORDER BY 1

Legend SQL:

SELECT dept_id, SUM(salary) FILTER (WHERE active) AS result FROM func('e2e::tds_persons') WHERE dept_id IS NOT NULL GROUP BY dept_id ORDER BY 1

Error:

Unsupported: ordered or filtered aggregation is only supported on relations


sum__big__group_by_filtered_alongside_unfiltered

📘 TDS Path

Input SQL:

SELECT dept_id, SUM(salary) FILTER (WHERE active) AS filtered, SUM(salary) AS total FROM persons WHERE dept_id IS NOT NULL GROUP BY dept_id ORDER BY 1

Legend SQL:

SELECT dept_id, SUM(salary) FILTER (WHERE active) AS filtered, SUM(salary) AS total FROM func('e2e::tds_persons') WHERE dept_id IS NOT NULL GROUP BY dept_id ORDER BY 1

Error:

Unsupported: ordered or filtered aggregation is only supported on relations


sum__intv__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT SUM(INTERVAL '1 day' * id) AS result FROM numbers WHERE id <= 3

Legend SQL (TDS):

SELECT SUM(INTERVAL '1 day' * id) AS result FROM func('e2e::tds_numbers') WHERE id <= 3

Legend SQL (Relation):

SELECT SUM(INTERVAL '1 day' * id) AS result FROM func('e2e::rel_numbers') WHERE id <= 3

Error:

date arithmetic expression not currently supported


cume_dist__from_table

📘 TDS Path

Input SQL:

SELECT name, CUME_DIST() OVER (ORDER BY age) AS result FROM persons WHERE age IS NOT NULL ORDER BY name

Legend SQL:

SELECT name, CUME_DIST() OVER (ORDER BY age) AS result FROM func('e2e::tds_persons') WHERE age IS NOT NULL ORDER BY name

Error:

Unsupported: cume_dist only supported on relation inputs


first_value__anyelement__from_table

📘 TDS Path

Input SQL:

SELECT name, FIRST_VALUE(name) OVER (ORDER BY name) AS result FROM persons WHERE name IS NOT NULL ORDER BY name

Legend SQL:

SELECT name, FIRST_VALUE(name) OVER (ORDER BY name) AS result FROM func('e2e::tds_persons') WHERE name IS NOT NULL ORDER BY name

Error:

Unsupported: first_value only supported on relation inputs


lag__anycompatible_int_anycompatible__from_table

📘 TDS Path

Input SQL:

SELECT name, LAG(name, 2, 'n/a') OVER (ORDER BY name) AS result FROM persons WHERE name IS NOT NULL ORDER BY name

Legend SQL:

SELECT name, LAG(name, 2, 'n/a') OVER (ORDER BY name) AS result FROM func('e2e::tds_persons') WHERE name IS NOT NULL ORDER BY name

Error:

Unsupported: lag only supported on relation inputs


lag__anyelement__from_table

📘 TDS Path

Input SQL:

SELECT name, LAG(name) OVER (ORDER BY name) AS result FROM persons WHERE name IS NOT NULL ORDER BY name

Legend SQL:

SELECT name, LAG(name) OVER (ORDER BY name) AS result FROM func('e2e::tds_persons') WHERE name IS NOT NULL ORDER BY name

Error:

Unsupported: lag only supported on relation inputs


lag__anyelement_int__from_table

📘 TDS Path

Input SQL:

SELECT name, LAG(name, 2) OVER (ORDER BY name) AS result FROM persons WHERE name IS NOT NULL ORDER BY name

Legend SQL:

SELECT name, LAG(name, 2) OVER (ORDER BY name) AS result FROM func('e2e::tds_persons') WHERE name IS NOT NULL ORDER BY name

Error:

Unsupported: lag only supported on relation inputs


last_value__anyelement__from_table

📘 TDS Path

Input SQL:

SELECT name, LAST_VALUE(name) OVER (ORDER BY name ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) AS result FROM persons WHERE name IS NOT NULL ORDER BY name

Legend SQL:

SELECT name, LAST_VALUE(name) OVER (ORDER BY name ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) AS result FROM func('e2e::tds_persons') WHERE name IS NOT NULL ORDER BY name

Error:

Unsupported: window frame only supported on relation inputs


lead__anycompatible_int_anycompatible__from_table

📘 TDS Path

Input SQL:

SELECT name, LEAD(name, 2, 'n/a') OVER (ORDER BY name) AS result FROM persons WHERE name IS NOT NULL ORDER BY name

Legend SQL:

SELECT name, LEAD(name, 2, 'n/a') OVER (ORDER BY name) AS result FROM func('e2e::tds_persons') WHERE name IS NOT NULL ORDER BY name

Error:

Unsupported: lead only supported on relation inputs


lead__anyelement__from_table

📘 TDS Path

Input SQL:

SELECT name, LEAD(name) OVER (ORDER BY name) AS result FROM persons WHERE name IS NOT NULL ORDER BY name

Legend SQL:

SELECT name, LEAD(name) OVER (ORDER BY name) AS result FROM func('e2e::tds_persons') WHERE name IS NOT NULL ORDER BY name

Error:

Unsupported: lead only supported on relation inputs


lead__anyelement_int__from_table

📘 TDS Path

Input SQL:

SELECT name, LEAD(name, 2) OVER (ORDER BY name) AS result FROM persons WHERE name IS NOT NULL ORDER BY name

Legend SQL:

SELECT name, LEAD(name, 2) OVER (ORDER BY name) AS result FROM func('e2e::tds_persons') WHERE name IS NOT NULL ORDER BY name

Error:

Unsupported: lead only supported on relation inputs


nth_value__anyelement_int__from_table

📘 TDS Path

Input SQL:

SELECT name, NTH_VALUE(name, 2) OVER (ORDER BY name) AS result FROM persons WHERE name IS NOT NULL ORDER BY name

Legend SQL:

SELECT name, NTH_VALUE(name, 2) OVER (ORDER BY name) AS result FROM func('e2e::tds_persons') WHERE name IS NOT NULL ORDER BY name

Error:

Unsupported: lead only supported on relation inputs


ntile__int__from_table

📘 TDS Path

Input SQL:

SELECT name, NTILE(3) OVER (ORDER BY name) AS result FROM persons WHERE name IS NOT NULL ORDER BY name

Legend SQL:

SELECT name, NTILE(3) OVER (ORDER BY name) AS result FROM func('e2e::tds_persons') WHERE name IS NOT NULL ORDER BY name

Error:

Unsupported: ntile only supported on relation inputs


percent_rank__from_table

📘 TDS Path

Input SQL:

SELECT name, PERCENT_RANK() OVER (ORDER BY age) AS result FROM persons WHERE age IS NOT NULL ORDER BY name

Legend SQL:

SELECT name, PERCENT_RANK() OVER (ORDER BY age) AS result FROM func('e2e::tds_persons') WHERE age IS NOT NULL ORDER BY name

Error:

Unsupported: percent_rank only supported on relation inputs


date_literal__infinity

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TIMESTAMP 'infinity' AS result FROM dates LIMIT 1

Legend SQL (TDS):

SELECT TIMESTAMP 'infinity' AS result FROM func('e2e::tds_dates') LIMIT 1

Legend SQL (Relation):

SELECT TIMESTAMP 'infinity' AS result FROM func('e2e::rel_dates') LIMIT 1

Error:

Execution error at ??, "Infinity dates are not supported in Pure"


count__any__group_by_filtered

📘 TDS Path

Input SQL:

SELECT dept_id, COUNT(*) FILTER (WHERE active) AS result FROM persons WHERE dept_id IS NOT NULL GROUP BY dept_id ORDER BY 1

Legend SQL:

SELECT dept_id, COUNT(*) FILTER (WHERE active) AS result FROM func('e2e::tds_persons') WHERE dept_id IS NOT NULL GROUP BY dept_id ORDER BY 1

Error:

Unsupported: ordered or filtered aggregation is only supported on relations

TYPE_ERROR (62 tests)

trunc__num__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TRUNC(numeric_val) AS result FROM numbers WHERE numeric_val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT TRUNC(numeric_val) AS result FROM func('e2e::tds_numbers') WHERE numeric_val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT TRUNC(numeric_val) AS result FROM func('e2e::rel_numbers') WHERE numeric_val IS NOT NULL ORDER BY 1

Error:

ERROR: integer out of range


to_char__real_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TO_CHAR(float_val::real, '999.99') AS result FROM numbers WHERE float_val IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT TO_CHAR(float_val::real, '999.99') AS result FROM func('e2e::tds_numbers') WHERE float_val IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT TO_CHAR(float_val::real, '999.99') AS result FROM func('e2e::rel_numbers') WHERE float_val IS NOT NULL ORDER BY 1

Error:

No value found for REAL, expected one of [BIGINT,BOOLEAN,DATE,DECIMAL,DOUBLE PRECISION,FLOAT8,INTEGER,JSON,NUMERIC,SMALLINT,TEXT,TIMESTAMP,VARCHAR]


to_char__tstz_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT TO_CHAR(tsz::timestamptz, 'YYYY-MM-DD HH24:MI:SS TZ') AS result FROM dates WHERE tsz IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT TO_CHAR(tsz::timestamptz, 'YYYY-MM-DD HH24:MI:SS TZ') AS result FROM func('e2e::tds_dates') WHERE tsz IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT TO_CHAR(tsz::timestamptz, 'YYYY-MM-DD HH24:MI:SS TZ') AS result FROM func('e2e::rel_dates') WHERE tsz IS NOT NULL ORDER BY 1

Error:

No value found for TIMESTAMPTZ, expected one of [BIGINT,BOOLEAN,DATE,DECIMAL,DOUBLE PRECISION,FLOAT8,INTEGER,JSON,NUMERIC,SMALLINT,TEXT,TIMESTAMP,VARCHAR]


date_part__txt_tstz__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT DATE_PART('year', tsz::timestamptz) AS result FROM dates WHERE tsz IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT DATE_PART('year', tsz::timestamptz) AS result FROM func('e2e::tds_dates') WHERE tsz IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT DATE_PART('year', tsz::timestamptz) AS result FROM func('e2e::rel_dates') WHERE tsz IS NOT NULL ORDER BY 1

Error:

No value found for TIMESTAMPTZ, expected one of [BIGINT,BOOLEAN,DATE,DECIMAL,DOUBLE PRECISION,FLOAT8,INTEGER,JSON,NUMERIC,SMALLINT,TEXT,TIMESTAMP,VARCHAR]


date_trunc__txt_tstz__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT DATE_TRUNC('month', tsz::timestamptz) AS result FROM dates WHERE tsz IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT DATE_TRUNC('month', tsz::timestamptz) AS result FROM func('e2e::tds_dates') WHERE tsz IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT DATE_TRUNC('month', tsz::timestamptz) AS result FROM func('e2e::rel_dates') WHERE tsz IS NOT NULL ORDER BY 1

Error:

No value found for TIMESTAMPTZ, expected one of [BIGINT,BOOLEAN,DATE,DECIMAL,DOUBLE PRECISION,FLOAT8,INTEGER,JSON,NUMERIC,SMALLINT,TEXT,TIMESTAMP,VARCHAR]


date_trunc__txt_tstz_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT DATE_TRUNC('month', tsz::timestamptz) AS result FROM dates WHERE tsz IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT DATE_TRUNC('month', tsz::timestamptz) AS result FROM func('e2e::tds_dates') WHERE tsz IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT DATE_TRUNC('month', tsz::timestamptz) AS result FROM func('e2e::rel_dates') WHERE tsz IS NOT NULL ORDER BY 1

Error:

No value found for TIMESTAMPTZ, expected one of [BIGINT,BOOLEAN,DATE,DECIMAL,DOUBLE PRECISION,FLOAT8,INTEGER,JSON,NUMERIC,SMALLINT,TEXT,TIMESTAMP,VARCHAR]


extract__txt_timetz__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT EXTRACT(YEAR FROM tsz::timestamptz) AS result FROM dates WHERE tsz IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT EXTRACT(YEAR FROM tsz::timestamptz) AS result FROM func('e2e::tds_dates') WHERE tsz IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT EXTRACT(YEAR FROM tsz::timestamptz) AS result FROM func('e2e::rel_dates') WHERE tsz IS NOT NULL ORDER BY 1

Error:

No value found for TIMESTAMPTZ, expected one of [BIGINT,BOOLEAN,DATE,DECIMAL,DOUBLE PRECISION,FLOAT8,INTEGER,JSON,NUMERIC,SMALLINT,TEXT,TIMESTAMP,VARCHAR]


extract__txt_time__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT EXTRACT(YEAR FROM tsz::timestamptz) AS result FROM dates WHERE tsz IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT EXTRACT(YEAR FROM tsz::timestamptz) AS result FROM func('e2e::tds_dates') WHERE tsz IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT EXTRACT(YEAR FROM tsz::timestamptz) AS result FROM func('e2e::rel_dates') WHERE tsz IS NOT NULL ORDER BY 1

Error:

No value found for TIMESTAMPTZ, expected one of [BIGINT,BOOLEAN,DATE,DECIMAL,DOUBLE PRECISION,FLOAT8,INTEGER,JSON,NUMERIC,SMALLINT,TEXT,TIMESTAMP,VARCHAR]


extract__txt_tstz__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT EXTRACT(YEAR FROM tsz::timestamptz) AS result FROM dates WHERE tsz IS NOT NULL ORDER BY 1

Legend SQL (TDS):

SELECT EXTRACT(YEAR FROM tsz::timestamptz) AS result FROM func('e2e::tds_dates') WHERE tsz IS NOT NULL ORDER BY 1

Legend SQL (Relation):

SELECT EXTRACT(YEAR FROM tsz::timestamptz) AS result FROM func('e2e::rel_dates') WHERE tsz IS NOT NULL ORDER BY 1

Error:

No value found for TIMESTAMPTZ, expected one of [BIGINT,BOOLEAN,DATE,DECIMAL,DOUBLE PRECISION,FLOAT8,INTEGER,JSON,NUMERIC,SMALLINT,TEXT,TIMESTAMP,VARCHAR]


json_typeof__from_column

📘 TDS Path

Input SQL:

SELECT JSON_TYPEOF(json_val) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSON_TYPEOF(json_val) AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


json_typeof__array_column

📘 TDS Path

Input SQL:

SELECT JSON_TYPEOF(json_arr) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSON_TYPEOF(json_arr) AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_strip_nulls__from_column

📘 TDS Path

Input SQL:

SELECT JSONB_STRIP_NULLS(jsonb_val) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_STRIP_NULLS(jsonb_val) AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


json_object__text_array

📘 TDS Path

Input SQL:

SELECT JSON_OBJECT(ARRAY['a', '1', 'b', '2']) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSON_OBJECT(ARRAY['a', '1', 'b', '2']) AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_extract_path_text__from_column

📘 TDS Path

Input SQL:

SELECT JSONB_EXTRACT_PATH_TEXT(jsonb_val, 'a', 'b', 'c') AS result FROM json_data WHERE id = 2

Legend SQL:

SELECT JSONB_EXTRACT_PATH_TEXT(jsonb_val, 'a', 'b', 'c') AS result FROM func('e2e::tds_json_data') WHERE id = 2

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_path_query_array__from_column

📘 TDS Path

Input SQL:

SELECT JSONB_PATH_QUERY_ARRAY(jsonb_arr, '$[*]') AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_PATH_QUERY_ARRAY(jsonb_arr, '$[*]') AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


json_extract_path_text__from_column

📘 TDS Path

Input SQL:

SELECT JSON_EXTRACT_PATH_TEXT(json_val, 'a', 'b', 'c') AS result FROM json_data WHERE id = 2

Legend SQL:

SELECT JSON_EXTRACT_PATH_TEXT(json_val, 'a', 'b', 'c') AS result FROM func('e2e::tds_json_data') WHERE id = 2

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_object_keys__from_column

📘 TDS Path

Input SQL:

SELECT JSONB_OBJECT_KEYS(jsonb_val) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_OBJECT_KEYS(jsonb_val) AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_agg__from_column

📘 TDS Path

Input SQL:

SELECT JSONB_AGG(jsonb_val ->> 'b') AS result FROM json_data WHERE jsonb_val IS NOT NULL

Legend SQL:

SELECT JSONB_AGG(jsonb_val ->> 'b') AS result FROM func('e2e::tds_json_data') WHERE jsonb_val IS NOT NULL

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_build_object__empty

📘 TDS Path

Input SQL:

SELECT JSONB_BUILD_OBJECT() AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_BUILD_OBJECT() AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_extract_path__from_column

📘 TDS Path

Input SQL:

SELECT JSONB_EXTRACT_PATH(jsonb_val, 'a', 'b', 'c') AS result FROM json_data WHERE id = 2

Legend SQL:

SELECT JSONB_EXTRACT_PATH(jsonb_val, 'a', 'b', 'c') AS result FROM func('e2e::tds_json_data') WHERE id = 2

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_path_query__from_column

📘 TDS Path

Input SQL:

SELECT JSONB_PATH_QUERY(jsonb_val, '$.a') AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_PATH_QUERY(jsonb_val, '$.a') AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


json_extract_path__from_column

📘 TDS Path

Input SQL:

SELECT JSON_EXTRACT_PATH(json_val, 'a', 'b', 'c') AS result FROM json_data WHERE id = 2

Legend SQL:

SELECT JSON_EXTRACT_PATH(json_val, 'a', 'b', 'c') AS result FROM func('e2e::tds_json_data') WHERE id = 2

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_path_exists__from_column

📘 TDS Path

Input SQL:

SELECT JSONB_PATH_EXISTS(jsonb_val, '$.a') AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_PATH_EXISTS(jsonb_val, '$.a') AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_path_exists__with_vars

📘 TDS Path

Input SQL:

SELECT JSONB_PATH_EXISTS(jsonb_val, '$.a ? (@ > $x)', '{"x":0}') AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_PATH_EXISTS(jsonb_val, '$.a ? (@ > $x)', '{"x":0}') AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_set__from_column

📘 TDS Path

Input SQL:

SELECT JSONB_SET(jsonb_val, '{a}', '99') AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_SET(jsonb_val, '{a}', '99') AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_set__create_missing_false

📘 TDS Path

Input SQL:

SELECT JSONB_SET(jsonb_val, '{z}', '"new"', false) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_SET(jsonb_val, '{z}', '"new"', false) AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_path_match__from_column

📘 TDS Path

Input SQL:

SELECT JSONB_PATH_MATCH(jsonb_val, '$.a == 1') AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_PATH_MATCH(jsonb_val, '$.a == 1') AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_build_object__variadic__from_column

📘 TDS Path

Input SQL:

SELECT JSONB_BUILD_OBJECT('id', id, 'val', jsonb_val ->> 'b') AS result FROM json_data WHERE id <= 3 ORDER BY id

Legend SQL:

SELECT JSONB_BUILD_OBJECT('id', id, 'val', jsonb_val ->> 'b') AS result FROM func('e2e::tds_json_data') WHERE id <= 3 ORDER BY id

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


json_strip_nulls__from_column

📘 TDS Path

Input SQL:

SELECT JSON_STRIP_NULLS(json_val) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSON_STRIP_NULLS(json_val) AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_pretty__from_column

📘 TDS Path

Input SQL:

SELECT JSONB_PRETTY(jsonb_val) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_PRETTY(jsonb_val) AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


json_array_length__from_column

📘 TDS Path

Input SQL:

SELECT JSON_ARRAY_LENGTH(json_arr) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSON_ARRAY_LENGTH(json_arr) AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


json_array_length__null

📘 TDS Path

Input SQL:

SELECT JSON_ARRAY_LENGTH(json_arr) AS result FROM json_data WHERE id = 5

Legend SQL:

SELECT JSON_ARRAY_LENGTH(json_arr) AS result FROM func('e2e::tds_json_data') WHERE id = 5

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_array_length__from_column

📘 TDS Path

Input SQL:

SELECT JSONB_ARRAY_LENGTH(jsonb_arr) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_ARRAY_LENGTH(jsonb_arr) AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_array_length__null

📘 TDS Path

Input SQL:

SELECT JSONB_ARRAY_LENGTH(jsonb_arr) AS result FROM json_data WHERE id = 5

Legend SQL:

SELECT JSONB_ARRAY_LENGTH(jsonb_arr) AS result FROM func('e2e::tds_json_data') WHERE id = 5

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_build_array__variadic__from_column

📘 TDS Path

Input SQL:

SELECT JSONB_BUILD_ARRAY(id, jsonb_val ->> 'b') AS result FROM json_data WHERE id <= 3 ORDER BY id

Legend SQL:

SELECT JSONB_BUILD_ARRAY(id, jsonb_val ->> 'b') AS result FROM func('e2e::tds_json_data') WHERE id <= 3 ORDER BY id

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_object_agg__from_column

📘 TDS Path

Input SQL:

SELECT JSONB_OBJECT_AGG(id, jsonb_val ->> 'b') AS result FROM json_data WHERE jsonb_val IS NOT NULL

Legend SQL:

SELECT JSONB_OBJECT_AGG(id, jsonb_val ->> 'b') AS result FROM func('e2e::tds_json_data') WHERE jsonb_val IS NOT NULL

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


json_array_elements__from_column

📘 TDS Path

Input SQL:

SELECT JSON_ARRAY_ELEMENTS(json_arr) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSON_ARRAY_ELEMENTS(json_arr) AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_object__text_array

📘 TDS Path

Input SQL:

SELECT JSONB_OBJECT(ARRAY['a', '1', 'b', '2']) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_OBJECT(ARRAY['a', '1', 'b', '2']) AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


json_object_agg__from_column

📘 TDS Path

Input SQL:

SELECT JSON_OBJECT_AGG(id, json_val ->> 'b') AS result FROM json_data WHERE json_val IS NOT NULL

Legend SQL:

SELECT JSON_OBJECT_AGG(id, json_val ->> 'b') AS result FROM func('e2e::tds_json_data') WHERE json_val IS NOT NULL

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_object__keys_values

📘 TDS Path

Input SQL:

SELECT JSONB_OBJECT(ARRAY['a','b'], ARRAY['1','2']) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_OBJECT(ARRAY['a', 'b'], ARRAY['1', '2']) AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


json_agg__from_column

📘 TDS Path

Input SQL:

SELECT JSON_AGG(json_val ->> 'b') AS result FROM json_data WHERE json_val IS NOT NULL

Legend SQL:

SELECT JSON_AGG(json_val ->> 'b') AS result FROM func('e2e::tds_json_data') WHERE json_val IS NOT NULL

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_array_elements__from_column

📘 TDS Path

Input SQL:

SELECT JSONB_ARRAY_ELEMENTS(jsonb_arr) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_ARRAY_ELEMENTS(jsonb_arr) AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


json_build_array__empty

📘 TDS Path

Input SQL:

SELECT JSON_BUILD_ARRAY() AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSON_BUILD_ARRAY() AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_build_array__empty

📘 TDS Path

Input SQL:

SELECT JSONB_BUILD_ARRAY() AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_BUILD_ARRAY() AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


json_build_object__empty

📘 TDS Path

Input SQL:

SELECT JSON_BUILD_OBJECT() AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSON_BUILD_OBJECT() AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


json_array_elements_text__from_column

📘 TDS Path

Input SQL:

SELECT JSON_ARRAY_ELEMENTS_TEXT(json_arr) AS result FROM json_data WHERE id = 3

Legend SQL:

SELECT JSON_ARRAY_ELEMENTS_TEXT(json_arr) AS result FROM func('e2e::tds_json_data') WHERE id = 3

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


json_object_keys__from_column

📘 TDS Path

Input SQL:

SELECT JSON_OBJECT_KEYS(json_val) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSON_OBJECT_KEYS(json_val) AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


json_build_array__variadic__from_column

📘 TDS Path

Input SQL:

SELECT JSON_BUILD_ARRAY(id, json_val ->> 'b') AS result FROM json_data WHERE id <= 3 ORDER BY id

Legend SQL:

SELECT JSON_BUILD_ARRAY(id, json_val ->> 'b') AS result FROM func('e2e::tds_json_data') WHERE id <= 3 ORDER BY id

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_insert__from_column

📘 TDS Path

Input SQL:

SELECT JSONB_INSERT(jsonb_val, '{d}', '"inserted"') AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_INSERT(jsonb_val, '{d}', '"inserted"') AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_insert__after_true

📘 TDS Path

Input SQL:

SELECT JSONB_INSERT(jsonb_arr, '{1}', '99', true) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_INSERT(jsonb_arr, '{1}', '99', true) AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


json_object__keys_values

📘 TDS Path

Input SQL:

SELECT JSON_OBJECT(ARRAY['a','b'], ARRAY['1','2']) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSON_OBJECT(ARRAY['a', 'b'], ARRAY['1', '2']) AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


json_build_object__variadic__from_column

📘 TDS Path

Input SQL:

SELECT JSON_BUILD_OBJECT('id', id, 'val', json_val ->> 'b') AS result FROM json_data WHERE id <= 3 ORDER BY id

Legend SQL:

SELECT JSON_BUILD_OBJECT('id', id, 'val', json_val ->> 'b') AS result FROM func('e2e::tds_json_data') WHERE id <= 3 ORDER BY id

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_array_elements_text__from_column

📘 TDS Path

Input SQL:

SELECT JSONB_ARRAY_ELEMENTS_TEXT(jsonb_arr) AS result FROM json_data WHERE id = 3

Legend SQL:

SELECT JSONB_ARRAY_ELEMENTS_TEXT(jsonb_arr) AS result FROM func('e2e::tds_json_data') WHERE id = 3

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


jsonb_typeof__from_column

📘 TDS Path

Input SQL:

SELECT JSONB_TYPEOF(jsonb_val) AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_TYPEOF(jsonb_val) AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"


avg__real__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT AVG(float_val::real) AS result FROM numbers WHERE float_val IS NOT NULL

Legend SQL (TDS):

SELECT AVG(float_val::real) AS result FROM func('e2e::tds_numbers') WHERE float_val IS NOT NULL

Legend SQL (Relation):

SELECT AVG(float_val::real) AS result FROM func('e2e::rel_numbers') WHERE float_val IS NOT NULL

Error:

No value found for REAL, expected one of [BIGINT,BOOLEAN,DATE,DECIMAL,DOUBLE PRECISION,FLOAT8,INTEGER,JSON,NUMERIC,SMALLINT,TEXT,TIMESTAMP,VARCHAR]


max__real__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MAX(float_val::real) AS result FROM numbers WHERE float_val IS NOT NULL

Legend SQL (TDS):

SELECT MAX(float_val::real) AS result FROM func('e2e::tds_numbers') WHERE float_val IS NOT NULL

Legend SQL (Relation):

SELECT MAX(float_val::real) AS result FROM func('e2e::rel_numbers') WHERE float_val IS NOT NULL

Error:

No value found for REAL, expected one of [BIGINT,BOOLEAN,DATE,DECIMAL,DOUBLE PRECISION,FLOAT8,INTEGER,JSON,NUMERIC,SMALLINT,TEXT,TIMESTAMP,VARCHAR]


max__tstz__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MAX(tsz::timestamptz) AS result FROM dates WHERE tsz IS NOT NULL

Legend SQL (TDS):

SELECT MAX(tsz::timestamptz) AS result FROM func('e2e::tds_dates') WHERE tsz IS NOT NULL

Legend SQL (Relation):

SELECT MAX(tsz::timestamptz) AS result FROM func('e2e::rel_dates') WHERE tsz IS NOT NULL

Error:

No value found for TIMESTAMPTZ, expected one of [BIGINT,BOOLEAN,DATE,DECIMAL,DOUBLE PRECISION,FLOAT8,INTEGER,JSON,NUMERIC,SMALLINT,TEXT,TIMESTAMP,VARCHAR]


min__real__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MIN(float_val::real) AS result FROM numbers WHERE float_val IS NOT NULL

Legend SQL (TDS):

SELECT MIN(float_val::real) AS result FROM func('e2e::tds_numbers') WHERE float_val IS NOT NULL

Legend SQL (Relation):

SELECT MIN(float_val::real) AS result FROM func('e2e::rel_numbers') WHERE float_val IS NOT NULL

Error:

No value found for REAL, expected one of [BIGINT,BOOLEAN,DATE,DECIMAL,DOUBLE PRECISION,FLOAT8,INTEGER,JSON,NUMERIC,SMALLINT,TEXT,TIMESTAMP,VARCHAR]


min__tstz__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MIN(tsz::timestamptz) AS result FROM dates WHERE tsz IS NOT NULL

Legend SQL (TDS):

SELECT MIN(tsz::timestamptz) AS result FROM func('e2e::tds_dates') WHERE tsz IS NOT NULL

Legend SQL (Relation):

SELECT MIN(tsz::timestamptz) AS result FROM func('e2e::rel_dates') WHERE tsz IS NOT NULL

Error:

No value found for TIMESTAMPTZ, expected one of [BIGINT,BOOLEAN,DATE,DECIMAL,DOUBLE PRECISION,FLOAT8,INTEGER,JSON,NUMERIC,SMALLINT,TEXT,TIMESTAMP,VARCHAR]


sum__real__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT SUM(float_val::real) AS result FROM numbers WHERE float_val IS NOT NULL

Legend SQL (TDS):

SELECT SUM(float_val::real) AS result FROM func('e2e::tds_numbers') WHERE float_val IS NOT NULL

Legend SQL (Relation):

SELECT SUM(float_val::real) AS result FROM func('e2e::rel_numbers') WHERE float_val IS NOT NULL

Error:

No value found for REAL, expected one of [BIGINT,BOOLEAN,DATE,DECIMAL,DOUBLE PRECISION,FLOAT8,INTEGER,JSON,NUMERIC,SMALLINT,TEXT,TIMESTAMP,VARCHAR]


date_literal__cast_string_to_timestamptz

🔴 Failed in both TDS and Relation

Input SQL:

SELECT '1999-01-08 04:05:06+02:00'::timestamptz AS result FROM dates LIMIT 1

Legend SQL (TDS):

SELECT '1999-01-08 04:05:06+02:00'::timestamptz AS result FROM func('e2e::tds_dates') LIMIT 1

Legend SQL (Relation):

SELECT '1999-01-08 04:05:06+02:00'::timestamptz AS result FROM func('e2e::rel_dates') LIMIT 1

Error:

No value found for TIMESTAMPTZ


jsonb_path_query_first__from_column

📘 TDS Path

Input SQL:

SELECT JSONB_PATH_QUERY_FIRST(jsonb_arr, '$[*]') AS result FROM json_data WHERE id = 1

Legend SQL:

SELECT JSONB_PATH_QUERY_FIRST(jsonb_arr, '$[*]') AS result FROM func('e2e::tds_json_data') WHERE id = 1

Error:

Execution error at (resource:/core_relational/relational/functions/tableToTDS.pure line:48 column:108), "Cast exception: Class cannot be cast to DataType"

PARSE_ERROR (5 tests)

overlay__txt_txt_int__special_syntax

🔴 Failed in both TDS and Relation

Input SQL:

SELECT OVERLAY(val PLACING 'XX' FROM 1) AS result FROM strings WHERE val IS NOT NULL AND val <> '' ORDER BY 1

Legend SQL:

null

Error:

Rewrite failed: no viable alternative at input 'val PLACING'


overlay__txt_txt_int_int__special_syntax

🔴 Failed in both TDS and Relation

Input SQL:

SELECT OVERLAY(val PLACING 'XX' FROM 1 FOR 2) AS result FROM strings WHERE val IS NOT NULL AND val <> '' ORDER BY 1

Legend SQL:

null

Error:

Rewrite failed: no viable alternative at input 'val PLACING'


position__txt_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT POSITION('lo' IN val) AS result FROM strings ORDER BY 1

Legend SQL:

null

Error:

Rewrite failed: no viable alternative at input 'IN val'


substring__txt_txt_txt__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT SUBSTRING(val SIMILAR '%#"[a-z]+#"%' ESCAPE '#') AS result FROM strings WHERE val ~ '[a-z]' ORDER BY 1

Legend SQL:

null

Error:

Rewrite failed: no viable alternative at input 'SUBSTRING(val SIMILAR'


make_interval__sint0_sint0_int0_sint0_sint0_sint0_sdp0.0__from_table

🔴 Failed in both TDS and Relation

Input SQL:

SELECT MAKE_INTERVAL(years => 1, months => 2, days => 3) AS result FROM dates WHERE id = 1

Legend SQL:

null

Error:

Rewrite failed: no viable alternative at input '=>'