Giter Site home page Giter Site logo

Comments (2)

ethanwhite avatar ethanwhite commented on July 20, 2024

I definitely like the idea and running a quick query for the counts of every table should be pretty straight forward.

Ben and I have also previously talked about doing something a bit more comprehensive where we basically dump the tables to files and get checksums for the files to confirm that they contain exactly the same data as a version that we believe to be a valid import based on having looked at the files post import. This is easy and efficient in both MySQL (SELECT INTO OUTFILE) and Postgres (COPY) and it looks like maybe for SQLite as well (.mode csv).

The one issue here is that if the data gets updated it will flag as being different, but I think that we can handle that with a combination of a clear description to the user (it's not necessarily that it's wrong, it's just different so you should probably take a look) and having a cron job on a server that checks for changes in databases periodically and pings us if there's a change so that we can update the checksums.

On the other hand, this might get unnecessarily complicated... Thoughts?

from retriever.

ethanwhite avatar ethanwhite commented on July 20, 2024

Closing since this clearly hasn't risen to the top of the list. We do have some plans for implementing checksums as mentioned above.

from retriever.

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.