dedup_new_comparators #509

Merged
claudio.atzori merged 5 commits from dedup_new_comparators into beta 2024-11-19 15:13:41 +01:00

This PR implements a new comparator for the decision tree dedup. Its name is DateRange and it is able to derive if two dates are in a certain year range. Moreover, it implements a new specialization for the JsonListMatch comparator, useful to consider the type of the PID in an exclusive way.
It works as follow:

  • it checks for the PID types of both lists
  • when no common types are found, the comparator returns 'undefined' because it is impossible to compare
  • when common types are found, the two lists are compared using only PIDs with the same type
This PR implements a new comparator for the decision tree dedup. Its name is DateRange and it is able to derive if two dates are in a certain year range. Moreover, it implements a new specialization for the JsonListMatch comparator, useful to consider the type of the PID in an exclusive way. It works as follow: - it checks for the PID types of both lists - when no common types are found, the comparator returns 'undefined' because it is impossible to compare - when common types are found, the two lists are compared using only PIDs with the same type
michele.debonis added 5 commits 2024-11-18 15:07:21 +01:00
claudio.atzori merged commit ef51a60f19 into beta 2024-11-19 15:13:41 +01:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: D-Net/dnet-hadoop#509
No description provided.