pentaho spoon/pid: how to move files to folders with different name everytime?

巧了我就是萌 提交于 2019-12-02 04:18:57

You can utilize this approach for this task.

Basically you'll have to extract the date you want from each file before doing the transformations, and after all the transformations are done, you'll use the JOB step 'Move files', but instead of passing a fixed destination, you'll use variables in the path, much like this answer, but you don't need to create the folder before, you can just use the option on the 'Move files' step, so the folders are created at run time.

I have attached an example of this approach with some commentary in the KTR/KJB. You can download here

Let me know if the link is working, this is my first time posting an external file in StackOverflow

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!