Thank you for taking the time to answer my questions.
The difference in results between the filter and conditional split in your dataflow likely boils down to the order of operations.
Filter vs Conditional Split:
- Filter: A filter keeps only the rows that meet a specific condition. Any rows that don't meet the criteria are discarded entirely.
- Conditional Split: A conditional split, on the other hand, evaluates a condition and sends matching rows down a designated output stream. Rows can potentially be sent to multiple streams based on conditions.
Understanding the Discrepancy:
- Filter: In your scenario, the filter likely excludes the 3,000 rows that need correction from the data stream altogether. These rows never reach the correction logic and are thus missing in the final output.
- Conditional Split: With a conditional split, these 3,000 rows are likely being sent down a separate output stream meant for rows requiring correction. If this output stream isn't directed to the final destination (the new table), it explains why they were missing previously and appear now.
Troubleshooting Tips:
- Review Conditional Split Configuration: Double-check your conditional split configuration. Ensure the output stream containing the rows needing correction is directed towards the logic that performs the correction and ultimately reaches the destination table.
- Verify Data Flow Logic: In debug mode, trace the data flow for both the filter and conditional split scenarios. This can help identify where the discrepancy arises and ensure the corrected rows are being routed appropriately.
- Multiple Conditions in Split: If your conditional split has multiple conditions, make sure the rows you expect to be corrected are being directed to the correct output stream based on the condition.
By carefully examining the data flow logic and the configuration of the conditional split, you should be able to resolve the issue and ensure all the corrected rows are included in the final output table.
Hope this helps. Do let us know if you any further queries.