×

DECORRELATION OF USER-DEFINED FUNCTION INVOCATIONS IN QUERIES

  • US 20150220597A1
  • Filed: 01/31/2014
  • Published: 08/06/2015
  • Est. Priority Date: 01/31/2014
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for transforming user-defined-function invocations within a query-based environment, the method comprising:

  • receiving a query with a user-defined-function (UDF);

    parsing the UDF into a plurality of statements;

    constructing a first expression tree representation of the UDF;

    constructing a second expression tree representation of the query absent the UDF;

    generating a transformed expression representation of the query by merging the first expression tree and the second expression tree based on parameters of the first expression tree and attributes of the second expression tree; and

    simplifying the transformed expression using transformation rules, based on a determination that the transformed expression can be simplified.

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