ERROR – The output column “Column name” (Lineage Id) on the non-error output has no corresponding output column on the error output

If your OleDB source shows the error above and you are 100% sure that your query is right and you are able to execute it directly from the management studio then the issue is one of the below:

  1. you have 2 columns with the same name but different casing, like ColumnName1 and COLUMNname, if both are needed to give an alias to one of them.
  2. you changed your column names and some of them are cached and conflicting with the new columns, so you need to delete the source component and add a new one, make sure you copy your query before losing it!