You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hop.apache.org by "uraychang (via GitHub)" <gi...@apache.org> on 2023/02/20 09:42:47 UTC

[GitHub] [hop] uraychang commented on pull request #2444: fix #2422 [Bug]: Text File Output - no header is added when using append

uraychang commented on PR #2444:
URL: https://github.com/apache/hop/pull/2444#issuecomment-1436639807

   solution: another indicator `isFileEmpty()` in `isWriteHeader()` was added.
   
   before going to `isWriteHeader()` method because `create a file at the start` is enable the file must be created first
   `isFileExists()` in `isWriteHeader()` always gives a true and no chance to append the header.
   checking the file empty seems reasonable here since no way we don't write the headers to an empty file.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org