Error message
Explanation
An SQL query references a column name that exists in more than one table.Potential causes
Two joined tables each contain a column with the same name, and a downstream component references the column without disambiguation.Resolve the error
- Use the Rename component to rename any columns with the same name before they’re referenced by downstream components.
-
If you need to keep the column names the same, make sure that any SQL expressions that reference these columns specify the table containing the referenced column. For example, if both
table_aandtable_bcontain anamecolumn, useSELECT table_a.name FROM table_ain the expression. - Re-run the pipeline.
-
If you still need help, contact Maia Support and include the items listed below.
- The full error text.
- The root pipeline execution ID.
- The Maia runner ID and time of failure (UTC).
Prevent future errors
To prevent this error occurring again:- Sample the data as you build your pipeline, so that you can make sure no columns have the same name.
- Use the Rename component to give any columns with the same name unique names before you join your tables.