Skip to main content
Question

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


harshith
Discovered Fame

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

Forum|alt.badge.img
  • StreamSets Employee
  • 31 replies
  • March 1, 2022

@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?


Drew Kreiger
Rock star
Forum|alt.badge.img
  • Senior Community Builder at StreamSets
  • 95 replies
  • March 17, 2022

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


Reply