Coming soon: We’re working on a brand new, revamped Community experience. Want to receive updates? Sign up now!

0 votes
Hi Team,

We have a workflow where data from o/p table has to moved to a shared drive folder on daily basis. Requirement is to append a datetime to the end of the file name, so that it does not overrides the previous run file.

Ex-  Say the file name to be created in shared folder is: Loan_Rate

so, now going forward it should be named as : Loan_Rate_2018-11-28<timestamp>,Loan_Rate_2018-11-29<timestamp> for daily run


Can anyone please help me how to solve this with the help of python code.

I tried but its failing.



edited by

1 Answer

0 votes

This is a typical use case for file-based partitioning:

If you have never tried partitioning before, I would suggest following our tutorial first (it has examples in Python):

Hope it helps,

1,339 questions
1,365 answers
11,916 users

©Dataiku 2012-2018 - Privacy Policy