×

Parallel streaming of external data

  • US 9,898,469 B1
  • Filed: 08/25/2014
  • Issued: 02/20/2018
  • Est. Priority Date: 02/28/2014
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method comprising:

  • receiving, by a first distributed system that comprises multiple segment nodes, a query that requests rows of an external table representing data stored in multiple data fragments on multiple respective data nodes in a second distributed system, wherein each of the data nodes of the second distributed system are distinct from the segment nodes of the first distributed system, wherein the first distributed system operates under control of a first master node and the second distributed system operates under control of a second master node that is distinct from the first master node, and wherein the second distributed system stores data in a second format that is different from a first format of data stored by the first distributed system;

    initiating communication by a plurality of extension services between nodes of the first distributed system and nodes of the second distributed system, including a first extension service communicating with the master nodes of the first and second distributed system and a plurality of second extension services communicating between data nodes of the second distributed system and segment nodes of the first distributed system;

    requesting, by the master node of the first distributed system from the first extension service, location information for a plurality of the data fragments in the second distributed system represented by the external table;

    allocating each data fragment of the plurality of data fragments to a respective one of the plurality of second extension services and each of the second extension services to one of a plurality of segment nodes of the first distributed system, including providing each segment node with location information for respective fragments of the plurality of fragments allocated to the segment node;

    receiving, by each of the plurality of segment nodes of the first distributed system, a stream of converted data in the first format, wherein each segment node communicates with a respective extension service to;

    obtain fragments in the second format from one or more data nodes of the second distributed system according to the location information for the respective fragments,convert the obtained fragments from the second format to the first format, andprovide to the segment node of the first distributed system a stream of converted data corresponding to the rows of the external table; and

    computing a result for the received query using the stream of converted data corresponding to the rows of the external table.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×