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.5.tar.gz (18.8 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.5-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pushcart-1.7.5.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.9.2-arch1-1

File hashes

Hashes for pushcart-1.7.5.tar.gz
Algorithm Hash digest
SHA256 f18fdd84c035786c6e7fcc6944ab3adda6ce9e9015fd3e5af062f6461c854877
MD5 1e99e2f8efd201887ab7c4f25fb8c156
BLAKE2b-256 6663092ad27a09343892d0b881b2566b4b46e63c5d9cd4804f85d99e0a18bf67

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pushcart-1.7.5-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.9.2-arch1-1

File hashes

Hashes for pushcart-1.7.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8240bfb84e2fff626b2f3888e199ba1e772d5a59f2ea2446f88dc09d17fe4ec0
MD5 c106626c617648ae57bb621bd61b6533
BLAKE2b-256 e7ee8b15df2b76ad96bdf4528d6c1b7df19eb9fe8859f94c21e01c82ddb5b52a

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