Question

root field should be list or list-map instead of map

  • 1 March 2022
  • 2 replies
  • 399 views

streamsets:

while ingesting data and dropping into s3 bucket in csv format , I'm getting below error:

“root field should be list or list-map instead of map”.

wanted to know the resolution for this. we wanted the file in s3 bucket as csv


2 replies

Userlevel 2
Badge

@harshith Can you check whether you can use the “Field Order” processor in your pipeline?

If it doesn’t help you, can you preview the data and share the screenshot of the data before s3 destination?

Userlevel 5
Badge

@harshith Was @Ranjith P suggestion helpful? If so, Please select it as the “Best Answer”

Reply