Skip to content

Conversation

@kumarUjjawal
Copy link
Contributor

@kumarUjjawal kumarUjjawal commented Nov 24, 2025

Which issue does this PR close?

Rationale for this change

Centralize <slt:ignore> handling so the validator and error output use the same logic, eliminating false-positive diffs.

What changes are included in this PR?

  • df_value_validator now records mismatch context (expected/actual snapshots + reason) via a shared helper.
  • The sqllogictest runner consumes that context to print [Reason]/[Expected]/[Actual] instead of the old diff.

Are these changes tested?

  • Added targeted tests covering ignore markers and trailing-data handling.

Are there any user-facing changes?

@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label Nov 24, 2025
@kumarUjjawal kumarUjjawal changed the title Added shared validator helper that records context for mismatches and eliminates false-positive diffs Improve error message in sqllogictest with <slt:ignore> marker Nov 28, 2025
@kumarUjjawal
Copy link
Contributor Author

@2010YOUY01 could you take a look whenever you get the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve error message in sqllogictest with <slt:ignore> marker

1 participant