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

Claim 13:
14. A system comprising:
a remote machine learning service implemented by a first one or more electronic devices; and
a database service implemented by a second one or more electronic devices, the database service including instructions that upon execution cause the database service to:
generate a query plan to optimize a query for batch processing of data stored in a database service, the query plan including a batch mode operator to execute a function reference and an execution context associated with the batch mode operator;
execute the query plan, including the batch mode operator, to execute the function reference and invoke a machine learning function associated with the function reference, wherein the machine learning function sends a batch of machine learning requests, generated using data associated with the execution context, to the remote machine learning service and obtains a plurality of responses from the remote machine learning service; and
generate a query response based on the plurality of responses.