×

Distributed execution of expressions in a query

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

1. A computer-implemented method for executing a query specification, comprising:

  • evaluating, by a first computing device configured to transform query specifications into queries for execution by the first computing device solely against databases hosted on other computing devices, a first query specification to identify at least one expression of a set of expressions as a candidate expression to be executed by a second computing device hosting a source of data specified in the candidate expression, the evaluation based on rules stored in a memory of the first computing device;

    determining, by the first computing device, a cost estimate of executing the candidate expression at the first computing device;

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

    replacing, by the first computing device, the candidate expression with a native query function when the cost estimate of executing the candidate expression at the first computing device is greater than the threshold, 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
    ×
    ×