US 11,727,204 B2
Schema and object extractor
Sebastien Lavoignat, Droue-sur-Drouette (FR)
Assigned to SAP SE, Walldorf (DE)
Filed by SAP SE, Walldorf (DE)
Filed on Sep. 22, 2020, as Appl. No. 17/28,160.
Prior Publication US 2022/0092257 A1, Mar. 24, 2022
Int. Cl. G06F 40/137 (2020.01); G06F 40/18 (2020.01)
CPC G06F 40/18 (2020.01) 9 Claims
OG exemplary drawing
 
1. A system comprising:
a memory storing processor-executable program code;
a processing unit to execute the processor-executable program code to cause the system to:
identify a respective column name of each of a plurality of columns of a table comprising a plurality of rows including a header row comprising a plurality of column names;
automatically determine a hierarchical schema of the table by:
for each column name of the header row:
determine whether the column name of the header row includes a delimiter; and
in response to determination that the column name of the header row includes a delimiter, define a node of the hierarchical schema associated with a portion of the column name following the delimiter, the node being a child node of a parent node associated with a portion of the column name preceding the delimiter;
in response to determination that the column name of the header row does not include a delimiter, create a node associated with the column name at a highest hierarchical level of the schema;
for each row of the table:
determine a value associated with each of the plurality of columns;
create an instance of the hierarchical schema; and
populate the instance with the determined values; and
output the instances.