Skip to content

Conversation

KES777
Copy link
Contributor

@KES777 KES777 commented Mar 26, 2025

This is continuation of great work done by @SPodjasek #82

  • All work done by Sebastian @SPodjasek was rebased on the latest master
  • Resolved all issues with tests.
  • Improved Oracle Parser to parse table name for triggers, because the implemented diff for triggers discovered this bug there.
  • Extended tests with a couple of new procedures
  • Other changes done by @SPodjasek

SPodjasek and others added 27 commits March 22, 2025 16:30
* Fix RETURNS handling, add support for user declared types
* Create SQL statement for procedure based on parsed & extra fields
* Add CREATE SCHEMA to DDL
* Use table schema-qualified names where possible
* Support for diffs on in-db schemas
* tables created without schema object
* use qualified name
Otherwise Produced DDL will be broken.
ok 218 - Procedure 'foo_proc'
ok 219 -     sql is 'select foo from bar'
ok 220 -     parameters are 'foo,bar'
ok 221 -     comments is 'Go Sox!'
ok 222 -     owner is 'Nomar'
not ok 223 -     extra
   Failed test '    extra'
   at /home/kes/work/projects/github-forks/sql-translator/lib/Test/SQL/Translator.pm line 336.
     Structures begin differing at:
          $got->{definitions} = ARRAY(0x5d6d4d166398)
     $expected->{definitions} = Does not exist
ok 224 - Schema has 2 triggers
Trigger/Procedures implementation discovered bug in Oracle Parser. This change
improves Oracle Parser to parse table name for trigger. Anything else stays unchanged.
@KES777
Copy link
Contributor Author

KES777 commented Apr 1, 2025

Hi, what should I done here to get it merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants