https://learn.microsoft.com/en-us/answers/questions/2259532/azure-function-(event-grid-duckdb)-not-publishing?page=1&orderby=helpful&translated=false#message-latest
Answered here.
Now, I am able to resolve the issue by creating another Python function and using Pandas to convert Parquet to JSON data.