Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.
/ pyspark-sampling Public archive

Spark Structured Data Sampling and Data Evaluation Components

License

Notifications You must be signed in to change notification settings

Wh1isper/pyspark-sampling

Repository files navigation

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