piotr-kalanski / sparkschema2class   0.1.0

Apache License 2.0 GitHub

Generate Scala case class based on Spark DataFrame schema

Scala versions: 2.11

sparkschema2class

Scala case class generator based on Spark DataFrame schema

Build Status codecov.io Stories in Ready License

Table of contents

Goals

  • Generate Scala case class based on Spark DataFrame schema

Getting started

Include dependencies

"com.github.piotr-kalanski" % "sparkschema2class_2.11" % "0.1.0"

or

<dependency>
    <groupId>com.github.piotr-kalanski</groupId>
    <artifactId>sparkschema2class_2.11</artifactId>
    <version>0.1.0</version>
</dependency>

Examples