Submit your inspiring success story or innovative use case to the 2022 Dataiku Frontrunner Awards! ENTER YOUR SUBMISSION

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
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