DuckDB package size
- Dominant language
- C++
- Stars
- 91
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
Hey all, wanting to use duckdb for out parquet parsing needs. In our lambda functions. I ran `npm install duckdb` and it installed without issue. I am also able to successfully parse my parquet files. The problem comes when trying to deploy my lambda stack. When running a deployment, I get the error:
```UPDATE_FAILED: ExampleLambda (AWS::Lambda::Function)
Resource handler returned message: "Unzipped size must be smaller than 262144000 bytes (Service: Lambda, Status Code: 400, Request ID: XXX)" (RequestToken: XXX, HandlerErrorCode: InvalidRequest)
```
When running `du node_modules/duckdb`, I can see that the package is 284400 KB, so 284.4 MB. This is way too big for any lambda to deploy with serverless. Is this the expected size of the `duckdb` package? If so, are there workarounds for this package size that `duckdb` can support?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.