-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add 2.0 to 2.1 migration guide
- Loading branch information
Jason Cihelka
committed
May 23, 2023
1 parent
c734773
commit f9e1d8e
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Migration Guide - V2.0 to V2.1 | ||
This version results a very small breaking change in the `datasets.json` file. The `address` field is now parsed as an array/list, so you must enclose it in `[]` brackets. It does not need to contain multiple addresses, one will still work fine. | ||
|
||
This change allows one-many mapping between datasets and wallets, as may be the case when ingesting a dataset where the datacap allocation is split across multiple wallets. | ||
|
||
To change this, edit the `datasets.json` file: | ||
|
||
|
||
OLD *~/.delta/importer/datasets.json* | ||
```jsonc | ||
[ | ||
{ | ||
"dataset": "radiant-ml", | ||
"address": "f1p3l3wgnfukemmaupqecwcoqp7fcgjcqgqcq7rja", | ||
"dir": "/mnt/delta-datasets/radiant-poc", | ||
"ignore": false | ||
} | ||
] | ||
``` | ||
|
||
Change to: | ||
|
||
NEW *~/.delta/importer/datasets.json* | ||
```jsonc | ||
[ | ||
{ | ||
"dataset": "radiant-ml", | ||
"address": ["f1p3l3wgnfukemmaupqecwcoqp7fcgjcqgqcq7rja"], // <- address is now enclosed in [] brackets | ||
"dir": "/mnt/delta-datasets/radiant-poc", | ||
"ignore": false | ||
} | ||
] | ||
``` |