awslabs / amazon-redshift-utils

Amazon Redshift Utils contains utilities, scripts and view which are useful in a Redshift environment
Apache License 2.0
2.76k stars 1.25k forks source link

feat: Read wlm config from local json file #695

Open cibinmathew opened 1 year ago

cibinmathew commented 1 year ago

fixes: https://github.com/awslabs/amazon-redshift-utils/issues/694

Description of changes:

In WorkloadManagementScheduler/wlm_scheduler.py Additionally add support for local json file stored in lambda's code dir. Currently only in-place configuration and json files stored in s3 are supported.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.