Giter Club home page Giter Club logo

dvc's People

Contributors

macinnir avatar

Watchers

 avatar  avatar  avatar

dvc's Issues

When generating models, field order should be consistent.

Currently, when generating models, the field order is randomized (as is normal go functionality with randomized map ordering). Field order should be consistent either with the order in the database or alphabetically.

Either way, the randomization of field order causes noise in git diff when looking at schema changes as large portions of the schema change simply because the ordering of fields is different.

Identify if a column has simply been renamed.

  • A table compare has produced two alter statements: "DROP COLUMN..." and "ADD COLUMN..."
  • Those two columns have the same data type.

Desired behavior
DVC identifies a column as being renamed when:

  • DROP column and CREATE Column are of the same type

Rename Table

Identify if a table has been renamed.

Current Behavior: If a table name does not match, it will be dropped. And the newly named table will be created.

Desired behavior: Rename a table if the old table and the new table have --

  • The same # of columns
  • The same columns types and names

This will also mean that if a table has been renamed and a column has been changed, the table will be dropped.

Config driven enumeration data

Desired Behavior

  • Specify enumeration tables in dvc.toml via enums = [ "someTable", ... ]
  • Import values into [tableName].schema.json via the dvc import command
  • Include enumeration table in comparison when running dvc compare
  • Apply enumeration table data (via DELETE all and INSERT) via dvc compare apply

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.