Matthew Powers
01/20/2023, 1:20 PMNick Karpov
01/23/2023, 3:46 PM_internal.abi3.so
even though i'm definitely packaging it in the layer:
creating: python/deltalake/
creating: python/deltalake/__pycache__/
inflating: python/deltalake/__pycache__/schema.cpython-37.pyc
inflating: python/deltalake/__pycache__/table.cpython-37.pyc
inflating: python/deltalake/__pycache__/writer.cpython-37.pyc
inflating: python/deltalake/__pycache__/data_catalog.cpython-37.pyc
inflating: python/deltalake/__pycache__/fs.cpython-37.pyc
inflating: python/deltalake/__pycache__/__init__.cpython-37.pyc
inflating: python/deltalake/__init__.py
inflating: python/deltalake/table.py
inflating: python/deltalake/_internal.pyi
inflating: python/deltalake/schema.py
inflating: python/deltalake/fs.py
inflating: python/deltalake/data_catalog.py
inflating: python/deltalake/writer.py
inflating: python/deltalake/_internal.abi3.so
creating: python/deltalake-0.6.4.dist-info/
inflating: python/deltalake-0.6.4.dist-info/WHEEL
creating: python/deltalake-0.6.4.dist-info/license_files/
inflating: python/deltalake-0.6.4.dist-info/license_files/LICENSE.txt
inflating: python/deltalake-0.6.4.dist-info/RECORD
extracting: python/deltalake-0.6.4.dist-info/REQUESTED
inflating: python/deltalake-0.6.4.dist-info/METADATA
extracting: python/deltalake-0.6.4.dist-info/INSTALLER
then when running the lambda with the layer attached (no import even in code yet):
{
"errorMessage": "Unable to import module 'lambda_function': /opt/python/deltalake/_internal.abi3.so: cannot open shared object file: No such file or directory",
"errorType": "Runtime.ImportModuleError",
"stackTrace": []
}
Matthew Powers
01/23/2023, 3:47 PMNick Karpov
01/30/2023, 6:30 PMaws-sdk-pandas
provide the correct pyarrow dependencies for deltalake
https://github.com/aws/aws-sdk-pandas/issues/1969 - they seem to be open to doing it if the size doesn't blow up... any chance you know exactly which optional arrow modules are needed? I didn't have luck searching in the repo and trying to see if there's a quick answer before diving in