Customer Portal

DATA_WRITER creating empty files

Comments 1

  • Avatar
    avackova
    0
    Comment actions Permalink
    Hello Joe,
    if the file name is determined, it is always created. So the only one way, to not create an empty file, is to use partition feature of DataWriter (if you don't partition the records in fact, it doesn't matter, which field you set as partitionKey). But then "something" will be added to your not-empty output file name. If you set partitionKey only, the 0 (zero) is added to the file name specified in the fileURL attribute. If you use # character in the file url, it is replaced by the number or key field value (if partitionFileTag="keyNameFileTag"). To create file with your original name, you have to create a Simple Lookup Table, where in the key field you have the same value as in input record and the field you select as partitionOutFields there contains output file name.

Please sign in to leave a comment.