### Expected behavior The DDL generated by the [Achilles DDL WebAPI](https://atlas-demo.ohdsi.org/WebAPI/ddl/achilles?dialect=spark&schema=MY_RESULTS&vocabSchema=OMOP) for spark should run properly. ### Actual behavior The generated DDL includes two WITH clauses within the same SQL statement, which throws an error. ### Steps to reproduce behavior 1. Generate DDL for spark from [Achilles DDL WebAPI.](https://atlas-demo.ohdsi.org/WebAPI/ddl/achilles?dialect=spark&schema=MY_RESULTS&vocabSchema=OMOP) - attached: [achilles_ddl-spark.sql.txt](https://github.com/OHDSI/WebAPI/files/11290647/achilles_ddl-spark.sql.txt) 2. The error is on line 99, which reads `WITH insertion_temp AS (` 3. If that line is changed to `, insertion_temp AS (`, the query runs properly.