Skip to main content

Metadata transformations for Spark

Project description

pushcart

Helps with moving potatoes, bricks and data around.

Pushcart is a metadata-based solution accelerator running on top of Spark. It also provides a set of ready-made functionalities for data transformations which might otherwise take a lot of code to put together using only pyspark.sql.functions.

Who is this for

  • Data engineers writing pure Spark code
  • Data engineers working with Databricks Delta Live Tables

How does the metadata look like?

Useful for transforming data from bronze to silver, a metadata specification looks as such:

column_order source_column_name source_column_type dest_column_name dest_column_type transform_function default_value validation_rule validation_action
0 id string Id int Id IS NOT NULL DROP
1 first_name string
2 surname string
3 Name string "F.concat_ws(' ', F.col('first_name'), F.col('surname'))",F.lit('John Doe')
4 dob string DateOfBirth date "F.to_date(F.col('dob'), 'yyyy-MM-dd')"
5 record_ts string RecordDateTime timestamp "F.to_timestamp(F.col('record_ts'), 'yyyy-MM-dd HH:mm:ss')" RecordDateTime IS NOT NULL DROP

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pushcart-1.7.3.tar.gz (30.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pushcart-1.7.3-py3-none-any.whl (34.1 kB view details)

Uploaded Python 3

File details

Details for the file pushcart-1.7.3.tar.gz.

File metadata

  • Download URL: pushcart-1.7.3.tar.gz
  • Upload date:
  • Size: 30.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.4.10-arch1-1

File hashes

Hashes for pushcart-1.7.3.tar.gz
Algorithm Hash digest
SHA256 8e2b2b29b86b382d3e3df810b7b94ebe75b09fac44a698ce5c5bc579ea3cca9d
MD5 c1b6a0119a67ed6141b15ba1160fbcdd
BLAKE2b-256 904df7c0f6ac83a0bc63f7dc61fd800a6cf38a36c0858fecaad2c9d3067536e0

See more details on using hashes here.

File details

Details for the file pushcart-1.7.3-py3-none-any.whl.

File metadata

  • Download URL: pushcart-1.7.3-py3-none-any.whl
  • Upload date:
  • Size: 34.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.4.10-arch1-1

File hashes

Hashes for pushcart-1.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 98d0a75cb3b69368afa2603ae2afdba901897e80a144f6a717faf5d9691f06d8
MD5 23ff7b8418b6690f519ccc26ef313dad
BLAKE2b-256 a4d6bbddf76c9eeca65bfb577eba53549733afc8b1ae8be7148591fc131dea9b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page