Skip to content
This repository has been archived by the owner on Apr 23, 2023. It is now read-only.

chezou/sparkavro

Repository files navigation

Travis-CI Build Status

sparkavro

Load Avro data into Spark with sparklyr. It is a wrapper of spark-avro

Installation

Install using {devtools} as follows:

devtools::install_github("chezou/sparkavro")

Usage

library(sparklyr)
library(sparkavro)
sc <- spark_connect(master = "spark://HOST:PORT")
df <- spark_read_avro(sc, "test_table", "/user/foo/test.avro")

spark_write_avro(df, "/tmp/output")

Example data are from https://github.com/miguno/avro-cli-examples

About

Load Avro data into Spark with sparklyr

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages