Skip to main content
Dependencies:
  • ProphecySparkBasicsPython 0.2.32+
Cluster requirements:
  • UC dedicated clusters 14.3+ supported
  • UC standard clusters 15.4+ supported
  • Livy clusters not supported
Synthetic data helps you test, validate, and optimize your pipelines performance before you use production data. This ensures that your pipeline can handle various data formats, structures, and edge cases effectively, which minimizes potential issues in a live environment. You can create a wide range of mock data using any column name and an array of data types. For example, you can generate the following browser history data: Data preview
The Data Generator gem can only be a Source gem. It cannot be a Target gem.

Cluster requirements

Create a fabric and configure the Job Size, or login to an existing Spark cluster UI. To create a fabric and configure the job size in the Spark Cluster UI:
  1. Login to your Databricks account.
  2. Verify your Databricks Runtime uses Python version >= 3.8.
For example, Databricks Runtime 12.2 LTS uses Python 3.9.19. If you are using Databricks Runtime 12.2+, the Python version meets this requirement.

Prophecy requirements

Open a Prophecy project and upgrade the ProphecySparkBasicsPython Dependency to 0.2.32 or later.
Connecting a Prophecy project to a Spark cluster with a different dependency version prompts the Spark cluster to restart.
Requirements
CautionIf you use two Prophecy projects with the same Spark cluster, Spark restarts the cluster when each project attaches to the cluster, unless the ProphecySparkBasicsPython and ProphecyLibsPython versions match across both projects.Solution: Upgrade all your Prophecy projects to the same ProphecySparkBasicsPython and ProphecyLibsPython versions, or use separate Spark clusters.

Source properties

The Source gem requires the following properties. Source gem

Providers

Prophecy offers the following data providers.

Store the data

By default, the Source gem does not save the newly generated data. To save the data, store the data in a Target gem:
  1. Create a Target gem. Target gem
  2. Connect your Source gem to your Target gem. Gem connection
  3. Configure the Write Mode property for the Target gem. This is very important because there is a new random seed each time you run the Source gem. Write modes
To see if Prophecy supports this gem in the Unity Catalog standard access mode clusters, see Unity Catalog standard cluster support.