Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[IDEA] File Writer - Add setting to write header on file creation

Aperta
#303 1 commento 2 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
53/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
java
Ambito
backend

Direzione di ricerca

Start with the File Writer destination and the data types pop-out screen where FileReader header columns are configured. Read how the writer detects file creation and handles existing files in its error, overwrite, and append modes. Done means a setting can write a header when a file is newly created, without adding one when appending to an existing file.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Is your feature request related to a problem? Please describe.
When using a File Writer destination, there are some scenarios where I need to output a header, but ONLY when the file is newly created.

Describe your use case
For asynchronous processes, where I'm just reading from a path somewhere (SFTP, S3, etc), and creating an output file, I can't always dynamically add a header row.

Describe the solution you'd like
Since the writer destination can already detect when a file exists or not (since it has an option to error, overwrite, or append), it would be ideal to have the ability to output a header row on file creation. Make it a setting on the data types pop-out screen, similar to where you set your header columns on a FileReader.

Describe alternatives you've considered
At this time, my options are: manually set some kind of global channel map flag then keep up with it, use a javascript writer destination and write all the File output logic myself.

Lingua principale
Java
Stelle
227
Fork
81
Merge medio
3g 6h
PR unite (30g)
15

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OpenIntegrationEngine/engine

Tutte le issue di OpenIntegrationEngine/engine

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.