[{"data":1,"prerenderedAt":51},["ShallowReactive",2],{"workflow-batch-execute-on-redshift":3},{"id":4,"title":5,"cleanup":6,"contributors":10,"deploy":12,"description":15,"diagram":16,"extension":17,"framework":18,"gitHub":19,"introBox":28,"level":33,"meta":34,"resources":35,"s3URL":38,"services":39,"simplicity":42,"stem":43,"testing":44,"type":48,"usecase":49,"videoId":27,"__hash__":50},"workflows\u002Fworkflows\u002Fbatch-execute-on-redshift.json","Batch execute on redshift ",{"headline":7,"text":8},"Cleanup",[9],"1. Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fshivam-rajawat.json",{"text":13},[14],"sam deploy --guided","Execute batch statements on redshift","\u002Fassets\u002Fimages\u002Fworkflows\u002Fbatch-execute-on-redshift.png","json","AWS SAM",{"template":20,"payloads":25},{"repoURL":21,"templateDir":22,"templateFile":23,"ASL":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fstep-functions-workflows-collection\u002Ftree\u002Fmain\u002Fstepfunction-redshift-batchexecutestatement-sam\u002F","stepfunction-redshift-batchexecutestatement-sam\u002F","template.yaml","statemachine\u002Fstatemachine.asl.json",[26],{"headline":27,"payloadURL":27},"",{"headline":29,"text":30},"BatchExecuteStatement on Redshift from a Step Functions workflow",[31,32],"This serverless pattern creates a State Machine with BatchExecuteStatement state and allows users to perform one or more SQL statements on a Redshift cluster directly via step function.","Statemachine will access the CSV file which is present in the S3 bucket and it will then create a table and upload the CSV data to that table directly.","200",{},{"headline":36,"bullets":37},"Additional resources",[],"https:\u002F\u002Fda-public-assets.s3.amazonaws.com\u002Fworkflows\u002Fbatch-execute-on-redshift\u002Fcloudformation.yml",[40,41],"sfn","redshift","2 - Pattern","workflows\u002Fbatch-execute-on-redshift",{"headline":45,"text":46},"Testing",[47],"See the GitHub repo for detailed testing instructions.","Standard","Data Processing","f2QABL345LEXX2ZgF_8DebiYft8N0FZSHKFMUqJdN3o",1778846888750]