X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=blobdiff_plain;f=mig-xml%2Fevergreen_staged_report.xml;h=526e3c5028ef97d26d9cc2eeaabe182faf4739a6;hp=9e7dc20fb52a3ae168c903392e65f9d72c2471a3;hb=49c84ca86a91a97007c975eff40d50890cc46fbb;hpb=23969432fe408a99d27ec77e20166874407276cb diff --git a/mig-xml/evergreen_staged_report.xml b/mig-xml/evergreen_staged_report.xml index 9e7dc20..526e3c5 100644 --- a/mig-xml/evergreen_staged_report.xml +++ b/mig-xml/evergreen_staged_report.xml @@ -660,12 +660,12 @@ id = ac_sc.owner GROUP BY 2,3 ORDER BY 2,3 - bibs - Extracted Bibliographic Records + bibs_loaded + Loaded Bibliographic Records bibs 0 - Count.Sourcee.Migrated - SELECT COUNT(bre.id), bre.x_source, bre.x_migrate::TEXT FROM biblio_record_entry_legacy bre GROUP BY 2, 3 ORDER BY 2, 3 + Count.Loaded + SELECT COUNT(bre.id), bre.x_migrate::TEXT FROM biblio_record_entry_legacy bre WHERE id IN (SELECT id FROM biblio.record_entry WHERE deleted = FALSE) GROUP BY 2 ORDER BY 2 False means the records are not deleted. @@ -734,13 +734,36 @@ id = ac_sc.owner GROUP BY 2,3 ORDER BY 2,3 bib_merges - Bibliographic Mergers + Bibliographic Merge Count + bibs + 0 + Records Merged.Incumbent Records Merged Into + SELECT SUM(array_length(records,1)), COUNT(*) FROM groups + + + + bib_merges_by_search_format + Bibliographic Merges By Search Format bibs 0 Count.Item Type WITH g AS (SELECT UNNEST(records) FROM groups) SELECT COUNT(record), search_format_str FROM dedupe_batch WHERE record IN (SELECT * FROM g) GROUP BY 2 + + bibs_not_loaded + Bibliographic Records That Failed to Load + bibs + 0 + Title.Author.Control Number + SELECT LEFT(ARRAY_TO_STRING(oils_xpath( '//*[@tag="245"]/*[@code="a"]/text()', a.marc),''),50) AS "Title", + LEFT(ARRAY_TO_STRING(oils_xpath( '//*[@tag="100"]/*[@code="a"]/text()', a.marc),''),50) AS "Author", + ARRAY_TO_STRING(oils_xpath( '//*[@tag="001"]/text()', a.marc),'') AS "001" + FROM biblio_record_entry aLEFT JOIN biblio.record_entry b ON b.id = a.id WHERE b.id IS NULL AND a.x_migrate; + + + +