×

Distributed execution of expressions in a query

  • US 10,242,059 B2
  • Filed: 05/30/2014
  • Issued: 03/26/2019
  • Est. Priority Date: 05/30/2014
  • Status: Active Grant
First Claim
Patent Images

1. A system for executing a query specification, comprising:

  • a first computing device having a processor and a memory;

    wherein the memory stores instructions operable by the processor to;

    evaluate, during conversion of a query specification to a locally-executable query, the query specification to identify an expression in the query specification as a candidate expression to be executed by a second computing device hosting a source of data specified in the candidate expression, wherein the conversion is performed by the first computing device and wherein the locally-executable query is executable by the first computing device against the source of data hosted on the second computing device;

    determine a cost estimate of executing the candidate expression at the first computing device;

    determine whether the cost estimate of executing the candidate expression at the first computing device is greater than a threshold; and

    replace, in response to determining that the cost estimate does exceed thethreshold, the candidate expression with a native query function, wherein the native query function is wrapped with metadata that represents a dimensionality of returning results indicative of level member hierarchies that will be included in a result of the native query function and wherein the native query is wrapped with a value indicative of the requirement to inject a context parameter.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×