Installation

The following sections will guide you through building, testing and obtaining the latest release of scark-cli.

Obtaining the latest release

If you’re not a developer and not interested in building the code itself, simply download the latest release. Next, refer to usage for detailed instructions about how to submit SQL queries locally and to the spark network.

Getting the code

The code is hosted on github. Clone the repository via:

git clone https://github.com/qbicsoftware/scark-cli

Building

scark-cli is build with sbt. Furthermore, the sbt assembly plugin is configured allowing for fat jars to be build:

sbt assembly

will build the fat jar. The result will be written to

/target/$scala-version/$name-assembly-$version.jar

Testing

Run tests inside the sbt console from the root project directory using:

test

Next, refer to usage for detailed instructions about how to submit SQL queries locally and to the spark network.