Giter Site home page Giter Site logo

Comments (6)

dvsidamore avatar dvsidamore commented on July 20, 2024

I have same problem. Does anybody solved it?

image

from scheme2ddl.

qwazer avatar qwazer commented on July 20, 2024

@dvsidamore I'll try to fix in near future (probably, on weekend). Thanks for reminding.

from scheme2ddl.

qwazer avatar qwazer commented on July 20, 2024

The root cause: DBMS_METADATA.GET_DEPENDENT_DDL return CREATE (UNIQUE|BITMAP)? INDEX statements sorted by creation date.
I decided to parse DBMS_METADATA.GET_DEPENDENT_DDL on separateCREATE (UNIQUE|BITMAP)? INDEX statements and sort these alphanumerically in DDLFormatter class.

So order for 3 indexes UNIQUE INDEX a, INDEX b , BITMAP INDEX c will be:

CREATE BITMAP INDEX c...
CREATE INDEX b ..
CREATE UNIQUE INDEX a..

Fixed in PR #53
New parameter of DDLFormatter sortCreateIndexStatements with default value true added.

from scheme2ddl.

qwazer avatar qwazer commented on July 20, 2024

fixed in v2.4.2

from scheme2ddl.

qwazer avatar qwazer commented on July 20, 2024

After implementing this, I found, that possibly it should be implemented in other way as proposed in #20 (comment)

from scheme2ddl.

dvsidamore avatar dvsidamore commented on July 20, 2024

thanks a lot!

from scheme2ddl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.