[Mondrian] Vagrant VM containing populated databases

Julian Hyde julianhyde at gmail.com
Thu Apr 21 15:34:02 EDT 2016


I propose to create a Vagrant VM that contains each database that we would like to test Mondrian against.

One of the challenges of developing/testing Mondrian is that you have to populate a FoodMart database first. In Calcite we had the same problem, but one of our developers neatly solved it by creating a vagrant VM that populated each required database[1]. We could do the same for Mondrian: the initial set would be, say, MySQL, PostgreSQL, Apache Hive.

For the Mondrian 4 branch I would go further, and make the default database embedded hsqldb, so Mondrian could build & test with no setup, just “mvn install”. Anyone who wanted to run the integration tests would do “mvn install” on the vagrant repo, would would start and populate the VM, and would run “mvn -Pit install” to enable the integration tests against all of the various databases.

What do y’all think?

Julian

[1] https://github.com/vlsi/calcite-test-dataset/ <https://github.com/vlsi/calcite-test-dataset/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20160421/2f245bc9/attachment.html 


More information about the Mondrian mailing list