79535611

Date: 2025-03-26 06:54:35
Score: 2
Natty:
Report link

In Data Flow, the source file will be transformed to get the expected values. When new values are generated, the existing file is updated directly with latest data.

To achieve this, it is required to use the same dataset in both source and sink transformations, this will result in overwriting the existing file with new values and gets updated during each execution.

Follow the below steps to achieve the situation:

Source Data:

enter image description here

Source Dataset in Data Flow Text Delimited:

enter image description here

For Sink we need to use the source dataset of dataflow:

enter image description here

In Sink settings , we need to keep the following configuration:
File name option: Output to single file
Output to single file : source_file_name

enter image description here

Output: Updated data in existing file

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Pritam Kabiraj