Skip to content

Commit ebdd39b

Browse files
authored
Merge pull request #2218 from dolthub/angela/regclass_cast
[no-release-notes] Skip tests that include `'pg_class'::regclass` cast in filters
2 parents 1cc7d5e + d4f7a48 commit ebdd39b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

testing/go/prepared_statement_test.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,13 +1341,21 @@ var pgCatalogTests = []ScriptTest{
13411341
},
13421342
Assertions: []ScriptTestAssertion{
13431343
{
1344+
// https://github.com/dolthub/doltgresql/issues/2217
1345+
Skip: true,
13441346
Query: `SELECT c.oid,d.description,pg_catalog.pg_get_expr(c.relpartbound, c.oid) as partition_expr, pg_catalog.pg_get_partkeydef(c.oid) as partition_key
13451347
FROM pg_catalog.pg_class c
13461348
LEFT OUTER JOIN pg_catalog.pg_description d ON d.objoid=c.oid AND d.objsubid=0 AND d.classoid='pg_class'::regclass
13471349
WHERE c.relnamespace=$1 AND c.relkind not in ('i','I','c') and c.oid not in (select oid from pg_catalog.pg_class where left(relname, 5) = 'dolt_');`,
13481350
BindVars: []any{2638679668},
13491351
Expected: []sql.Row{{1712283605, nil, nil, ""}},
13501352
},
1353+
{
1354+
// https://github.com/dolthub/doltgresql/issues/2217
1355+
Skip: true,
1356+
Query: `SELECT d.description from pg_catalog.pg_description d WHERE d.classoid='pg_class'::regclass`,
1357+
// TODO: add expected values
1358+
},
13511359
{
13521360
Query: `select c.oid,pg_catalog.pg_total_relation_size(c.oid) as total_rel_size,pg_catalog.pg_relation_size(c.oid) as rel_size FROM pg_class c WHERE c.relnamespace=$1 and c.oid not in (select oid from pg_catalog.pg_class where left(relname, 5) = 'dolt_');`,
13531361
BindVars: []any{2638679668},

0 commit comments

Comments
 (0)