I want to be able to connect to snowflake using the snowflake-connector-python package but it is too large when it is packaged up. The maximum unzipped size for lambda's is 250 MB and just installing snowflake-connector-python (latest version) brings in pyarrow and numpy which are very large. The deployment package unzipped is 324 MB. What other options do I have?
UPDATE:
I have moved to version 1.9.0 and am receiving multiple errors. It looks like the following thread has the same issue.
https://community.snowflake.com/s/question/0D50Z00009bTn7ASAS/cant-establish-a-connection-using-snowflakeconnectorpython-v19?t=1570467024620&searchQuery=#
UPDATE:
Moving to version 1.9.0 with asn1crypto<1.0.0 (0.24.0) worked for me.