Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是使用 IBM Data Stage 的新手,我需要将我在文件路径中的非结构化文件中设置的文件名保留为值。然后我需要original_file自动在我的表的列中为所有行插入该值。有没有办法做到这一点?
original_file
假设文件名是一个作业参数,并且将提供每个作业运行,您可以使用 Transformer - 添加一个新列“original_file”并使用参数名称作为派生。
注意:提供了一个参数,即 file_name 将在 DataStage 中以#file_name# 引用(即在文件阶段),但在 Transformer 中将作为 file_name 引用(不带 #s)