Hongmu Notes

Batch comparison

One form per day, completed in one go.
100% Browser local processing 0 Data upload

🔍 two pieces of data

New 0 | Delete 0 | Modify 0

💡 Instructions for use

  • The delimiters and column order on both sides must be consistent, otherwise a large number of false differences will appear, which is the most common source of problems.
  • The matching column is used to determine "which row matches which row". Columns with unique values should be selected, such as numbers or names. If there is no unique column, the entire row can be compared.
  • Spaces and invisible characters at the end of the line will cause "look the same but report differences". In this case, please select the option to clean up the whitespace.
  • The results are listed and counted according to three categories: new addition, deletion, and modification; first judge the scale by looking at the quantity, and then check each item one by one.

One form per day, completed in one go.

Applicable scenarios

Similar tables exported by day or week need to be checked against the baseline version one by one.

Summary and verification of data from multiple stores and multiple channels under the same template.

Organization

Each group of data is submitted separately, and the results are returned by group number without interfering with each other.

Separate groups with blank lines or separator marks to avoid sticking.

Baseline version

Batch comparisons usually use a fixed version as a baseline against which the rest are compared.

It is recommended to put the baseline version first for easy comparison.

Elapsed time expected

The more groups there are, the longer it takes, which is proportional to the total amount of data.

When the amount of data is large, submitting it in batches makes it easier to check midway.

Result check

Spot-check the first group, the middle group and the last group to confirm that the formats are consistent.

When the results of a certain group are found to be abnormal, that group alone can be weighted.

Submit three to five groups in each batch, and randomly check the first and last two groups, which can speed up the process and prevent errors.

📖 Glossary

delimiter
Common characters used to divide columns are tabs, commas, and vertical bars. The same delimiter must be used on both sides, otherwise the columns will be misaligned and the comparison results will be completely distorted.
Header
Column names in the first row of the table. Ignoring the table header will cause the first row to be treated as data for comparison, so it is recommended to check Ignore or ensure that the column names on both sides are completely consistent.
line by line comparison
Compare the two pieces of data row by row to determine whether a row is added, deleted, or the content has changed. It is closer to people's reading habits than frame-by-frame comparison, and the output is easier to understand.
Cell differences
The position where the contents of two columns in the same row are inconsistent. After locating a specific cell, you don't have to read the entire row when making modifications, which is significantly more efficient than just marking "this row is different."
primary key column
The column used to determine "which row corresponds to which row", usually a number or name. When there is no primary key, it can only be aligned in row order. Once a new row is inserted in the middle, all subsequent rows will be judged to be different.
Add new row
Rows that exist in table B but not in table A. It reflects the data added in this change, and is two different change types from "content modified".
Delete row
Rows that exist in table A but not in table B. Confirming whether the deletion is a real change or an extraction omission is the most easily overlooked step when verifying data.
Column order
The order in which the two tables appear. When the column names are the same but in different order, alignment by position will result in a large number of false differences. In this case, you should realign by column name before comparing.
Ignore case
Treat uppercase and lowercase characters the same when comparing. Used in scenarios that only care about the content and not the writing form; if the format itself has requirements, it should not be turned on.
Blank handling
How to handle trailing spaces, tabs, and extra blank lines. After turning on sorting, you can avoid the situation of "looking the same but reporting differences", which is the most effective setting to reduce false positives.
Difference summary
Count the number of additions, deletions and modifications separately. It allows people to first look at the scale before deciding whether to look at each item in detail, which is more practical than being directly drowned in details.
Comparison report
Organize the comparison results into saveable text for easy sending to others or keeping for files. The report should include the comparison time and settings used, otherwise others will not be able to reproduce the same results.

🔗 All keywords and tutorials

Keywords page of the tool12a

Return to tool home page

❓ FAQ

How many groups can be competed at one time?
There is no hard upper limit, but three to five groups per batch is recommended.
What should I do if a certain set of results is abnormal?
Reweight the group individually and check separators and column numbers.