Hi @m.fleitas ,
The UNION ALL is failing because you're running it in the Data Model layer. The model only defines tables and their joins, it can't append rows. You have to combine the data one step earlier, in Data Integration.
In your Data Pool, add a Transformation task and create a combined table there, then add that table to your Data Model and reload. Something like ->
DROP TABLE IF EXISTS "merged_table";
CREATE TABLE "merged_table" AS
SELECT col1, col2 FROM "schema"."table_A"
UNION ALL
SELECT col1, col2 FROM "schema"."table_B";
replace schema/table_A/table_B with your actual names
Use UNION ALL (not UNION) unless you actually want to drop duplicates. One thing that quietly breaks it: the columns must line up in count, order and data type across both selects. If a column has the same name but different type in the two tables, cast it (CAST(col AS VARCHAR)) so they match.
If you're on delta/incremental loads use CREATE TABLE like above; if you full-reload every time you can use CREATE VIEW instead, it's a bit lighter. Both can be added to the model.
Docs: Transformation task best practice