🔥 3-day streak
AWS Certified Machine Learning Engineer - Associate58 / 194
Question 58 of 194

A data engineer builds an AWS Glue ETL job that reads semi-structured JSON order records from S3 and writes them to a curated Parquet dataset used to train a demand-forecasting model. Some records store the field 'quantity' as an integer (e.g., 5) while others store it as a string (e.g., "5"). When the job writes to Parquet, Glue creates two separate columns, 'quantity_int' and 'quantity_string', causing the downstream training job to fail. Which approach resolves this schema conflict most efficiently within the Glue job?

Reviewed for accuracy · Report an issueNext question