

gradlew assemble # build the artifacts $. gradlew build -x test # build the artifacts, verify code style, skip tests $. gradlew check # verify code style, execute tests $.

Gradlew style # update code formatting (for auto-correctable cases) and verify style $. #MONGODB MAC OS 10.11 TOO OLD TO INSTALL UPDATE# Gradlew -PenableErrorprone classes # verify Java code with Error Prone compiler, requires Java 11 gradlew autostyleCheck checkstyleAll # report code style violations $.

#MONGODB MAC OS 10.11 TOO OLD TO INSTALL CODE# =DB (where DB is h2, hsqldb, mysql, or postgresql) allows you.There are other options that control which tests are run, and in what gradlew assemble to build the artifacts and skip all tests and verifications. enables tests that run against Splunk.bug prints extra debugging information to stdout.Mysql and postgresql might be somewhat faster than hsqldb, but you need All others access a test virtual machine.hsqldb, the default, uses an in-memory hsqldb database.Suite requires a JDBC data source populated with the foodmart data To change the JDBC data source for the test suite. ForĮxample, there are tests that create virtual TPC-H and TPC-DS schemas gradlew testSlow runs tests that take longer to execute. In-memory and run tests from those benchmarks. calcite.** (to enable and others above)įor testing Calcite’s external adapters, a test virtual machine should be used.Note: tests are executed in a forked JVM, so system properties are not passed automaticallyīy default, the build script passes the following -D. The VM includes Cassandra, Druid, H2, HSQLDB, MySQL, MongoDB, and PostgreSQL. Test VM requires 5GiB of disk space and it takes 30 minutes to build. To populate your own database, however it is recommended to use test VM so the test environment can be reproduced. You can specify full path via system property.Ģ) Build and start the VM: cd calcite-test-dataset & mvn install VM management VM preparationĠ) Install dependencies: Vagrant and VirtualBoxġ) Clone at the same level as calcite repository. #MONGODB MAC OS 10.11 TOO OLD TO INSTALL INSTALL# Test VM is provisioned by Vagrant, so regular Vagrant vagrant up and vagrant halt should be used to start and stop the VM. #MONGODB MAC OS 10.11 TOO OLD TO INSTALL CODE#.

