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.2.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.2-py3-none-any.whl (34.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pushcart-1.7.2.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.2.tar.gz
Algorithm Hash digest
SHA256 c1ee5a25fb7f49a253c4593b336dc8b915167ad8e808c6fa2f433e3cbf96ab65
MD5 040d12421ea77c051ba2a6ebba568eb5
BLAKE2b-256 f8525f77d1455c2fed1a5119c9966e3a857a10b891aca3d9e6e0cb76c4b328c9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pushcart-1.7.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6a34c53d03fd43a18ba212ea05a77e28dbe21b58bac1d4869257956b68cd07b0
MD5 9cafe7fe659e0329883b59afb23344c4
BLAKE2b-256 83e07367758bfa818834445831b69437715fa296e951ec6184c72c4d0cf468b0

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