Skip to content

Commit 405cce5

Browse files
committed
fix: amend messaging for missing CSV fields check in ddb reader
1 parent 3bfa36f commit 405cce5

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • src/dve/core_engine/backends/implementations/duckdb/readers

src/dve/core_engine/backends/implementations/duckdb/readers/csv.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,12 @@ def perform_field_check(
8282
messages=[
8383
FeedbackMessage(
8484
entity=entity_name,
85-
record=None,
85+
record={"missing_fields": missing},
8686
failure_type="submission",
8787
error_location="Whole File",
88+
reporting_field="missing_fields",
8889
error_code=self.field_check_error_code,
89-
error_message=f"{self.field_check_error_message} - missing fields: {missing}", # pylint: disable=line-too-long
90+
error_message=f"{self.field_check_error_message}", # pylint: disable=line-too-long
9091
)
9192
],
9293
)

0 commit comments

Comments
 (0)