sparksampling

pyspark-sampling


Keywords
pyspark-sampling, sparksampling
License
Apache-2.0
Install
pip install sparksampling==0.1.1

Documentation

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