npawar commented on issue #8604: URL: https://github.com/apache/pinot/issues/8604#issuecomment-1118106277
@saumya2700 , as Saurabh has pointed out, you need to remove all the non-array fields from fieldsToUnnest. Here's what works. Schema should have, instead of just calActivity.metadata, ``` { "name": "calActivity.metadata.activityType", "dataType": "STRING" }, { "name": "calActivity.metadata.conf", "dataType": "FLOAT" }, ``` Ingestion config should just have ``` "complexTypeConfig": { "fieldsToUnnest": ["calActivity.metadata"] } ``` You dont need any transform functions, just this is enough. Please try this out and let us know -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org