databricks-synthetic-data-gen

Generate scalable synthetic data for Databricks workloads using Spark and Faker.

1|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/leary-poken/ai-dev-kit --skill databricks-synthetic-data-gen-leary-poken
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: databricks-synthetic-data-gen
Source: https://github.com/leary-poken/ai-dev-kit/tree/main/databricks-skills/databricks-synthetic-data-gen
Command: npx skills add https://github.com/leary-poken/ai-dev-kit --skill databricks-synthetic-data-gen-leary-poken

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires faker, pandas, numpy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Generate scalable synthetic data for Databricks pipelines to test and demo analytics without exposing real data.

Core Features & Use Cases

  • Spark + Faker + Pandas UDFs enable scalable distributed data generation
  • Serverless compute support with multiple output formats (Parquet/JSON/CSV/Delta)
  • End-to-end workflows with referential integrity and Unity Catalog integration for testing data pipelines

Quick Start

Execute the script scripts/generate_synthetic_data.py to generate a scalable synthetic dataset and store it in the configured Unity Catalog volume.

Frequently Asked Questions about databricks-synthetic-data-gen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate synthetic data at scale in Databricks for testing pipelines?

You generate scalable synthetic data in Databricks by executing a Python script that leverages Spark, Faker, and Pandas UDFs for distributed generation. This approach produces test datasets without exposing real data.

Does synthetic data generation with Faker work with Unity Catalog?

Yes, synthetic data generation with Faker integrates with Unity Catalog. The generated datasets are written directly to configured Unity Catalog volumes, ensuring secure storage and referential integrity for your testing workflows.

Can I use serverless compute to generate synthetic data in Spark?

Yes, you can use serverless compute to generate synthetic data in Spark. The workload supports serverless compute environments and outputs multiple formats including Parquet, JSON, CSV, and Delta.

What dependencies do I need to create synthetic datasets for Databricks?

To create synthetic datasets for Databricks, you need a Spark environment along with the Faker, pandas, and numpy libraries. These dependencies enable Pandas UDFs to generate distributed data efficiently.

What is the best way to maintain referential integrity when generating test data for analytics?

The best way to maintain referential integrity when generating test data is to use end-to-end workflows that integrate with Unity Catalog. This ensures relationships between synthetic tables remain consistent for analytics scenarios.

What output formats are supported when writing synthetic data to Databricks volumes?

Supported output formats when writing synthetic data to Databricks volumes include Parquet, JSON, CSV, and Delta. This allows flexible integration with downstream analytics pipelines and demo environments.