Git Product home page Git Product logo

vau's People

Contributors

karsany avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

vau's Issues

generate grant on source tables separately

Currently it generates target/doc/source_table_grants.sql.

Instead of that it should generate target/src/grant/grant_from_{schema_name}.sql
Every line in grant_from_{schema_name}.sql should be unique

command line parameter: doc

sometimes the documentation generation is slow.
vau should have a command line argument, to enable or disable the documentation generation

Cannot create a link between the same entities

Example in oracle-hr project
Link definition:
link EMPLOYEE_MANAGER between EMPLOYEE and EMPLOYEE;

The generated LINK table contains the same column name two times.
There is a need to connect the same entity with itself.

error in generated code:

[...]
Begin

    column('LNK_EMPLOYEE_MANAGER','EMPLOYEE_MANAGER_ID','NUMBER(20)','SK for EMPLOYEE_MANAGER');
    column('LNK_EMPLOYEE_MANAGER','EMPLOYEE_ID','NUMBER(20)','SK for hub EMPLOYEE');
    column('LNK_EMPLOYEE_MANAGER','EMPLOYEE_ID','NUMBER(20)','SK for hub EMPLOYEE');
    column('LNK_EMPLOYEE_MANAGER','C$SOURCE_SYSTEM','VARCHAR2(10)','Source System');
    column('LNK_EMPLOYEE_MANAGER','C$LOAD_DATE','DATE','First Load Date');
    column('LNK_EMPLOYEE_MANAGER','C$AUDIT_ID','NUMBER(20)','Audit ID');

    uniq('LNK_EMPLOYEE_MANAGER','EMPLOYEE_MANAGER_ID');
    uniq('LNK_EMPLOYEE_MANAGER','EMPLOYEE_ID, EMPLOYEE_ID');

end;

Error:

ORA-00957: duplicate column name
ORA-06512: at line 44
ORA-06512: at line 59

Handle CDC input in generators

The grammars handle the load method "CDC", but the generator does not do it yet.
The generators should handle the CDC loading method.

simplemap should support link mapping

new function should be added VAU's simplemap grammar and parser.
should handle link mappings too.

map for entity EMPLOYEE {
    source {
        [...]
    }
    business key EMPLOYEE_ID;
    attributes {
        [...]
    }
    #### new from here ####
    link with JOB through JOB_ID { 
        datagroup [...]
    }
    #### new to here ####
}

should generate install.sql

new file: target/src/install.sql
should contain a reference installer script for all generated database objects.

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.