Open jbothma opened 5 years ago
to reproduce:
pipeline-spec.yaml
expenditure-time-series:
pipeline:
- run: load
parameters:
from: 'file1.csv'
name: 'ene-2018-19'
format: 'csv'
- run: load
parameters:
from: 'file2.csv'
name: 'ene-2017-18'
format: 'csv'
- run: load
parameters:
from: 'file3.csv'
name: 'ene-2016-17'
format: 'csv'
- run: concatenate
parameters:
sources:
- ene-2018-19
- ene-2016-17
target:
name: expenditure-time-series
fields:
bob: []
dave: []
cache: false
file1.csv
bob,dave
123,456
file2.csv
bob,dave
1234,456
file3.csv
bob,dave
12345,456
datapackage-pipelines==2.0.0
python --version
) Python 3.7.1I have a pipeline loading multiple CSVs using
load
. When one of the resources that are loaded is not listed underconcatenate
we get the following errorThe intent is that all resources should be normalised and concatenated. It wasn't clear at all why this was failing, if having all resources in concatenated is even a requirement. A more meaningful error would be really helpful if this is a requirement.