id date idx comments
1 01-05-2018 0 null
2 02-05-2018 0 null
3 03-05-2018 Y null
4 04-05-2018 Y null
when idx = 0, comments column needs to be updated as 'flow reported as null for id (mention the respective id) and date (mention the respective date)'