udovichenko-r 72b3cd51dc YQL-19206 Move contrib/ydb/library/yql/tests/postgresql -> yql/essentials/tests/postgresql 2 months ago
..
update-test-status c9afd90243 YQL-19206: Move contrib/ydb/library/yql/tools/pg* to yql/essentials/tools/pg* 3 months ago
README.md 72b3cd51dc YQL-19206 Move contrib/ydb/library/yql/tests/postgresql -> yql/essentials/tests/postgresql 2 months ago
__main__.py 72b3cd51dc YQL-19206 Move contrib/ydb/library/yql/tests/postgresql -> yql/essentials/tests/postgresql 2 months ago
ya.make 72b3cd51dc YQL-19206 Move contrib/ydb/library/yql/tests/postgresql -> yql/essentials/tests/postgresql 2 months ago

README.md

pg-make-test

This tool extracts a subset of SQL statements which work as expected from Postgres' regression tests located in yql/essentials/tests/postgresql/original/cases. The extracted tests are normally saved into yql/essentials/tests/postgresql/cases. The tests could optionally get patched.

For each .sql test file the tool expects a matching .out file(s) in the same dir. For each pair of .sql/.out files the working subset of SQL statements is written to the output dir.