I have the file say sample1.txt in linux env with comma separated values: below
"zc52","FS_SE",20-JUN-19,"P1C217.DB.ATC.COM - 636",""
"p214","FS_MG",16-OCT-20,"",""
"x901","FS_TC",01-APR-21,"",""
"r750","FS_SP",06-JUL-21,"",
I need the output in below format having 1 million records, how can i do it.
{"id":"zc52","role":"FS_SE","created_time_stamp":"20-JUN-19, q_id":"P1C217.DB.ATC.COM - 636"}
{"id":"p214","role":"FS_MG","created_time_stamp":"16-OCT-20"}
{"id":"x901","role":"FS_TC","created_time_stamp":"01-APR-21"}
{"id":"r750","role":"FS_SP","created_time_stamp":"06-JUL-21"}