Using H2 database for Apache Spark tests
Recently I have tried to write some units tests for Apache Spark using some in-memory database in Scala. I used H2 database and created tiny project on Github which presents how to achieve this. Dependencies pom.xml contains dependencies used in this project. Application Simple application reads rows from student table from input database. Dataset of students is … Read more