Hi @avanni ,
Thanks for reaching out, You can refer below link and check the solutions:
Alternatively, You will need to perform this transformation in another tool. Take a look at AWS Glue Databrew or AWS Glue Studio if you cannot use custom SQL for it.