Skip to content

ES/DB compare script (for projects without timelines) #441

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 20, 2020

Conversation

imcaizheng
Copy link
Contributor

Just for review.

Copy link
Contributor

@maxceem maxceem left a comment

Choose a reason for hiding this comment

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

All works great, there is only one issue with array comparison.

If I have a project in DB with bookmarks: ["test"], and the same project in ES with bookmarks: { "title": "asdfsadf"}:

image

Then in the report, I get 2 mismatches for the same array element:

image

How complex is it in your approach to show one mismatch in such case, like:

bookmarks[0] (kind: modify)

Copy link
Contributor

@maxceem maxceem left a comment

Choose a reason for hiding this comment

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

@imcaizheng works great now!

@maxceem maxceem changed the base branch from develop to feature/es-db-compare January 20, 2020 02:39
@maxceem maxceem changed the title New fixes ES/DB compare script (for projects without timelines) Jan 20, 2020
@maxceem maxceem merged commit 129a11f into topcoder-platform:feature/es-db-compare Jan 20, 2020
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