title: How do I truncate a RDS table in AWS Glue job before the data load?
body: <p>I'm using AWS Glue as the ETL to load data to a RDS table, this is a daily snapshot table that needs to be truncated before the day's data load. </p>
  
  <p>I tried  the "Preactions" parameter in DynamicFrameWriter Class but it looks like it is Redshift ONLY. </p>
  
  <p>Ref: <a href="https://aws.amazon.com/premiumsupport/knowledge-center/sql-commands-redshift-glue-job/#" rel="nofollow noreferrer">https://aws.amazon.com/premiumsupport/knowledge-center/sql-commands-redshift-glue-job/#</a></p>