Relative Content

Tag Archive for amazon-web-servicesscalaapache-sparkaws-glue

Why does using getField() return a none type in AWS glue for scala for an Array of objects despite confirming it is there

When using getField() I am able to return simple values but when I try and use it on an array of objects it returns None. So I’ve tried to create a simple version of the Scala code I’m having problems with below I’m trying to run a Glue job and as part of that do some mapping on a dynamicFrame. I’m aware I could just switch to a data frame to do this but I’m curious why the dynamic frame doesn’t work as expected.