T-212: M2.3t — Add --qm-financials-old merge and Option B --from-mongo streaming for M2 collections in curate-etl
This commit is contained in:
parent
825f48a4b9
commit
b1d0941605
2 changed files with 4 additions and 4 deletions
|
|
@ -2770,7 +2770,7 @@ fn qm_financials_old_merges_with_conservation_and_reader_parity() {
|
|||
let out_file = tmp.path().join("out_file");
|
||||
let out_reader = tmp.path().join("out_reader");
|
||||
|
||||
fs::write(&map_path, "qm\tACME:US\t101\t2020-01-01\t\n").unwrap();
|
||||
fs::write(&map_path, "qm\tACME:US\t2020-01-01\t\t101\n").unwrap();
|
||||
fs::write(&ven_path, "101\tus_tsx\n").unwrap();
|
||||
|
||||
let fields = |rev: f64| FundamentalsFields {
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@ fn parity_curate_fundamentals_mongo_cursor_matches_file_mode_with_and_without_ol
|
|||
let tmp = TempDirGuard::new("parity-fundamentals");
|
||||
let map_path = tmp.path().join("provider_mapping.tsv");
|
||||
let ven_path = tmp.path().join("listing_venues.tsv");
|
||||
fs::write(&map_path, "qm\tACME:US\t101\t2020-01-01\t\n").unwrap();
|
||||
fs::write(&map_path, "qm\tACME:US\t2020-01-01\t\t101\n").unwrap();
|
||||
fs::write(&ven_path, "101\tus_tsx\n").unwrap();
|
||||
|
||||
let fin_docs = vec![
|
||||
|
|
@ -270,7 +270,7 @@ fn parity_curate_fundamentals_mongo_cursor_matches_file_mode_with_and_without_ol
|
|||
fn parity_curate_posts_mongo_cursor_matches_file_mode_byte_for_byte() {
|
||||
let tmp = TempDirGuard::new("parity-posts");
|
||||
let map_path = tmp.path().join("provider_mapping.tsv");
|
||||
fs::write(&map_path, "ceo\t5001\t202\t2020-01-01\t\n").unwrap();
|
||||
fs::write(&map_path, "ceo\t5001\t2020-01-01\t\t202\n").unwrap();
|
||||
|
||||
let mut d1 = RawDocumentBuf::new();
|
||||
d1.append(cstr!("ceoId"), "5001");
|
||||
|
|
@ -403,7 +403,7 @@ fn parity_curate_1m_ilp_mongo_cursors_match_file_mode_byte_for_byte() {
|
|||
let map_path = tmp.path().join("provider_mapping.tsv");
|
||||
fs::write(
|
||||
&map_path,
|
||||
"eod\tNVDA.US\t301\t2020-01-01\t\nqm\tNVDA:US\t301\t2020-01-01\t\n",
|
||||
"eod\tNVDA.US\t2020-01-01\t\t301\nqm\tNVDA:US\t2020-01-01\t\t301\n",
|
||||
)
|
||||
.unwrap();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue