[{"data":1,"prerenderedAt":52},["ShallowReactive",2],{"workflow-query-athena":3},{"id":4,"title":5,"cleanup":6,"contributors":10,"deploy":12,"description":14,"diagram":15,"extension":16,"framework":17,"gitHub":18,"introBox":27,"level":33,"meta":34,"resources":35,"s3URL":41,"services":42,"simplicity":44,"stem":45,"testing":46,"type":49,"usecase":50,"videoId":23,"__hash__":51},"workflows\u002Fworkflows\u002Fquery-athena.json","Query Athena",{"headline":7,"text":8},"Cleanup",[9],"See the GitHub repo for detailed testing instructions.",[11],"content\u002Fcontributors\u002Fcorneliu-croitoru.json",{"text":13},[9],"How to use an AWS Step Functions state machine to query Athena and get the results by leveraging Step Functionsnative integration with Amazon Athena","\u002Fassets\u002Fimages\u002Fworkflows\u002Fquery-athena.png","json","AWS CDK",{"template":19,"payloads":25},{"repoURL":20,"templateDir":21,"templateFile":22,"ASL":23,"definition":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fsfn-athena-cdk-python\u002F","sfn-athena-cdk-python\u002F","sfn_athena_cdk_python\u002Fsfn_athena_cdk_python_stack.py","","statemachine\u002Fstatemachine.png",[26],{"headline":23,"payloadURL":23},{"headline":28,"text":29},"How it works",[30,31,32],"This sample project demonstrates how to use an AWS Step Functions state machine to query Athena and get the results.","This pattern is leveraging the native integration between these 2 services which means only JSON-based, structured language is used to define the implementation.","With Amazon Athena you can get up to 1000 results per invocation of the GetQueryResults method and this is the reason why the Step Functionshas a loop to get more results.","100",{},{"headline":36,"bullets":37},"Additional resources",[38],{"text":39,"link":40},"The AWS Step Functions Workshop","https:\u002F\u002Fcatalog.workshops.aws\u002Fstepfunctions\u002Fen-US",null,[43],"athena","3 - Application","workflows\u002Fquery-athena",{"headline":47,"text":48},"Testing",[9],"Standard","Data Processing","vPJ7QmtMJ_J8_TyrfOMndDSSHHgD_62By2iozalCLEU",1778927712838]