# US 2022/0284057 A1 · Continuous builds of derived datasets in response to other dataset updates

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0284057 A1
- Document ID: US20220284057A1
- Status: Published application
- Kind: A1
- Application number: 17/826,099
- Filed: 2022-05-26
- Published: 2022-09-08
- Earliest claimed: 2017-11-22
- Assignees: Palantir Technologies Inc.
- Applicants: Palantir Technologies Inc.
- Inventors: DANIEL DEUTSCH; KYLE SOLAN; THOMAS MATHEW; VASIL VASILEV
- Web page: https://patentgrep.com/patent/US20220284057A1

## CPC

- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data processing method comprises creating and storing a dependency graph representing at least one derived dataset and one or more raw datasets or intermediate derived datasets on which the at least one derived dataset depends; reading configuration data specifying one or more periods for one or more datasets in the dependency graph; detecting a first update to a first dataset; initiating a first build of a first intermediate derived dataset only when a then-current time is within a first period of the one or more periods or a previous build of the first intermediate derived dataset occurred earlier than a then-current time less a second period of the one or more periods; asynchronously detecting a second update to a second dataset; initiating, in response to the second update, a second build of a second intermediate derived dataset that depends on the second dataset.

## Claims

### Claim 1

A method comprising:
obtaining a definition of at least one derived dataset of a data pipeline;
creating and storing a dependency graph in memory, the dependency graph representing the at least one derived dataset and one or more raw datasets or intermediate derived datasets on which the at least one derived dataset depends;
reading configuration data specifying one or more periods for one or more datasets in the dependency graph;
detecting a first update to a first dataset among the one or more raw datasets or intermediate derived datasets on which the at least one derived dataset depends;
initiating, in response to the first update, a first build of a first intermediate derived dataset that depends on the first dataset only when a then-current time is within a first period of the one or more periods or a previous build of the first intermediate derived dataset occurred earlier than a then-current time less a second period of the one or more periods;
asynchronously detecting a second update to a second dataset among the one or more raw datasets or intermediate derived datasets on which the at least one derived dataset depends;
initiating, in response to the second update, a second build of a second intermediate derived dataset that depends on the second dataset;
detecting and initiating continuously as other updates to other datasets are received,
wherein the method is performed using one or more processors.

### Claim 2 (depends on 1)

The method of claim 1, the configuration data specifying the one or more periods respectively for one or more different datasets.

### Claim 3 (depends on 1)

The method of claim 1, the first period or the second period being associated with the first intermediate derived dataset.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
detecting that a frequency of updates to a dataset on which the first intermediate derived dataset depends exceeds a threshold;
in response to the detecting, updating the configuration data to specify the first period or the second period.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
updating the configuration data to specify a certain period for a pipeline that recursively applies to parent datasets;
setting a period for a dataset having multiple children to a minimum of the periods applied to the multiple children.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
detecting that an amount of resource used in building the first intermediate derived dataset exceeds a threshold;
in response to the detecting, updating the configuration data to specify the first period or the second period.

### Claim 7 (depends on 1)

The method of claim 1, the first period corresponding to an amount of resource usage below a certain threshold.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
detecting that a final dependency of a second intermediate derived dataset that depends on the first intermediate derived dataset is satisfied;
initiating a third build of second intermediate derived dataset.

### Claim 9 (depends on 1)

The method of claim 1, the configuration data further specifying branch declarations related to logical branches of a build system.

### Claim 10 (depends on 9)

The method of claim 9, further comprising determining that the first intermediate derived dataset is not associated with a logical branch of the logical branches for which the branch declarations are specified.

### Claim 11

A computer-readable, non-transitory storage medium storing computer-executable instructions, which when executed implement a method, the method comprising:
obtaining a definition of at least one derived dataset of a data pipeline;
creating and storing a dependency graph in memory, the dependency graph representing the at least one derived dataset and one or more raw datasets or intermediate derived datasets on which the at least one derived dataset depends;
reading configuration data specifying one or more periods for one or more datasets in the dependency graph;
detecting a first update to a first dataset among the one or more raw datasets or intermediate derived datasets on which the at least one derived dataset depends;
initiating, in response to the first update, a first build of a first intermediate derived dataset that depends on the first dataset only when a then-current time is within a first period of the one or more periods or a previous build of the first intermediate derived dataset occurred earlier than a then-current time less a second period of the one or more periods;
asynchronously detecting a second update to a second dataset among the one or more raw datasets or intermediate derived datasets on which the at least one derived dataset depends;
initiating, in response to the second update, a second build of a second intermediate derived dataset that depends on the second dataset;
detecting and initiating continuously as other updates to other datasets are received.

### Claim 12 (depends on 11)

The computer-readable, non-transitory storage medium of claim 11, the configuration data specifying the one or more periods respectively for one or more different datasets.

### Claim 13 (depends on 11)

The computer-readable, non-transitory storage medium of claim 11, the first period or the second period being associated with the first intermediate derived dataset.

### Claim 14 (depends on 11)

The computer-readable, non-transitory storage medium of claim 11, the method further comprising:
detecting that a frequency of updates to a dataset on which the first intermediate derived dataset depends exceeds a threshold;
in response to the detecting, updating the configuration data to specify the first period or the second period.

### Claim 15 (depends on 11)

The computer-readable, non-transitory storage medium of claim 11, the method further comprising:
updating the configuration data to specify a certain period for a pipeline that recursively applies to parent datasets;
setting a period for a dataset having multiple children to a minimum of the periods applied to the multiple children.

### Claim 16 (depends on 11)

The computer-readable, non-transitory storage medium of claim 11, the method further comprising:
detecting that an amount of resource used in building the first intermediate derived dataset exceeds a threshold;
in response to the detecting, updating the configuration data to specify the first period or the second period.

### Claim 17 (depends on 11)

The computer-readable, non-transitory storage medium of claim 11, the first period corresponding to an amount of resource usage below a certain threshold.

### Claim 18 (depends on 11)

The computer-readable, non-transitory storage medium of claim 11, the method further comprising:
detecting that a final dependency of a second intermediate derived dataset that depends on the first intermediate derived dataset is satisfied;
initiating a third build of second intermediate derived dataset.

### Claim 19 (depends on 11)

The computer-readable, non-transitory storage medium of claim 11, the configuration data further specifying branch declarations related to logical branches of a build system.

### Claim 20 (depends on 9)

The method of claim 9, further comprising determining that the first intermediate derived dataset is not associated with a logical branch of the logical branches for which the branch declarations are specified.
