Can I test AWS Glue code locally?

前端 未结 9 1835
天命终不由人
天命终不由人 2021-02-01 04:00

After reading Amazon docs, my understanding is that the only way to run/test a Glue script is to deploy it to a dev endpoint and debug remotely if necessary. At the same time, i

9条回答
  •  再見小時候
    2021-02-01 04:07

    You can keep glue and pyspark code in separate files and can unit-test pyspark code locally. For zipping dependency files, we wrote shell script which zips files and upload to s3 location and then applies CF template to deploy glue job. For detecting dependencies, we created (glue job)_dependency.txt file.

提交回复
热议问题