Skip to content

DBE-4518 data-diff NULL value comparision fix#47

Merged
ramyamasani merged 3 commits into
masterfrom
dbe3763_fix_known_issues
Jun 4, 2026
Merged

DBE-4518 data-diff NULL value comparision fix#47
ramyamasani merged 3 commits into
masterfrom
dbe3763_fix_known_issues

Conversation

@ramyamasani

Copy link
Copy Markdown

No description provided.

@orca-security-us orca-security-us Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request adds JSON support for MySQL and updates the _jsons_equiv utility to treat database NULL values as JSON null literals, ensuring consistent comparisons across different database backends. Feedback suggests optimizing the comparison logic by adding an early equality check after normalization to avoid unnecessary JSON parsing and updating the function's type hints to reflect that it now accepts None values.

Comment thread data_diff/utils.py
@ramyamasani ramyamasani force-pushed the dbe3763_fix_known_issues branch 2 times, most recently from 5b8b6e4 to 30534db Compare May 28, 2026 18:41
epoch timestamp value testing
@ramyamasani ramyamasani force-pushed the dbe3763_fix_known_issues branch from f92dd47 to 10e19a2 Compare June 2, 2026 11:50
@ramyamasani ramyamasani changed the title DBE-3763 Fix for known issues DBE-4518 data-diff NULL value comparision fix Jun 4, 2026
@ramyamasani ramyamasani merged commit 15a3ced into master Jun 4, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants