aws-samples / aws-glue-samples

AWS Glue code samples
MIT No Attribution
1.44k stars 821 forks source link

Missing DynamicFrame import #46

Closed christopherbertrand closed 4 years ago

christopherbertrand commented 5 years ago

In examples/data_cleaning_and_lambda.md section 5. Lambda functions (aka Python UDFs) and ApplyMapping, there's call to DynamicFrame.fromDF() on line 222, but it seems like the class DynamicFrame wasn't imported as part of the boiler plater. I added from awsglue.dynamicframe import DynamicFrame and everything in the sample worked cleanly. Thanks for all the work on these. They're super helpful

moomindani commented 4 years ago

Thanks for reporting it. It has been fixed by #36.