Federated Query Execution Across Multiple Environments

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing federated query engines are limited by execution environment dependencies, leading to complex deployments, high costs, and accessibility issues due to infrastructure-specific requirements and security challenges, which hinder scalability and affordability for diverse use cases.

Innovation Solution

A query management device parses federated SQL queries into an abstract syntax tree, identifies homogeneous statements, generates functions with execution code for multiple environments, and registers these functions as virtual tables in a local database, enabling execution environment-agnostic query processing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If federated query engines are deployed with execution environment dependencies, then query processing capability is achieved, but deployment complexity and infrastructure costs increase

Engineering Contradiction:
Improvequery processing capabilityVSAvoiddeployment complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent introduces an execution environment abstraction layer that acts as an intermediary between the federated query engine and actual execution environments. This abstraction layer provides a standardized interface that decouples the query engine from specific execution environments, allowing the same query engine to operate across different environments without requiring environment-specific dependencies or complex deployment configurations.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent implements a universal execution environment interface that enables the federated query engine to execute queries across multiple different execution environments through a single standardized API. This multi-functional design allows the query engine to adapt to various execution environments (cloud, on-premise, edge) without requiring separate deployment versions, thereby reducing deployment complexity while maintaining query processing capability.

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Productivity

If execution environment dependencies are maintained, then query execution is supported, but accessibility and scalability are hindered

Engineering Contradiction:
Improvequery execution supportVSAvoidaccessibility and scalability
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The execution environment abstraction layer serves as a mediator that standardizes access to diverse execution environments. By providing a uniform interface for query execution, it enables easy accessibility to different environments without requiring users to understand or configure environment-specific details, thereby improving accessibility and scalability while maintaining full query execution support.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent implements dynamic execution environment selection and abstraction, allowing the system to dynamically adapt to different execution environments at runtime. This dynamic approach enables the query engine to scale across environments without requiring static, environment-specific configurations, thereby enhancing scalability and accessibility while preserving query execution capabilities.

Inventive Principle:
Principle #15Dynamics

3Reliability

If execution environment-specific code is used, then query processing is accurate, but system complexity and maintenance costs increase

Engineering Contradiction:
Improvequery processing accuracyVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The execution environment abstraction layer acts as an intermediary that translates environment-specific operations into a standardized internal representation. This allows the system to maintain query processing accuracy by preserving the semantic meaning of queries while reducing system complexity through environment-independent code architecture. The abstraction layer handles environment-specific details internally, eliminating the need for complex environment-specific handling code.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent segments the system into three distinct layers: the query engine layer, the execution environment abstraction layer, and the actual execution environments. This segmentation separates query processing logic from execution environment details, maintaining query processing accuracy while reducing system complexity. Each layer has well-defined interfaces, making the system easier to maintain and extend without affecting other layers.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12632444B2Execution environment agnostic federated queries
Publication Date: 2026.05.19 CAPITAL ONE SERVICES LLC
  • US12632444B2 patent drawing
  • US12632444B2 patent drawing
  • US12632444B2 patent drawing

AI summary

In some implementations, a device may obtain a federated query for a set of data associated with multiple data sources. The device may generate, based on the federated query, an abstract syntax tree indicating relationships between statements included in the federated query. The device may identify, based on the abstract syntax tree, one or more homogeneous statements in the federated query. The device may register, in a local database, one or more functions for respective homogeneous statements of the one or more homogeneous statements, wherein each function, of the one or more functions, includes execution code associated with multiple execution environments. The device may execute, via an execution environment based on the federated query, a local query for the local database using the one or more functions. The local query calls a subset of execution code, from the execution code, that is associated with an execution environment.