FRosner/drunken-data-quality

about reporter

Closed this issue · 1 comments

Hi F�Rosner,
Our team is interested in your project,but we have a problem. In our condition,we need to save the result into mysql or other RDBMS.How to get the result ? Can you offer me some suggestions?
Thank you~

Hi @rovernerd!

Thank you for your question. If you'd like to discuss things like this, I can highly recommend the gitter channel of this project: https://gitter.im/FRosner/drunken-data-quality

To answer your question I need to know what you are trying to save into RDBMS? The constraint results I assume?

You can achieve this in two ways:

  1. Write a JDBC reporter. There is already an issue open (#67). To do this you have to implement the Reporter trait. There are some examples of this already like the ConsoleReporter or the EmailReporter. Feel free to ask in gitter if you have troubles to understand how the reporters work.
  2. You manually take the constraint results and extract them to your RDBMS. An example of how to use the constraint results for unit tests can be found in the README.