1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
0
Take a look at this sample https://github.com/aws-samples/implement-column-level-encryption-in-amazon-redshift-with-aws-glue-and-aws-lambda-udf , it leverage AWS Lambda and you can use layers (https://docs.aws.amazon.com/lambda/latest/dg/chapter-layers.html) for your custom code.
respondido hace 5 meses
Contenido relevante
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace 3 años
Here, my use case is, i have to decrypt the data which is encrypted say from MySQL RDS. I am trying to use pycryptdome package, by storing whl file as zip file in the S3 bucket and created a library using zip path as mentioned in the https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_LIBRARY.html
Here, i am getting the error as mentioned in the description.
Instead of interfacing different services to decrypt data, Can we use existed redshfit functionality like 'CREATE FUNCTION' and 'CREATE LIBRARY'?
There are particular requirement to be satisfied, refer https://docs.aws.amazon.com/redshift/latest/dg/udf-python-language-support.html#udf-importing-custom-python-library-modules, and refer section
To import a custom Python module into your cluster
Yes.. i followed same steps for all UDFs. I am facing this error with pycryptodome package when i run the udf.
Then I request you to open a Support Ticket for deeper investigation and troubleshooting.
Thank you. Then i need to raise support ticket only.