-
Notifications
You must be signed in to change notification settings - Fork 5
Spark Engine
ravikiranpagidi edited this page Jun 17, 2026
·
1 revision
Use the Spark engine for distributed DataFrames, lakehouse exports, Databricks notebooks, large datasets, and performance demos.
data = generate_domain(
"banking",
engine="spark",
scale="large",
realism="realistic",
)
transactions = data["transactions"]
transactions.printSchema()In active Spark notebooks, Great Generator can usually infer the Spark session. In scripts, pass spark=spark explicitly if needed.
Spark output is a dictionary of PySpark DataFrames.
data["transactions"].write.mode("overwrite").parquet("/tmp/banking/transactions")Spark realistic values are generated with deterministic Spark-native expressions and curated reference values, avoiding driver-side collection for large tables.
- Home
- Problem Statement
- Quick Start
- Generate Related Tables
- Query-Aware Generation
- Supported Schema Inputs
- Function Comparison
- Getting Started
- Plain Dictionary
- Rich Dictionary
- Pandas
- PySpark StructType
- Contracts and SQL DDL
- Schema Generation
- JSON Schema
- YAML Schema Profile