Can you export Glue DataBrew recipies as code?

0

Customer likes how easy DataBrew is to work with, but wonders if they could get the resulting Glue Job code so they can tweak it even further. They are looking for starter code like you get with a standard Glue Job when running something like the convert to Parquet.

  • In addition to my answer below, there are repeatable mechanisms within Amazon Athena that would speak more to your conversion and compression requests. This may require a separate question and "re:Post" entry, so feel free to let me know if needed/interested. AWS-User-7347546

AWS
preguntada hace 3 años1482 visualizaciones
3 Respuestas
0
Respuesta aceptada

My understanding is that DataBrew is meant to be a no-code alternative to writing your own Spark code. As best I can tell, you can only export the declarative YAML/JSON definition of a DataBrew recipe. I created a recipe and couldn't find any way to export it as a "regular" Glue job definition, and the recipe does not appear in the standard Glue jobs window. I don't think there's any way to see the spark code.

If your customer wants visual design + ability to view/edit code, I think they'll need to look at AWS Glue Studio, instead: https://docs.aws.amazon.com/glue/latest/ug/what-is-glue-studio.html

respondido hace 3 años
0

DataBrew is not a code generator. You can export the recipe generated by Data Brew project to be used by other Data Brew Project or other Data Brew jobs but you cannot mix jobs Glue Studio and DataBrew jobs. But you can build your data pipeline flow which can use DataBrew Jobs and Glue Jobs independently , stitching them together with Step Functions or other orchestration tool.

AWS
Deen_P
respondido hace 2 años
0

In addition to what AWS-User-9164621 and Deen_P have aptly shared, in my experience, it is worthwhile to become acquainted with implementing the recipes into an AWS CloudFormation template, in conjunction with, various Glue DataBrew resource types, such as: projects, datasets, jobs, and/or schedules, that you may need for their composition and/or orchestration. Available "conditionals" in AWS Glue DataBrew recipe structure.

AWS
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas