pmml Predictor failing when input data is read with csv reader

Hi, I am trying to create a workflow to read a ppml model and test input to produce the test output. The model that i'm reading is already created and saved by k-means actor. The problem is when I pass the input data to PMML Predictor via CSV reader I get this error: 

ERROR     PMML Predictor                     Execute failed: Column "Col1" not found in data input spec.

However when I use File reader workflow executes successfully. Since I am creating a general workflow which I'm going to run with different inputs in batch form I have to use csv reader. I would be grateful if you can guide me how to fix this.


It sounds like the column names used to create the PMML model are different to those listed in the input CSV file. They must be the same.