Coder Social home page Coder Social logo

databricks-asset-bundles-dais2023's Introduction

Databricks Asset Bundles

Write code once, deploy to lakehouses everywhere...

Click here to watch the talk on Databricks Asset Bundles at Data & AI Summit 2023.

The slides from the presentation are available here.

Introduction

Databricks Asset Bundles, also known simply as bundles, enable you to programmatically validate, deploy, and run the projects you are working on in Databricks via the Databricks CLI. A bundle is a collection of one or more related files that contain:

  • Any local artifacts (such as source code) to deploy to a remote Databricks workspace prior to running any related Databricks workflows.

  • The declarations and settings for the Databricks jobs, Delta Live Tables pipelines, or MLOps Stacks that act upon the artifacts that were deployed into the workspace.

For more information on bundles, please see the following pages in Databricks documentation:

Tutorials

Reference

Analyzing Databricks Medium Posts from Field Engineering

In this repo you'll find a simple project consisting of:

  1. A CSV containing URLs of Medium.com blogs written by Field Engineers at Databricks.
  2. A Delta Live Tables pipeline to ingest and process that data, including logic to scrape Medium.com for the number of claps and reading time.
  3. A notebook report that reads the processed data and visualizes it.
  4. A Databricks Workflow with two tasks - the first to refresh the DLT pipeline and the second to execute the notebook report.

These data assets are represented in the bundle.yml file in the project root directory.

Deploying and running this repo

Make sure you have the Databricks CLI installed, then you can use the databricks bundle commands. You'll also want to edit the bundle.yml and specify the Databricks Workspace that you plan to deploy to. Once you've got that sorted out, you can deploy and run the project using the following commands:

databricks bundle deploy
databricks bundle run fe_medium_metrics

Questions?

Please email [email protected] if you have questions on DABs or if you have questions on the code in this repo, please email [email protected]

databricks-asset-bundles-dais2023's People

Contributors

pietern avatar rafikurlansik 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.