主权项 |
1. A system comprising:
a non-relational database; a first server communicatively coupled to the non-relational database; and a computing device communicatively coupled to the first server, wherein the computing device comprises a processor and a computer readable medium storing instructions that, when executed by the processor, cause the computing device to: transmit, from the computing device to the first server, instructions to sample and filter one or more tables residing in the non-relational database; receive, from the first server, a sample set of the one or more tables that meets constraints provided in the instructions; determine that a cell of a first table, of the one or more tables, includes an array; determine a number of elements in the array; generate a virtual table that duplicates the first table; replace a column of the virtual table that includes the array with a column representing the number of elements in the array; and generate a schema definition for the non-relational database that includes a table definition of the virtual table. |