Giter VIP home page Giter VIP logo

databricks-dataops-course's Introduction

databricks-dataops-course

Course for doing databricks dataops, based on a data mesh monorepo structure

Preparation

  1. All members must get commit access to:
    • the repo from the teacher
    • the databricks training workspace

Purpose of the course

How can we deploy Databricks data pipelines in a way that is:

  • (git-)versioned
  • usable
  • ordered and sustainable
  • enabling decentralized domain ownership for each data domain and team
    • this somehow enables data mesh-like principles
  • way of working for exploration, development, staging and production of pipelines

Repository structure

We will do our tasks in the context of the folder representing the revenue data pipeline or flow:

orgs/acme/domains/transport/projects/taxinyc/flows/prep/revenue/

The structure is a proposal, which might have to be adapted in a real world organization.

The structure is:

  • org: acme
    • domain: transport
      • project: taxinyc
        • flowtype: prep (meaning ETL/data engineering, the alternative is ml, for ML work)
          • flow: revenue

The structure will be applied to:

  • Data code, i.e. the pyspark code herein git
  • The database tables produced by that code
  • The data pipelines being deployed

The purpose of this structure is to have sufficient granularity to enable each department/org, team/domain, project and pipeline, to be kept apart.

You can explore the structure here in Databricks, or more easily in the repo with a browser.

Longer explanation of the repo structure

A longer explanation of the ideas behind the repo structure can be found in the article Data Platform Urbanism - Sustainable Plans for your Data Work.

Dataops libs

There are python libs in the libs folder, to enable a versioned pipeline deployment and way of working. The main logic is in libs/dataops/deploy, and there are tests under libs/tests.

Reusing the structure and dataops libs

The structure and dataops libs can be used in your own projects, by forking the repo or copying the content and adapting it.

Course

  1. Go to course/
    • DO NOT run anything under course/00-Workshop-Admin-Prep
  2. Got to course/01-Student-Prep/01-General
    • Go through the instructions under that folder
  3. Start with the tasks under 02-DeployTasks
    • Some sections are just for reading or running, others you need to solve.

databricks-dataops-course's People

Contributors

paalvibe avatar paalvibeknowit avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.