Skip to content

Commit

Permalink
config-json
Browse files Browse the repository at this point in the history
  • Loading branch information
fhtino committed Jul 5, 2024
1 parent 7f3201f commit 6186a94
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions _mydocs/contoso-data-generator/config-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ This file contains the main configuration of the data generator.

- **CutDateBefore**, **CutDateAfter**: (datetime optional parameters) the 2 parameters allow to create data starting from a day different from January 1st and ending on a date different from December 31st. Data before CutDateBefore and after CutDateAfter is removed

- **CustomerPercentage** : percentage of customers to be used. Range: 0.001 - 1.000

- **OutputFormat** : format of the data to be generated. Values: CSV, PARQUET, DELTATABLE

- **SalesOrders** : type if data to be generated. Values: SALES ORDERS BOTH. SALES = creates the "sales" table. ORDERS = creates the "orders" and the "orders details" table. BOTH = creates all the previous tables.

- **CustomerFakeGenerator**: (int) number of full random customers. Only used during tests for speeding up the process.

- **DaysWeight** (section)
Expand Down
2 changes: 1 addition & 1 deletion _mydocs/contoso-data-generator/formats.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ Example:
Example:

```
"OutputFormat": "PARQUET"
"OutputFormat": "DELTATABLE"
"DeltaTableOrdersPerFile": 250000
```

0 comments on commit 6186a94

Please sign in to comment.