CosmosNi opened a new issue, #9413:
URL: https://github.com/apache/seatunnel/issues/9413

   ### Search before asking
   
   - [x] I had searched in the 
[feature](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22)
 and found no similar feature requirement.
   
   
   ### Description
   
   ### 1.1 Purpose
   
   - **Data Quality Assurance**: Validate data against predefined rules to 
ensure quality standards
   - **Early Error Detection**: Catch data quality issues early in the pipeline 
to prevent downstream failures
   - **Flexible Error Handling**: Support multiple strategies for handling 
validation failures (fail, skip, route)
   - **Comprehensive Validation**: Support various validation types including 
null checks, range validation, length validation, and pattern matching
   
   ### 1.2 Key Features
   
   - Field-level validation with multiple rules per field
   - Support for NOT_NULL, RANGE, LENGTH, and REGEX validation rules
   - Three error handling strategies: FAIL, SKIP, and ROUTE_TO_TABLE
   - Configurable validation rules with custom error messages
   - Integration with SeaTunnel's transform framework
   - Support for both flat and nested configuration formats
   
   ## 2. Architecture
   
   ### 2.1 High-Level Architecture
   
   ```
   ┌─────────────────┐    ┌──────────────────┐    ┌─────────────────┐
   │   Input Data    │───▶│  Data Validator  │───▶│  Output Data    │
   │   (SeaTunnelRow)│    │   Transform      │    │ (Valid Rows)    │
   └─────────────────┘    └──────────────────┘    └─────────────────┘
                                 │
                                 ▼
                          ┌──────────────────┐
                          │   Error Table    │
                          │ (Invalid Rows)   │
                          └──────────────────┘
   
   ### Usage Scenario
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to