I am trying to create a pipeline which performs following task.
- read and parse the csv file
- apply schema on top of that
- records which are mapping schema is written to a valid bigquery table
- records which doesn't match schema (i.e. if column expect int but in file it's string) it goes to reject bucket.
I have write following pipeline. However, the problem is, I don't see any records going to either rejected or bigquery.
if schema is not matching, shouldn't it go to reject?