Systems and methods for code parsing and lineage detection
AssigneeCapital One Services, LLC
InventorsSunil VASISHT, Fei TONG, Yuanyuan YIN
Life of this patent
Estimating the term…
Abstract
Disclosed embodiments provide systems, methods, and techniques for lineage detection of calculations (e.g., processes, metrics, important data elements, data elements, or the like). According to disclosed embodiments, a lineage detector acquires one or more parameters, which at least include a first parameter indicative of source code and a second parameter indicative of a calculation. The lineage detector also parses the source code. After parsing the source code, the lineage detector determines the data lineage of the calculation based on the parsed source code. In some embodiments, the lineage detector generates and displays output of the data lineage.
Claims21
1-20. (canceled)
A lineage detector comprising:
- a memory device storing instructions;
- and
- a processor configured to execute the instructions to perform a method comprising:
- acquiring a first parameter identifying a body of source code and a second parameter identifying a target calculation in the body of source code;
- parsing the body of source code to determine elements of a query in the source code;
- determining a data lineage of the target calculation using the elements of the query by generating a tree including hierarchical nodes containing the elements of the query;
- and
- generating an output of the determined data lineage using a top node and lower-level nodes of the tree.
The lineage detector of claim 1, wherein parsing the body of source code is performed by utilizing third-party software.
The lineage detector of claim 1, wherein the top node of the tree represents a process.
Dependencies are inferred from the claim text.