QUERYING A DATA SOURCE ON A NETWORK
摘要:
A computer-implemented method, performed by a data processing system, of executing a computer program is described. The method includes receiving (602) a SQL query, where the SQL query includes an identifier associated with a resource that is external to a data processing system and generating (604) a computer program based on the SQL query. The generating includes: identifying (614) a catalog containing data corresponding to the resource, the data representing configuration data usable to configure a computer program to transmit instructions to the resource; generating (632) a request to a query planner based on the SQL query; providing the request to the query planner; receiving (634) a query plan generated by the query planner based on the request, the query plan including a description of one or more steps to be performed by a system managing a relational database, and generating the computer program based on the query plan, wherein the generated computer program is configured to communicate with the resource based on the data of the catalog. The method further includes receiving, from the identified catalog, the configuration data; and executing (606) the computer program on an executing system, based on the configuration data, the execution of the computer program causing: transmitting (622) one or more instructions to the resource, the instructions defining operations other than operations of the SQL query, and receiving (624) data from the resource in response to the instructions.
公开/授权文献
信息查询
0/0