arXiv:2611.00959cs.DBOct 2026

Manuscript Offprint

arXiv:2611.00959

NovaFilter - A Rule-Based ETL Staging Framework for Fault-Tolerant Relational Databases

Meike Klettke

Abstract

NovaFilter is a completely new approach to deriving structured relational data from heterogeneous input data in different data formats. It combines consistency checks, rule-based data transformation, and a human-in-the-loop example discussion. Using these three components, NovaFilter stores all transformation knowledge in an explicit rule base, which is continuously expanded through the example discussion with the user. The resulting data transformation process is deterministic, transparent, and reusable. As a result, the method can replace conventional ETL scripts and offers a completely new strategy for transforming data between different data models and schemas.

Its main advantage is that users without programming skills (e.g. domain experts) can answer the example discussion and thus it is a building block for democratization of ETL script development.

1 Motivation

Relational databases are the backbone of enterprise information systems for several decades. Their main strengths are a clearly defined schema, strict data types, and guaranteed integrity constraints. These mechanisms ensure high data quality but pose challenges when data are imported from heterogeneous sources. In practical scenarios, data are obtained from manual data entry, web forms, external files, or external systems. The difference between input data characteristics and the structure of the target relational database can cause errors during data ingestion (see Figure 1). Typical problems when loading such data into a relational database include:

  • Different data types (like strings instead of numeric values),

  • Violated data type constraints (like violated range constraints or string lengths), or enumeration values),

  • Missing mandatory attributes,

  • Additional attributes,

  • Different attribute names (like misspelling, abbreviations, or different languages in attribute names),

  • Inconsistent or missing references, and

  • Combinations of these differences.

Conventionally, ETL scripts are implemented and used to solve this data ingestion task (see Figure 2). Their development requires a large manual effort; they are time-consuming and costly to implement and maintain. Another challenge is that ETL scripts are often incomplete, since it is nearly impossible to predict all possible data variants, especially when loading heterogeneous data or entering data manually.

Currently, numerous research studies are exploring how GenAI, especially LLMs can be integrated into the data transformation workflow. Although this often leads to excellent results, a process automated in this way carries the risk of erroneous translations, and

Figure

Figure 1: Inserting noisy or incomplete data into a relational database

Figure

Figure 2: ETL scripts for data transformation

we believe that it cannot be applied to a task as important as data transformation without a validation loop. The well-known reason for this lies in the “hallucinations” of these systems; furthermore, missing domain expertise can lead to incorrect mappings during the transformation. We view the lack of explainability of the results as an inherent problem with the method. Furthermore, using LLMs carries the same risk as outsourcing in general: the results produced by LLMs can change over time (e.g., with new LLM releases), and the costs of the transformation have to be paid in each usage and these costs can also change over time.

We therefore propose a completely different approach, which combines rule-based methods and human-in-the-loop example discussion. The three steps of the transformation process are shown in Figure 3. Our approach uses a semistructured staging area in which JSON documents store all incoming data and enable a lossless ingestion of heterogeneous input data. Before loading all datasets into the relational database, the datasets are stepwise validated and transformed (see Figure 3, Step 1 and 2. Instead of ETL approaches or LLM generated scripts, we develop a completely deterministic, rule-based method with constraint checking and rule-based transformation for the ETL tasks.

Figure

Figure 3: Transformation Process in NovaFilter

This ensures complete transparency of the data transformation performed. Only in cases where an automated process does not work (e.g., where there are no applicable transformation rules) is a human-in-the-loop example discussion conducted (see Figure 3, Step 3). The aim of this project is to combine the best of both worlds:

  • Flexibility of a semi-structured staging area (using JSON documents) and
  • Reliability and constraints guarantees of relational databases.

With our approach, we will make the following contributions:

(1) Automatic data translation between different data models. (2) Rule-based constraints check and data transformation. (3) Example discussion with users to derive new transformation rules. (4) Design, continuous adaption, and usage of a rule base to guarantee that all patterns are only discussed once with a user.

The rest of the article is organized as follows: In Section 2, we introduce the system architecture, in Section 3 the overall process is demonstrated with an example, and in Section 4 the implementation is described. In the following Section 5, we give an overview on the State-of-the-Art which we can use for the approach.

References (32)