2022-11-22

Errortype: Runtime.ExitError in aws lambda

I am trying to read two parquet files of 150 mb each from an S3 bucket and create a dataframe. I get the error:

Errortype: Runtime.ExitError

The configurations are set to Memory: 10240mb, Ephemeral storage: 10000 mb, Timeout: 15mins

import json
import boto3
import pandas as pd
import awswrangler as wr

def lambda_handler(event,context):
                                 df = wr.s3.read_parguet(s3://path)
                                 df2 =wr.s3.read_parquet(s3://path)
                                 print(df)


No comments:

Post a Comment