Skip to content

hemaverma/Azure_DataBricks

 
 

Repository files navigation

Azure Databricks Unity Catalog

This repo contains terrafrom code to create a Databricks workspace, Databricks Unity Catalog, and setup databricks governance. Also C# code to retrieve the catolg table content using JDBC connection and REST API file to use Azure Databrucsk REST API to get the catalog table content.

Architecture

UC Image

Prerequisites

  • Azure Subscription
  • Azure Databrick Resource with Premium Tier

Terraform

  1. Create Azure Databricks workspace - Infra/adb-workspace has a tarraform code to create a Databricks workspace.
  2. Create Azure Databricks Unity Catalog - Read the README for full instructions. adb-unity-catalog has a terraform code to create a Databricks Unity Catalog, sync users from AAD, create storage account and link the external location, create catalog and schemas and assign permissions to the groups.

C# Code

CSharp folder contains a C# code to retrieve the catalog table content using JDBC connection. here

REST API

Example usage of a Databricks REST API. here

Resources

Databricks REST API

Azure Databricks Unity Catalog E2E Terraform Samples

ODBC Class .NET

About

Azure Databricks Medallion Architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 48.0%
  • Python 42.6%
  • C# 4.0%
  • Jupyter Notebook 3.4%
  • Shell 2.0%