Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Calling stored procedure from aws Glue Script

After the ETL Job is done, What is the best way to call stored procedure in AWS Glue script?

I am using PySpark to fetch the data from S3 and storing in staging table. After this process, need to call a stored procedure. This stored procedure loads data from the staging table into the appropriate MDS tables.

If I have to call a Stored Procedure after ETL Job is done, what is the best way? If I consider AWS lambda, is there any way that lambda can be notified after the ETL.

like image 825
Santhosh Nagulanchi Avatar asked Oct 20 '25 22:10

Santhosh Nagulanchi


1 Answers

you can do it using py4j and all your code will be in one place, IMHO way better solution than others

How to run arbitrary / DDL SQL statements or stored procedures using AWS Glue

like image 148
mishkin Avatar answered Oct 22 '25 14:10

mishkin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!