Efficient performance of pipeline transformations

Caching transformation outputs and performing frontend transformations in data processing pipelines reduce computational waste and network traffic by allowing partial pipeline evaluation, enhancing efficiency and real-time data presentation.

US20260379898A1Pending Publication Date: 2026-11-26ORACLE INT CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/215116
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Filing Date
2025-05-21
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Data processing pipelines often require full re-evaluation due to minor changes, leading to wasted computational resources and lengthy processing times, and rely heavily on backend computers, causing high network traffic.

Method used

Implement caching of transformation outputs and perform transformations at the frontend whenever possible, allowing partial pipeline evaluation to commence from the point of modification, reducing the need for full re-evaluation and minimizing backend reliance.

Benefits of technology

This approach conserves computational resources and reduces network traffic by enabling near real-time data presentation through frontend transformations, avoiding unnecessary re-evaluation of pipelines.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260379898A1-D00000_ABST
    Figure US20260379898A1-D00000_ABST
Patent Text Reader

Abstract

Disclosed herein are techniques related to efficient performance of pipeline transformations. The techniques may involve receiving, by a client application provided by server computing device(s), user input specifying a sequence of pipeline transformations to be performed on a source dataset to generate a resultant dataset. The sequence of pipeline transformations may include a client-side transformation and a server-side transformation. The client-side transformation may be capable of performance by the client application, and the server-side transformation may be incapable of performance by the client application. The techniques may further involve generating, by the client application, a client-side transformed dataset based on executing code for performing the client-side transformation. The code may include an interpreted programming language code. The client-side transformed dataset may be communicated from the client application to the server computing device(s) for storage in a cache maintained by the server computing device(s).
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure generally relates to the field of database systems, and in particular to efficient performance of pipeline transformations.BACKGROUND

[0002] The approaches described in this section are approaches that could be pursued, but not necessarily approaches that have been previously conceived or pursued. Therefore, unless otherwise indicated, it should not be assumed that any of the approaches described in this section qualify as prior art merely by virtue of their inclusion in this section.

[0003] Many data analytics and real-time data processing systems employ data processing pipelines comprising a sequence of data transformation operations (referred to herein simply as “transformations” or “pipeline transformations”) that each transform input data in some way. For instance, an example pipeline may take a database table as input and apply, to the database table, a sequence of transformations including (1) a DropRows operation that deletes any rows having a non-numeric value for a certain column, (2) an IfNull operation that replaces any null values for a particular column with the average value for that particular column, and (3) a Round operation that approximates, to the nearest hundredth, any values in a given column that have more than two digits following a decimal point.

[0004] Pipelines often undergo repeated execution due to a variety of reasons, such as changes in input data, changes in the sequence of transformations included in a pipeline, and / or changes in parameter values of transformations. However, even if merely a small portion of a pipeline is affected by changes, the entire pipeline is typically re-evaluated from the beginning, thereby resulting in wasted computational resources and lengthy processing times.

[0005] Referring again to the example pipeline above, suppose that the sequence of transformations is modified such that the Round operation is replaced with a DeleteColumns operation that deletes a particular column of values. Although the modification is in the last operation of the sequence, evaluation of the modified pipeline would again involve applying the DropRows operation to the database table and applying the IfNull operation to the result. This unnecessarily incurs computational cost.

[0006] Furthermore, pipeline transformations are typically performed by powerful backend computers which communicate transformed data to a frontend computer for presentation to a user. This can result in high network traffic between the backend and the frontend.

[0007] Thus, it would be beneficial and desirable to avoid entirely re-evaluating pipelines whenever it is possible to do so. Additionally, it would be beneficial and desirable to avoid solely relying on backend computers to evaluate pipelines.BRIEF DESCRIPTION OF THE DRAWINGS

[0008] In the drawings:

[0009] FIG. 1 depicts an example system upon which embodiments may be implemented.

[0010] FIG. 2 depicts an example data processing architecture for a data lakehouse.

[0011] FIG. 3 depicts an example client application.

[0012] FIG. 4 depicts an example dataset management server.

[0013] FIG. 5 depicts an example approach for efficient performance of pipeline transformations.

[0014] FIG. 6 depicts an example software system that may be employed for controlling the operation of a computing device.

[0015] FIG. 7 depicts an example computing device upon which embodiments may be implemented.DETAILED DESCRIPTION

[0016] In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding. It will be apparent, however, that embodiments may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form in order to avoid unnecessarily obscuring the present disclosure.GENERAL OVERVIEW

[0017] Disclosed herein are techniques related to efficient performance of pipeline transformations. The techniques enable conservation of computational resources based on caching the output of each transformation. Additionally, the techniques enable presenting the outputs of transformations in near real-time based on performing transformations at the frontend whenever possible.

[0018] By caching the output of each transformation, entirely re-evaluating pipelines can be avoided. Instead, evaluation of a modified pipeline may commence where a modification is made. For example, if a pipeline includes a sequence of three transformations and if a modification is made to the third transformation, then evaluation of the modified pipeline may involve retrieving, from a cache, the output of the second transformation and applying the modified third transformation to this output. Without this cached output, evaluation of the modified pipeline would have otherwise involved unnecessarily performing the first and second transformations again.

[0019] By performing transformations at the frontend, transformed data can avoid traversing the network in order to be presented to a user. Instead, the transformed data may be presented to a user via the same device used to perform the transformations.SYSTEM OVERVIEW

[0020] FIG. 1 depicts an example system upon which embodiments may be implemented. In the example of FIG. 1, the system includes client device 100, which is communicatively coupled to the cloud. Client device 100 hosts client application 102, and the cloud hosts client provisioning server 104 and dataset management server 106.

[0021] Client device 100 may be implemented as one or more hardware and / or software devices configured to host client application 102. Non-limiting examples of client device 100 include a desktop computer, a laptop computer, a tablet computer, a smartphone, a web browser, and / or an operating system. For example, client device 100 may be implemented as a web browser running on a desktop computer or an operating system running on a smartphone.

[0022] Client application 102 may be implemented as programmatic code executable by client device 100 to generate a user interface for creating or modifying a data processing pipeline. Non-limiting examples of client application 102 include a web application or a native application. For example, client application 102 may be a web application implemented as programmatic code that includes HyperText Markup Language (HTML) code, Cascading Style Sheets (CSS) code, JavaScript code, and WebAssembly code.

[0023] Advantageously, client application 102 may include programmatic code configured to perform certain pipeline transformations at the client device (referred to herein as “client-side transformations”). In some embodiments, the client-side transformations may be a subset of the pipeline transformations that are typically performed at one or more backend servers (referred to herein as “server-side transformations”). For example, of the more than 300 transformations that can be performed at the server-side, there may be approximately thirty transformations that can also be performed at the client-side. This may be due to relatively smaller computational resources at the client-side.

[0024] To enable fast processing times despite any client-side resource limitations, the client-side transformations may be performed based on executing programmatic code implemented using an interpreted programming language (e.g., JavaScript) and / or a binary code format (e.g., WebAssembly). Thus, pipeline transformations may be quickly performed at the client-side for near real-time presentation of transformed data via client application 102.

[0025] Optional client provisioning server 104 may be implemented as one or more server computing devices configured to provide client application 102 to client device 100. For example, client provisioning server 104 may be implemented as a web server from which client device 100 can download programmatic code for generating a web application.

[0026] Dataset management server 106 may include one or more server computing devices (e.g., a cluster of server computing devices) configured to store, modify, or otherwise manipulate datasets. As used herein, the term “dataset” refers to a collection of related information that is composed of separate elements but can be manipulated as a single unit by a computing device. Datasets are typically organized in a structured format and may be used for a variety of purposes. For example, a dataset organized in a tabular format may include one or more database tables that can be used for data science, machine learning, and / or business analytics projects.

[0027] In some embodiments, dataset management server 106 may host a data lakehouse, which is a data management platform created by combining the capabilities of data lakes and data warehouses into a single platform. As a result, complex workloads (e.g., data science, machine learning, and business analytics workloads) are enabled on all data. Similar to a data lake, a data lakehouse is capable of storing raw data (e.g., numbers, text, images, audio, and video) in its original form (e.g., structured, semi-structured, or unstructured) in a low-cost and scalable way. At the same time, a data lakehouse has the data management and transactional capabilities of a data warehouse.

[0028] FIG. 2 depicts an example data processing architecture for a data lakehouse. More specifically, the example of FIG. 2 depicts a medallion architecture used to logically organize data in a lakehouse. The medallion architecture includes three layers: a bronze layer, a silver layer, and a gold layer. As data flows through the different layers, the structure and quality of the data is incrementally and progressively improved.

[0029] In FIG. 2, dataset 200 is ingested by data lakehouse 202, which applies an extract, transform, load (ETL) process to dataset 200. Dataset 200 may be streamed data or batch-processed data.

[0030] The extract portion of the ETL process may involve pulling data from various sources (e.g., databases, flat files, and Application Programming Interfaces) and storing the data in its original form along with any additional metadata that captures the load date / time, process identifier, etc. For example, dataset 200 may be extracted from a database and stored in its raw format as bronze layer dataset 204.

[0031] The transform portion of the ETL process may involve cleaning, filtering, sorting, aggregating, joining, and validating data. These operations may be performed as a sequence of transformations constituting a pipeline connecting different layers of the medallion architecture.

[0032] For example, pipeline 206 may be comprised of a sequence of cleansing operations that are performed on bronze layer dataset 204, and the result may be stored as silver layer dataset 208. Pipeline 210 may be comprised of a sequence of complex project-specific transformations that are performed on silver layer dataset 208, and the result may be stored as gold layer dataset 212.

[0033] The load portion of the ETL process may involve storing transformed data in a central repository. For example, gold layer dataset 212 may be loaded into a central repository from which it can be accessed for use in a variety of different projects.

[0034] As described above, datasets undergo transformations as they progress through pipelines between different layers of the medallion architecture. Discussed in greater detail below are techniques for enabling pipeline transformations to be performed with greater efficiency.

[0035] FIG. 3 provides a detailed view of an example client application that can be used to achieve greater efficiency in performing pipeline transformations. In the example of FIG. 3, client application 102 includes dataset presenter 300, pipeline editor 302, pipeline runner 304, and client-side transformation runtime engine 306.

[0036] Dataset presenter 300 may correspond to instructions for implementing a user interface (e.g., a web user interface) that enables near real-time feedback as transformations are performed. In the example of FIG. 3, dataset presenter 300 implements a graphical user interface that enables users to view datasets in near real-time as transformations are performed on them. Although dataset presenter 300 of FIG. 3 shows a dataset (e.g., dataset 204) before it undergoes the first transformation of a pipeline, it should be appreciated that data presenter 300 is also configured to present other datasets, including the output dataset for each transformation of the pipeline. For ease of reference, a dataset that has yet to undergo the first transformation of a pipeline is referred to herein as a “source dataset,” and the output dataset of a pipeline transformation is referred to herein as a “transformed dataset.”

[0037] Pipeline editor 302 may correspond to instructions for implementing a user interface (e.g., a web user interface) that enables users to specify a sequence of transformations for a pipeline, such as by adding, deleting, or modifying a transformation. In the example of FIG. 3, pipeline editor 302 implements a graphical user interface that receives user input specifying a sequence of pipeline transformations including the following: Transformation T1: a DropRows operation that deletes any rows having a non-numeric value in the “salary” column; Transformation T2: an IfNull operation that replaces any null values in the “salary” column with the average value in the “salary” column; Transformation T3: a Round operation that approximates the average value in the “salary” column to the nearest hundredth; Transformation T4: a DeleteColumns operation that deletes the “departmentId” column.

[0038] Next to each user-specified transformation of FIG. 3 is a box for receiving user input specifying one or more parameter values for the transformation. Although pipeline editor 302 of FIG. 3 shows example transformations for pipeline 206, it should be appreciated that pipeline editor 302 is also configured to enable users to specify a sequence of transformations for other pipelines, such as pipeline 210.

[0039] To illustrate how dataset presenter 300 works in conjunction with pipeline editor 302, reference is made to the following scenario. As mentioned above, dataset presenter 300 of FIG. 3 shows a source dataset in that the transformations specified in pipeline editor 302 of FIG. 3 have yet to be performed. When T1 is specified (e.g., by selecting the DropRows operation from a drop-down menu and entering “isnan(salary)” into a parameter field), dataset presenter 300 may dynamically update the source dataset to reflect a transformed dataset TD1 in which the second row has been deleted. When T2 is specified, dataset presenter 300 may dynamically update TD1 to reflect a transformed dataset TD2 in which the null value in the fourth row has been replaced with the value “115349.386417586” (although dataset presenter 300 of FIG. 3 shows only six rows, it should be appreciated that dataset presenter 300 can present any number of rows, including rows that are not shown in FIG. 3). When T3 is specified, dataset presenter 300 may dynamically update TD2 to reflect a transformed dataset TD3 in which the value “115349.386417586” in the fourth row has been replaced with the value “115349.39”. When T4 is specified, dataset presenter 300 may dynamically update TD3 to reflect a transformed dataset TD4 in which the second column has been deleted.

[0040] TD4 is a special type of transformed dataset in that it is the output dataset for the final transformation of the pipeline. Such a transformed dataset is referred to herein as a “resultant dataset” for the pipeline.

[0041] Pipeline runner 304 may correspond to instructions for invoking the transformations of a pipeline. As illustrated above, pipeline runner 304 may work in conjunction with pipeline editor 302 to invoke transformations as a pipeline is being built.

[0042] Significantly, pipeline runner 304 may invoke a transformation in the backend (e.g., at dataset management server 106) or in the frontend (e.g., at client application 102). Pipeline runner 304 may determine whether to invoke a transformation in the backend or in the frontend based on whether or not the transformation is capable of being performed in the frontend.

[0043] As previously alluded to, the limited computing resources of the frontend may make it impractical to perform some transformations in the frontend. Pipeline runner 304 may treat such transformations as being incapable of performance in the frontend.

[0044] In some embodiments, metadata may be used to indicate whether or not a transformation is capable of performance in the frontend. For example, the metadata may be implemented as a bitflag that is set to indicate that the transformation is a client-side transformation. Thus, pipeline runner 304 may invoke a transformation in the frontend when the bitflag is set, and pipeline runner 304 may invoke a transformation in the backend when the bitflag is not set.

[0045] Client-side transformation runtime engine 306 may correspond to instructions facilitating execution of code for performing a transformation at client application 102. For example, client-side transformation runtime engine 306 may be a JavaScript runtime engine. Significantly, the code may enable quickly performing a client-side transformation despite the limited computing resources of client application 102.

[0046] The code may be generated (e.g., transpiled from Java) for transformations that are capable of being performed efficiently in the frontend, and the code may not be generated for transformations that are incapable of being performed efficiently in the frontend. Thus, whether or not a transformation is capable of performance in the frontend may depend on whether or not code has been generated for performing the transformation in the frontend.

[0047] In some embodiments, the code may include an interpreted programming language code (e.g., JavaScript). In some embodiments, the code may include a binary format code (e.g., WebAssembly). For example, the code may include both JavaScript code and WebAssembly code such that the JavaScript code loads and compiles the WebAssembly code.

[0048] As mentioned above, pipeline runner 304 may also invoke a transformation in the backend (e.g., at dataset management server 106). Turning now to the backend, reference is made to FIG. 4, which provides a detailed view of an example dataset management server that can be used to achieve greater efficiency in performing pipeline transformations.

[0049] In the example of FIG. 4, dataset management server 106 includes server-side transformation runtime engine 400 and dataset cache 402. In some embodiments, pipeline runner 304 may communicate with each of server-side transformation runtime engine 400 and dataset cache 402 via a respective Representational State Transfer (REST) service.

[0050] Server-side transformation runtime engine 400 may correspond to instructions facilitating performance of server-side transformations. For example, server-side transformation runtime engine 400 may be a Java runtime engine.

[0051] Dataset cache 402 may be a temporary storage location maintained by one or more server computing devices (e.g., dataset management server 106). Significantly, dataset cache 402 may store the input dataset and the output dataset for each transformation of a pipeline. In the example of FIG. 4, dataset cache 402 stores the datasets involved in performing the transformations of pipeline 206. Specifically, dataset cache 402 stores source dataset, DropRows output dataset, IfNull output dataset, Round output dataset, and DeleteColumns output dataset. As will be described in greater detail below, caching the input dataset and the output dataset for each pipeline transformation enables a more efficient alternative to re-evaluating a pipeline in its entirety.

[0052] Dataset cache 402 may be implemented as hardware and / or software. In some embodiments, dataset cache 402 may be a distributed cache accessed by multiple server computing devices in the backend.

[0053] Datasets may be retrieved from dataset cache 402 using cache keys. To generate a cache key for an output dataset of a transformation, one or more of the following may be used: identifier of immediately preceding transformation; schema (e.g., column names) of immediately preceding transformation; type (e.g., cleansing operation, query operation, row operation, or column operation) of the transformation; and parameter values of the transformation.

[0054] Dataset cache 402 may invalidate (e.g., remove) one or more datasets when a pipeline is modified (e.g., when a source dataset is changed, when a transformation is removed or replaced, when a parameter of a transformation is changed, when the schema of an output dataset is changed, etc.). The number of invalidated datasets may depend on where in the pipeline the modification occurred. For example, when a source dataset (e.g., dataset 204 or dataset 208) is changed, all cached datasets for the pipeline (e.g., pipeline 206 or pipeline 210) may be invalidated, but when a transformation is changed, the cached datasets for that transformation and all subsequent transformations may be invalidated.

[0055] In some embodiments, all cached datasets related to a particular pipeline may be associated with an identifier for that pipeline. Thus, invalidating all cached datasets for the pipeline may involve checking for datasets sharing the identifier for the pipeline.

[0056] To illustrate how the components of FIG. 3 work in conjunction with the components of FIG. 4, reference is made to the following scenario in which pipeline 206 is modified to generate pipeline 206’. Pipeline 206 is comprised of the following sequence of transformations: T1, T2, T3, and T4. Pipeline editor 302 receives user input specifying pipeline 206’ based on replacing T3 with T5. Thus, pipeline 206’ is comprised of the following sequence of transformations: T1, T2, T5, and T4. Pipeline runner 304 determines that T5 is a client-side transformation. Thus, pipeline runner 304 invokes T5 in client-side transformation runtime engine 306 and invokes T4 in server-side transformation runtime engine 400. Client-side transformation runtime engine 306 retrieves the output dataset of T2 from dataset cache 402 and executes code for performing T5 on the retrieved output dataset. The output dataset of T5 is displayed via dataset presenter 300 and is stored in dataset cache 402. Server-side transformation runtime engine 400 retrieves the output dataset of T5 from dataset cache 402 and performs T4 on the retrieved output dataset. The output dataset of T4 is displayed via dataset presenter 300 and is stored in dataset cache 402 as the resultant dataset for pipeline 206’.

[0057] Although the scenario illustrated above involves performing transformations at the frontend and at the backend, it should be appreciated that there may be instances in which transformations capable of being performed at the frontend are instead performed at the backend. Examples of such instances are provided below.

[0058] In some embodiments, the first time a pipeline is run, all transformations of the pipeline are performed at the backend. For example, as pipeline editor 302 receives user input creating pipeline 206, pipeline runner may invoke each transformation of pipeline 206 in server-side transformation runtime engine 400.

[0059] In some embodiments, when there is a cache miss, any output datasets missing from dataset cache 402 may be generated based on performing the appropriate transformations at the backend. For example, in the scenario illustrated above, if the output dataset of T2 were missing from dataset cache 402, then T1 and / or T2 may be invoked in server-side transformation runtime engine 400 to generate the output dataset of T2.

[0060] The following pseudocode is an example snippet of instructions that may be included in client-side transformation runtime engine 306.

[0061] If the identifier for the immediately preceding transformation is null (e.g., the modified transformation is the first transformation in the pipeline)

[0062] Invoke Get method with the identifier as a key to retrieve the source dataset

[0063] If the source dataset is null (e.g., not found)

[0064] Run transformations at backend

[0065] Invoke Put method with the identifier as a key

[0066] If the source dataset is not null (e.g., found)

[0067] Use the source dataset

[0068] If the identifier for the immediately preceding transformation is not null (e.g., the modified transformation is not the first transformation in the pipeline)

[0069] Invoke Get method with the identifier as a key to get the output dataset of the

[0070] immediately preceding transformation

[0071] If the output dataset is null (e.g., not found)

[0072] Run transformations (from the first transformation to the

[0073] immediately preceding transformation) at the backend

[0074] Invoke Put method with the identifier as a key

[0075] If the output dataset is not null (e.g., found)

[0076] Use the output datasetPROCESS OVERVIEW

[0077] FIG. 5 depicts an approach for efficient performance of pipeline transformations. It should be appreciated that FIG. 5 depicts an example approach and that other approaches may be depicted using more blocks or fewer blocks and / or using a different order of blocks.

[0078] At block 500, the frontend receives user input specifying a sequence of pipeline transformations. The sequence of pipeline transformations is to be performed on a source dataset (e.g., dataset 204) to generate a resultant dataset. For example, the user input may specify transformations T1, T2, T5, and T4 for pipeline 206.

[0079] In some embodiments, the user input may be received by a client application (e.g., client application 102) provided by one or more server computing devices (e.g., client provisioning server 104). For example, the user input may be received via a web user interface of a web application hosted on an application server.

[0080] The sequence of pipeline transformations includes a client-side transformation and a server-side transformation. The client-side transformation is capable of performance at the frontend (e.g., by client application 102), whereas the server-side transformation is incapable of performance at the frontend. For example, T1 may be a client-side transformation, and T4 may be a server-side transformation. Both T1 and T4 may be written in code capable of execution in the backend (e.g., Java code). However, T1 may be transpiled to code capable of execution in the frontend (e.g., JavaScript), whereas T4 may not be transpiled to such code. Thus, T1 is capable of performance at the frontend, whereas T4 is not.

[0081] Each transformation in the sequence of pipeline transformations may be checked to determine which transformations of the sequence of pipeline transformations are client-side transformations. In some embodiments, this determination may be made at the frontend (e.g., by client application 102 and / or pipeline runner 304). Making this determination may involve checking whether metadata (e.g., a bitflag) indicates that a particular transformation is a client-side transformation or a server-side transformation.

[0082] Thus, at block 502, a determination is made as to whether a particular transformation is a client-side transformation or a server-side transformation. If the particular transformation is a client-side transformation, then block 502 proceeds to block 504, but if the particular transformation is a server-side transformation, then block 502 proceeds to block 508.

[0083] Block 502 may be performed for each transformation in the sequence of pipeline transformations. Thus, blocks 502-506 may be performed for each client-side transformation, and blocks 502, 508, and 510 may be performed for each server-side transformation.

[0084] Although the example of FIG. 5 depicts block 504 being performed concurrently with block 508, it should be appreciated that the order in which blocks 504 and 508 are performed may depend on the order of transformations specified in the sequence of pipeline transformations. For example, if a client-side transformation precedes a server-side transformation in the sequence of pipeline transformations, then block 504 may be performed before block 508. However, if a server-side transformation precedes a client-side transformation in the sequence of pipeline transformations, then block 508 may be performed before block 504.

[0085] At block 504, a client-side transformed dataset is generated based on executing code for performing the client-side transformation. The code includes an interpreted programming language code (e.g., JavaScript code). For example, client application 102 and / or client-side transformation runtime engine 306 may generate a client-side transformed dataset based on executing code including JavaScript code and / or WebAssembly code.

[0086] At block 506, the client-side transformed dataset is communicated from the frontend (e.g., from client application 102) to one or more server computing devices at the backend (e.g., dataset management server 106) for storage in a cache (e.g., dataset cache 402) maintained by the one or more server computing devices. In some embodiments, the frontend (e.g., client application 102) may access the cache maintained by the one or more server computing devices at the backend via a Representational State Transfer (REST) service.

[0087] It should be appreciated that block 506 does not have to be performed immediately after block 504 is performed for each client-side transformation. In some embodiments, block 506 may be performed for all client-side transformations in a batch. For example, block 506 may be performed concurrently with block 512.

[0088] At block 508, a server-side transformed dataset is generated by one or more server computing devices based on performing the server-side transformation. For example, dataset management server 106 and / or server-side transformation runtime engine 400 may generate a server-side transformed dataset based on executing Java code to perform the server-side transformation.

[0089] At block 510, one or more server computing devices store the server-side transformed dataset in the cache maintained by the one or more server computing devices. For example, dataset management server 106 may store the server-side transformed dataset in dataset cache 402.

[0090] At block 512, one or more server computing devices store the resultant dataset in a data lakehouse. For example, dataset management server 106 may store the resultant dataset as silver layer dataset 208.

[0091] In some embodiments, the specified sequence of pipeline transformations may be a modified version of a different sequence of pipeline transformations. More specifically, the specified sequence of pipeline transformations may include a modified transformation generated based on modifying a transformation of the different sequence of pipeline transformations.

[0092] Modifying the transformation may be achieved by removing the transformation from the different sequence of pipeline transformations. For example, the specified sequence of T1, T2, T5, and T4 may be generated based on removing T3 from the different sequence of T1, T2, T3, T5, and T4.

[0093] Additionally or alternatively, modifying the transformation may be achieved by replacing the transformation with a different transformation. For example, the specified sequence of T1, T2, T5, and T4 may be generated based on adding T5 and removing T3 from the different sequence of T1, T2, T3, and T4.

[0094] Additionally or alternatively, modifying the transformation may be achieved by changing a parameter value of the transformation. For example, both T5 and T3 may be Round operations to be performed on a particular column. However, T3 may have a parameter value specifying rounding to the nearest hundredth, whereas T5 may have a parameter value specifying rounding to the nearest tenth. Thus, the specified sequence of T1, T2, T5, and T4 may be generated based on changing a parameter value of T3 from the different sequence of T1, T2, T3, and T4.

[0095] For embodiments in which the specified sequence of pipeline transformations is a modified version of a different sequence of pipeline transformations, the flow diagram of FIG. 5 may be amended to include additional blocks. Described below are hypothetical blocks 501 (not shown), 503 (not shown), and 503’ (not shown).

[0096] At hypothetical block 501 (not shown), responsive to receiving user input modifying a transformation, one or more output datasets may be removed from the cache (e.g., dataset cache 402) that is maintained by one or more server computing devices (e.g., dataset management server 106). The one or more output datasets may include the output dataset generated when the unmodified transformation was performed. Additionally, the one or more output datasets may include any output datasets generated based on performing any subsequent transformations (e.g., any transformations that were performed on the output dataset of the unmodified transformation).

[0097] At hypothetical block 503 (not shown), prior to generating a client-side transformed dataset, a determination is made that the output dataset of the transformation immediately preceding the modified transformation is stored in the cache (e.g., dataset cache 402) that is maintained by one or more server computing devices (e.g., dataset management server 106). Furthermore, this output dataset is retrieved from the cache.

[0098] Hypothetical block 503’ corresponds to an alternative situation involving a cache miss. At hypothetical block 503’ (not shown), prior to generating a client-side transformed dataset, a determination is made that the output dataset of the transformation immediately preceding the modified transformation is absent from the cache (e.g., dataset cache 402) that is maintained by one or more server computing devices (e.g., dataset management server 106). Thus, this output dataset is generated by one or more server computing devices (e.g., dataset management server 106) at the backend based on performing all transformations preceding the modified transformation (e.g., via server-side transformation runtime engine 400).

[0099] In some embodiments, a change to the source dataset may be detected. For such embodiments, the flow diagram of FIG. 5 may be amended to include one or more additional blocks.

[0100] For example, at hypothetical block 514 (not shown), one or more server computing devices (e.g., dataset management server 106) may detect a change to the source dataset. Accordingly, the one or more server computing devices may remove, from the cache (e.g., dataset cache 402) maintained by the one or more server computing devices, each dataset generated based on performing the sequence of pipeline transformations on the source dataset prior to the change.SOFTWARE OVERVIEW

[0101] FIG. 6 is a block diagram of a basic software system 600 that may be employed for controlling the operation of computing system 700 of FIG. 7. Software system 600 and its components, including their connections, relationships, and functions, are meant to be exemplary only and not meant to limit implementations of the example embodiment(s). Other software systems suitable for implementing the example embodiment(s) may have different components, including components with different connections, relationships, and functions.

[0102] Software system 600 is provided for directing the operation of computing system 700. Software system 600, which may be stored in system memory (RAM) 706 and on fixed storage (e.g., hard disk or flash memory) 710, includes a kernel or operating system (OS) 610.

[0103] The OS 610 manages low-level aspects of computer operation, including managing the execution of processes, memory allocation, file input and output (I / O), and device I / O. One or more application programs represented as 602A, 602B, 602C …602N may be “loaded” (e.g., transferred from fixed storage 710 into memory 706) for execution by the system 600. The applications or other software intended for use on computer system 700 may also be stored as a set of downloadable computer-executable instructions, for example, for downloading and installation from an Internet location (e.g., a Web server, an app store, or another online service).

[0104] Software system 600 includes a graphical user interface (GUI) 615 for receiving user commands and data in a graphical (e.g., “point-and-click” or “touch gesture”) fashion. These inputs, in turn, may be acted upon by system 600 in accordance with instructions from operating system 610 and / or application(s) 602. The GUI 615 also serves to display the results of operation from OS 610 and application(s) 602, whereupon the user may supply additional inputs or terminate the session (e.g., log off).

[0105] OS 610 can execute directly on the bare hardware 620 (e.g., processor(s) 704) of computer system 700. Alternatively, a hypervisor or virtual machine monitor (VMM) 630 may be interposed between the bare hardware 620 and the OS 610. In this configuration, VMM 630 acts as a software “cushion” or virtualization layer between OS 610 and the bare hardware 620 of the computer system 700.

[0106] VMM 630 instantiates and runs one or more virtual machine instances (“guest machines”). Each guest machine comprises a “guest” operating system, such as OS 610, and one or more applications, such as application(s) 602, designed to execute on the guest operating system. The VMM 630 presents the guest operating systems with a virtual operating platform and manages the execution of the guest operating systems.

[0107] In some instances, the VMM 630 may allow a guest operating system to run as if it is running on the bare hardware 620 of computer system 700 directly. In these instances, the same version of the guest operating system configured to execute on the bare hardware 620 directly may also execute on VMM 630 without modification or reconfiguration. In other words, VMM 630 may provide full hardware and CPU virtualization to a guest operating system in some instances.

[0108] In other instances, a guest operating system may be specially designed or configured to execute on VMM 630 for efficiency. In these instances, the guest operating system is “aware” that it executes on a virtual machine monitor. In other words, VMM 630 may provide para-virtualization to a guest operating system in some instances.

[0109] A computer system process comprises an allotment of hardware processor time and an allotment of memory (physical and / or virtual), the allotment of memory being for storing instructions executed by the hardware processor, for storing data generated by the hardware processor executing the instructions, and / or for storing the hardware processor state (e.g., the content of registers) between allotments of the hardware processor time when the computer system process is not running. Computer system processes run under the control of an operating system and may run under the control of other programs being executed on the computer system.

[0110] Multiple threads may run within a process. Each thread also comprises an allotment of hardware processing time but shares access to the memory allotted to the process. The memory is used to store the content of processors between the allotments when the thread is not running. The term thread may also be used to refer to a computer system process in multiple threads that are not running.HARDWARE OVERVIEW

[0111] According to one embodiment of the invention, the techniques described herein are implemented by one or more special-purpose computing devices. The special-purpose computing devices may be hard-wired to perform the techniques, or may include digital electronic devices such as one or more application-specific integrated circuits (ASICs) or field programmable gate arrays (FPGAs) that are persistently programmed to perform the techniques, or may include one or more general purpose hardware processors programmed to perform the techniques pursuant to program instructions in firmware, memory, other storage, or a combination. Such special-purpose computing devices may also combine custom hard-wired logic, ASICs, or FPGAs with custom programming to accomplish the techniques. The special-purpose computing devices may be desktop computer systems, portable computer systems, handheld devices, networking devices or any other device that incorporates hard-wired and / or program logic to implement the techniques.

[0112] FIG. 7 is a block diagram that depicts an example computer system 700 upon which embodiments of the invention may be implemented. Computer system 700 includes a bus 702 or other communication mechanism for communicating information, and a processor 704 coupled with bus 702 for processing information. Computer system 700 also includes a main memory 706, such as a random access memory (RAM) or other dynamic storage device, coupled to bus 702 for storing information and instructions to be executed by processor 704. Main memory 706 also may be used for storing temporary variables or other intermediate information during execution of instructions to be executed by processor 704. Computer system 700 further includes a read only memory (ROM) 708 or other static storage device coupled to bus 702 for storing static information and instructions for processor 704. A storage device 710, such as a magnetic disk or optical disk, is provided and coupled to bus 702 for storing information and instructions.

[0113] Computer system 700 may be coupled via bus 702 to a display 712, such as a cathode ray tube (CRT), for displaying information to a computer user. Although bus 702 is illustrated as a single bus, bus 702 may comprise one or more buses. For example, bus 702 may include without limitation a control bus by which processor 704 controls other devices within computer system 700, an address bus by which processor 704 specifies memory locations of instructions for execution, or any other type of bus for transferring data or signals between components of computer system 700.

[0114] An input device 714, including alphanumeric and other keys, is coupled to bus 702 for communicating information and command selections to processor 704. Another type of user input device is cursor control 716, such as a mouse, a trackball, or cursor direction keys for communicating direction information and command selections to processor 704 and for controlling cursor movement on display 712. This input device typically has two degrees of freedom in two axes, a first axis (e.g., x) and a second axis (e.g., y), that allows the device to specify positions in a plane.

[0115] Computer system 700 may implement the techniques described herein using customized hard-wired logic, one or more ASICs or FPGAs, firmware and / or program logic or computer software which, in combination with the computer system, causes or programs computer system 700 to be a special-purpose machine. According to one embodiment of the invention, those techniques are performed by computer system 700 in response to processor 704 executing one or more sequences of one or more instructions contained in main memory 706. Such instructions may be read into main memory 706 from another computer-readable medium, such as storage device 710. Execution of the sequences of instructions contained in main memory 706 causes processor 704 to perform the process steps described herein. In alternative embodiments, hard-wired circuitry may be used in place of or in combination with software instructions to implement the invention. Thus, embodiments of the invention are not limited to any specific combination of hardware circuitry and software.

[0116] The term “computer-readable medium” as used herein refers to any medium that participates in providing data that causes a computer to operate in a specific manner. In an embodiment implemented using computer system 700, various computer-readable media are involved, for example, in providing instructions to processor 704 for execution. Such a medium may take many forms, including but not limited to, non-volatile media and volatile media. Non-volatile media includes, for example, optical or magnetic disks, such as storage device 710. Volatile media includes dynamic memory, such as main memory 706. Common forms of computer-readable media include, for example, a floppy disk, a flexible disk, hard disk, magnetic tape, or any other magnetic medium, a CD-ROM, any other optical medium, a RAM, a PROM, and EPROM, a FLASH-EPROM, any other memory chip or memory cartridge, or any other medium from which a computer can read.

[0117] Various forms of computer-readable media may be involved in carrying one or more sequences of one or more instructions to processor 704 for execution. For example, the instructions may initially be carried on a magnetic disk of a remote computer. The remote computer can load the instructions into its dynamic memory and send the instructions over a telephone line using a modem. A modem local to computer system 700 can receive the data on the telephone line and use an infra-red transmitter to convert the data to an infra-red signal. An infra-red detector can receive the data carried in the infra-red signal and appropriate circuitry can place the data on bus 702. Bus 702 carries the data to main memory 706, from which processor 704 retrieves and executes the instructions. The instructions received by main memory 706 may optionally be stored on storage device 710 either before or after execution by processor 704.

[0118] Computer system 700 also includes a communication interface 718 coupled to bus 702. Communication interface 718 provides a two-way data communication coupling to a network link 720 that is connected to a local network 722. For example, communication interface 718 may be an integrated services digital network (ISDN) card or a modem to provide a data communication connection to a corresponding type of telephone line. As another example, communication interface 718 may be a local area network (LAN) card to provide a data communication connection to a compatible LAN. Wireless links may also be implemented. In any such implementation, communication interface 718 sends and receives electrical, electromagnetic or optical signals that carry digital data streams representing various types of information.

[0119] Network link 720 typically provides data communication through one or more networks to other data devices. For example, network link 720 may provide a connection through local network 722 to a host computer 724 or to data equipment operated by an Internet Service Provider (ISP) 726. ISP 726 in turn provides data communication services through the world wide packet data communication network now commonly referred to as the “Internet”728. Local network 722 and Internet 728 both use electrical, electromagnetic or optical signals that carry digital data streams.

[0120] Computer system 700 can send messages and receive data, including program code, through the network(s), network link 720 and communication interface 718. In the Internet example, a server 730 might transmit a requested code for an application program through Internet 728, ISP 726, local network 722 and communication interface 718. The received code may be executed by processor 704 as it is received, and / or stored in storage device 710, or other non-volatile storage for later execution.CLOUD COMPUTING

[0121] The term "cloud computing" is generally used herein to describe a computing model which enables on-demand access to a shared pool of computing resources, such as computer networks, servers, software applications, and services, and which allows for rapid provisioning and release of resources with minimal management effort or service provider interaction.

[0122] A cloud computing environment (sometimes referred to as a cloud environment or a cloud) can be implemented in a variety of different ways to best suit different requirements. For example, in a public cloud environment, the underlying computing infrastructure is owned by an organization that makes its cloud services available to other organizations or to the general public. In contrast, a private cloud environment is generally intended solely for use by or within a single organization. A community cloud is intended to be shared by several organizations within a community, while a hybrid cloud comprises two or more types of cloud (e.g., private, community, or public) that are bound together by data and application portability.

[0123] Generally, a cloud computing model enables some of those responsibilities which previously may have been provided by an organization's own information technology department to instead be delivered as service layers within a cloud environment for use by consumers (either within or external to the organization, according to the cloud's public / private nature). Depending on the particular implementation, the precise definition of components or features provided by or within each cloud service layer can vary, but common examples include Software as a Service (SaaS), in which consumers use software applications that are running upon a cloud infrastructure, while a SaaS provider manages or controls the underlying cloud infrastructure and applications. Platform as a Service (PaaS), in which consumers can use software programming languages and development tools supported by a PaaS provider to develop, deploy, and otherwise control their own applications, while the PaaS provider manages or controls other aspects of the cloud environment (i.e., everything below the run-time execution environment). Infrastructure as a Service (IaaS), in which consumers can deploy and run arbitrary software applications and / or provision processing, storage, networks, and other fundamental computing resources, while an IaaS provider manages or controls the underlying physical cloud infrastructure (i.e., everything below the operating system layer). Database as a Service (DBaaS), in which consumers use a database server or Database Management System that is running upon a cloud infrastructure, while a DbaaS provider manages or controls the underlying cloud infrastructure, applications, and servers, including one or more database servers.COMPUTING NODES AND CLUSTERS

[0124] A computing node is a combination of one or more hardware processors that each share access to a byte-addressable memory. Each hardware processor is electronically coupled to registers on the same chip of the hardware processor and is capable of executing an instruction that references a memory address in the addressable memory and that causes the hardware processor to load data at that memory address into any of the registers. In addition, a hardware processor may have access to its separate exclusive memory that is not accessible to other processors. One or more hardware processors may be running under the control of the same operating system

[0125] A hardware processor may comprise multiple core processors on the same chip, each core processor (“core”) being capable of separately executing a machine code instruction within the same clock cycles as another of the multiple cores. Each core processor may be electronically coupled to connect to a scratchpad memory that cannot be accessed by any other core processor of the multiple core processors.

[0126] A cluster comprises computing nodes that communicate with each other via a network. Each node in a cluster may be coupled to a network card or a network-integrated circuit on the same board of the computing node. Network communication between any two nodes occurs via the network card or network integrated circuit on one of the nodes and a network card or network integrated circuit of another of the nodes. The network may be configured to support remote direct memory access.

[0127] In the foregoing specification, embodiments of the invention have been described with reference to numerous specific details that may vary from implementation to implementation. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense. The sole and exclusive indicator of the scope of the invention, and what is intended by the applicants to be the scope of the invention, is the literal and equivalent scope of the set of claims that issue from this application, in the specific form in which such claims issue, including any subsequent correction.EXTENSIONS AND ALTERNATIVES

[0128] In the foregoing specification, embodiments have been described with reference to numerous specific details that may vary from implementation to implementation. Thus, the sole and exclusive indicator of what is, and is intended by the applicants to be, the invention is the set of claims that issue from this application, in the specific form in which such claims issue, including any subsequent correction. Hence, no limitation, element, property, feature, advantage or attribute that is not expressly recited in a claim should limit the scope of such claim in any way. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.

Claims

1. A method performed by one or more computing devices, said method comprising:receiving, by a client application provided by one or more server computing devices, user input specifying a first sequence of pipeline transformations to be performed on a source dataset to generate a resultant dataset, said first sequence of pipeline transformations including a client-side transformation and a server-side transformation, said client-side transformation being capable of performance by said client application, said server-side transformation being incapable of performance by said client application;generating, by said client application, a client-side transformed dataset based on executing code for performing said client-side transformation, said code including an interpreted programming language code,communicating said client-side transformed dataset from said client application to said one or more server computing devices for storage in a cache maintained by said one or more server computing devices;generating, by said one or more server computing devices, a server-side transformed dataset based on performing said server-side transformation,storing, by said one or more server computing devices, said server-side transformed dataset in said cache maintained by said one or more server computing devices;storing, by said one or more server computing devices, said resultant dataset in a data lakehouse.

2. The method of claim 1, wherein said first sequence of pipeline transformations is a modified version of a second sequence of pipeline transformations, said first sequence of pipeline transformations including a modified transformation generated based on modifying a transformation of said second sequence of pipeline transformations by removing said transformation from said second sequence of pipeline transformations, replacing said transformation with a different transformation, or changing a parameter value of said transformation.

3. The method of claim 2, further comprising:prior to generating, by said client application, said client-side transformed dataset, determining that an output dataset of a transformation immediately preceding said modified transformation is stored in said cache maintained by said one or more server computing devices;retrieving, by said client application from said cache maintained by said one or more server computing devices, said output dataset of said transformation immediately preceding said modified transformation.

4. The method of claim 2, further comprising:prior to generating, by said client application, said client-side transformed dataset, determining that an output dataset of a transformation immediately preceding said modified transformation is absent from said cache maintained by said one or more server computing devices;generating, by said one or more server computing devices, said output dataset based on performing all transformations preceding said modified transformation.

5. The method of claim 2, further comprising:responsive to receiving said user input, removing, from said cache maintained by said one or more server computing devices, any output dataset generated based on performing said transformation of said second sequence of pipeline transformations and any output datasets generated based on performing any subsequent transformations of said second sequence of pipeline transformations.

6. The method of claim 1, further comprising:detecting, by said one or more server computing devices, a change to said source dataset;removing, from said cache maintained by said one or more server computing devices, each dataset generated based on performing said first sequence of pipeline transformations on said source dataset prior to said change.

7. The method of claim 1, further comprising:prior to generating any client-side transformed datasets and any server-side transformed datasets, determining, by said client application, which transformations of said first sequence of pipeline transformations are client-side transformations.

8. The method of claim 1, wherein said client application accesses said cache maintained by said one or more server computing devices via a Representational State Transfer (REST) service.

9. The method of claim 1, wherein said interpreted programming language code is JavaScript code.

10. The method of claim 1, wherein said code for performing said each client-side transformation includes WebAssembly code.

11. One or more non-transitory storage media storing a sequence of instructions which, when executed by one or more computing devices, cause:receiving, by a client application provided by one or more server computing devices, user input specifying a first sequence of pipeline transformations to be performed on a source dataset to generate a resultant dataset, said first sequence of pipeline transformations including a client-side transformation and a server-side transformation, said client-side transformation being capable of performance by said client application, said server-side transformation being incapable of performance by said client application;generating, by said client application, a client-side transformed dataset based on executing code for performing said client-side transformation, said code including an interpreted programming language code,communicating said client-side transformed dataset from said client application to said one or more server computing devices for storage in a cache maintained by said one or more server computing devices;generating, by said one or more server computing devices, a server-side transformed dataset based on performing said server-side transformation,storing, by said one or more server computing devices, said server-side transformed dataset in said cache maintained by said one or more server computing devices;storing, by said one or more server computing devices, said resultant dataset in a data lakehouse.

12. The one or more non-transitory storage media of claim 11, wherein said first sequence of pipeline transformations is a modified version of a second sequence of pipeline transformations, said first sequence of pipeline transformations including a modified transformation generated based on modifying a transformation of said second second sequence of pipeline transformations by removing said transformation from said sequence of pipeline transformations, replacing said transformation with a different transformation, or changing a parameter value of said transformation.

13. The one or more non-transitory storage media of claim 12, wherein said sequence of instructions further comprise instructions which, when executed by one or more computing devices, cause:prior to generating, by said client application, said client-side transformed dataset, determining that an output dataset of a transformation immediately preceding said modified transformation is stored in said cache maintained by said one or more server computing devices;retrieving, by said client application from said cache maintained by said one or more server computing devices, said output dataset of said transformation immediately preceding said modified transformation.

14. The one or more non-transitory storage media of claim 12, wherein said sequence of instructions further comprise instructions which, when executed by one or more computing devices, cause:prior to generating, by said client application, said client-side transformed dataset, determining that an output dataset of a transformation immediately preceding said modified transformation is absent from said cache maintained by said one or more server computing devices;generating, by said one or more server computing devices, said output dataset based on performing all transformations preceding said modified transformation.

15. The one or more non-transitory storage media of claim 12, wherein said sequence of instructions further comprise instructions which, when executed by one or more computing devices, cause:responsive to receiving said user input, removing, from said cache maintained by said one or more server computing devices, any output dataset generated based on performing said transformation of said second sequence of pipeline transformations and any output datasets generated based on performing any subsequent transformations of said second sequence of pipeline transformations.

16. The one or more non-transitory storage media of claim 11, wherein said sequence of instructions further comprise instructions which, when executed by one or more computing devices, cause:detecting, by said one or more server computing devices, a change to said source dataset;removing, from said cache maintained by said one or more server computing devices, each dataset generated based on performing said first sequence of pipeline transformations on said source dataset prior to said change.

17. The one or more non-transitory storage media of claim 11, wherein said sequence of instructions further comprise instructions which, when executed by one or more computing devices, cause:prior to generating any client-side transformed datasets and any server-side transformed datasets, determining, by said client application, which transformations of said first sequence of pipeline transformations are client-side transformations.

18. The one or more non-transitory storage media of claim 11, wherein said client application accesses said cache maintained by said one or more server computing devices via a Representational State Transfer (REST) service.

19. The one or more non-transitory storage media of claim 11, wherein said interpreted programming language code is JavaScript code.

20. The one or more non-transitory storage media of claim 11, wherein said code for performing said each client-side transformation includes WebAssembly code.