[COMPASS-6807] Consider replacing getSchema helper in compass-aggregation with the helpers being developed in import export work Created: 09/May/23  Updated: 10/Jan/24

Status: Needs Triage
Project: Compass
Component/s: Aggregation pipeline, Tech debt
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Himanshu Singh Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on COMPASS-6720 Cleanup gatherFields() and mongodb-sc... Closed
Related
related to COMPASS-6793 Add bson type in get-schema helper Closed

 Description   

In import export work (linked ticket - COMPASS-6720), team is refactoring mongodb-schema which potentially will expose helpers (to getSchema from a list of documents) that might have a very good overlap with the helper (getSchema) we built in compass-aggregations to support our usecase (linked ticket - COMPASS-6793).

If becomes the case, we should consider removing our own helper `getSchema` and instead use the one exposed by the linked ticket.


Generated at Wed Feb 07 22:44:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.