This incorporates the changes from PR #2 as well as a few others:
Moves conversion logic from RawCatalog class to ConvertedCatalog class - it belongs in the latter. This isn't well documented.
Removes custom timestamp parsing logic. Glue is able to do this natively since source timestamp string is ISO8601.
Use dynamic_frame.apply_mapping to perform the above type conversions.
Make the ALB Grok pattern backwards compatible by using optional fields.
I don't really like the existing approach of having to reimplement the type conversion logic (we do this in VPC logs as well), so at some point this will need to be refactored as it's pretty confusing.
This incorporates the changes from PR #2 as well as a few others:
dynamic_frame.apply_mapping
to perform the above type conversions.I don't really like the existing approach of having to reimplement the type conversion logic (we do this in VPC logs as well), so at some point this will need to be refactored as it's pretty confusing.