AWS Glue dynamic frame - no column headers if no data
I read the Glue catalog table, convert it to dataframe & print the schema using the below (spark with Python) dyf = glueContext.create_dynamic_frame.from_catalog(database='database_name', ...