Wh1isper / pyspark-sampling

Spark Structured Data Sampling and Data Evaluation Components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyspark-sampling

sparksampling is a PySpark-based sampling and data quality assessment GRPC service that supports containerized deployments and Spark On K8S

Feature

  • Common sampling methods: Random, Stratified, Simple
  • Relationship Sampling based on DAG and Topological sorting
  • Cloud Native and Spark on K8S support

QUICK START

Installation

The trial only requires direct installation using pypi

pip install sparksampling

run as

sparksampling

The service will start and listen on port 8530

Docker

docker run -p 8530:8530 wh1isper/pysparksampling:latest

Development

Using dev install

pip install -e .[test]
pre-commit install

run test

pytest -v

About

Spark Structured Data Sampling and Data Evaluation Components

License:Apache License 2.0


Languages

Language:Python 98.8%Language:Dockerfile 1.1%Language:Shell 0.2%