CPC G06F 16/211 (2019.01) | 24 Claims |
1. A method comprising:
receiving, by a compute service manager, a copy command to copy a file into a source table;
generating, by the compute service manager, a query plan to execute the copy command;
assigning, by the compute service manager, one or more execution nodes to execute the query plan;
detecting, by the one or more execution nodes, a schema mismatch between the file and the source table;
generating, by the one or more execution nodes, a message based on detecting the schema mismatch;
modifying, by the compute service manager, a schema for the source table based on the message;
compiling, by the compute service manager, a modified query plan for the copy command based on the modified schema of the source table; and
executing, by the one or more execution nodes, the copy command based on the modified query plan to copy the file into the source table.
|