Skip to content

Conversation

@CosmosNi
Copy link
Contributor

close #9413

Purpose of this pull request

Does this PR introduce any user-facing change?

How was this patch tested?

Check list

@github-actions github-actions bot added the core SeaTunnel core module label Jun 17, 2025
@CosmosNi
Copy link
Contributor Author

@Hisoka-X PTAL

Copy link
Member

@Hisoka-X Hisoka-X left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @CosmosNi

@CosmosNi CosmosNi requested a review from Hisoka-X June 23, 2025 06:55
Comment on lines 30 to 33
@DisabledOnContainer(
value = {},
type = {EngineType.SPARK, EngineType.FLINK},
disabledReason = "Currently SPARK not support adapt")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why disabled flink and spark?

Comment on lines 119 to 123
if (errorTable != null && !errorTable.isEmpty()) {
SeaTunnelRow errorRow = inputRow.copy();
errorRow.setTableId(errorTable);
log.debug("Routing invalid data to error table: {}", errorTable);
return errorRow;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we have 1000 tables need to be verify. Does I also need create 1000 tables in sink for error table? Because each table has different schema. Can we design a standard structure so that the sink can use a table to store all error data?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about keeping only three fields, source_table_id, original_data, validation_errors.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

id, table_path, original_data, validation_error, create_time.

Let original_data and validation_error store value as json format. So user can parse it easiler.

@CosmosNi CosmosNi requested a review from Hisoka-X July 2, 2025 02:13
@CosmosNi CosmosNi requested a review from Hisoka-X July 11, 2025 07:02
@CosmosNi
Copy link
Contributor Author

@Hisoka-X PTAL

@CosmosNi CosmosNi requested a review from Hisoka-X July 24, 2025 01:02
| name | type | required | default value |
|-----------------|--------|----------|---------------|
| error_handle_way| enum | no | FAIL |
| error_table | string | no | |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please update the doc too.


| name | type | required | default value |
|-----------------|--------|----------|---------------|
| error_handle_way| enum | no | FAIL |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| error_handle_way| enum | no | FAIL |
| row_error_handle_way| enum | no | FAIL |

@Hisoka-X
Copy link
Member

waiting test case passes.

@CosmosNi CosmosNi requested a review from Hisoka-X July 31, 2025 02:12
@corgy-w corgy-w merged commit 87a065a into apache:dev Jul 31, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature][transform-v2] Data Validator Transform support

3 participants