Unknown dataset
Published 12 December 2023
A column is defined as using a dataset that cannot be found.
How to fix
Ensure that the dataset is either defined in the masking configuration JSON file, or is one of the built-in default datasets.
Problem example:
{ "tables": [ { "schema": "Person", "name": "Address", "columns": [ { "name": "City", "dataset": "NonExistentCities", // Dataset not defined anywhere "deterministic": false } ] } ] }
Ensure that the dataset is either defined in the masking configuration JSON file, or is one of the built-in default datasets.
Option 1: Use a built-in dataset
{ "tables": [ { "schema": "Person", "name": "Address", "columns": [ { "name": "City", "dataset": "Cities", // Built-in dataset "deterministic": false } ] } ] }
Option 2: Define a custom dataset
{ "tables": [ { "schema": "Person", "name": "Address", "columns": [ { "name": "City", "dataset": "CustomCities", // References custom dataset below "deterministic": false } ] } ], "datasets": [ { "name": "CustomCities", // Custom dataset definition "type": "List", "values": ["Seattle", "Portland", "Vancouver"] } ] }