Patent ID: 11892973
Assignee: WESTERN DIGITAL TECHNOLOGIES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A data storage device, comprising:
one or more memory modules; and
a controller comprising a processor configured to perform a method for data schema detection and migration, the method comprising:
identifying, in a portion of a first file, a reference to a code-description table comprising a plurality of descriptors;
creating a schema for the portion of the first file, the schema comprising a schema element comprised of two or more of the plurality of descriptors;
converting the first file to a table according to the schema;
storing the table and schema in the one or more memory modules;
identifying a mismatch between data of the first file and a second file;
updating a field type to match a mismatched data type by adding a new field to the schema resulting in a new column in the table to allow for a missing field to have a location in the table;
maintaining an exception queue;
determining the exception queue is empty;
stopping identifying mismatches;
determining a last data record has been reached; and
executing a plurality of database operations comprising:
a query on the table;
a record insert on the table;
a record update on the table; and
a record deletion on the table.