Upload several files with same schema and creating an additional column

LyneTK
Level 1
Upload several files with same schema and creating an additional column

Hello, 

When  using the upload dataset, to upload several files with the same schema, is there any way to create an additional column to the resulting dataset containing the name of the specific input file containing the line ?

0 Kudos
1 Reply
AlexT
Dataiker

Hi @LyneTK,

You can use prepare recipe processor :

https://doc.dataiku.com/dss/latest/preparation/processors/enrich-with-record-context.html#enrich-wit...

Select the file name and after the prepare recipe is run you can create a new column with the filename.โ€ƒScreenshot 2022-05-16 at 11.30.24.png

 

 

0 Kudos