×

HIERARCHICAL WINDOW FUNCTION

  • US 20190317939A1
  • Filed: 02/13/2019
  • Published: 10/17/2019
  • Est. Priority Date: 04/11/2018
  • Status: Active Grant
First Claim
Patent Images

1. A system, comprising:

  • at least one data processor; and

    at least one memory storing instructions which, when executed by the at least one data processor, result in operations comprising;

    generating, based at least on a representation of a first hierarchy stored in a database, a visiting sequence data structure, the first hierarchy being stored in a table in the database, each of a plurality of rows comprising the table corresponding to one of a plurality of nodes comprising the first hierarchy, and the visiting sequence data structure include a first row vector specifying an order for traversing the plurality of nodes in the first hierarchy; and

    executing a hierarchical window function by at least iterating through the plurality of rows comprising the table in accordance with the order specified by the first row vector and determining, for a first node in the first hierarchy, a summary value corresponding to a first value of the first node and a second value of a second node descendent from the first node.

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