Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#303 1 bình luận 2 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
53/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
java
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Java
Star
227
Fork
81
Merge trung bình
3 ngày 6 giờ
Pull request đã merge (30 ngày)
15

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenIntegrationEngine/engine

Tất cả issue của OpenIntegrationEngine/engine

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.