Unnesting of json arrays
AssigneeSap SE
InventorsStefano BELLONI, Christian Bensberg, Daniel Ritter
Life of this patent
Estimating the term…
Loading patent…
AssigneeSap SE
InventorsStefano BELLONI, Christian Bensberg, Daniel Ritter
Estimating the term…
A method may include receiving a query including at least one unnest operation to unnest a plurality of elements from one or more JavaScript Object Notation (JSON) arrays. The at least one unnest operation may unnest the plurality of elements by generating a table in which each row of the table is populated by one of the plurality of elements. An execution plan may be generated to include a pre-filter operation to filter, prior to the at least one unnest operation, the plurality of elements included in the one or more JSON arrays. For example, the pre-filter operation may be performed by iterating through the elements from the one or more JSON arrays to identify one or more elements satisfying a predicate included in a where clause of the query. The query may be executed in accordance with the execution plan. Related systems and computer program products are also provided.
A system, comprising:
A computer-implemented method, comprising:
A non-transitory computer readable medium storing instructions, which when executed by at least one data processor, result in operations comprising:
Dependencies are inferred from the claim text.