facebookresearch/CodeGen

Can this be used to translate between SQL dialects?

rohankavari opened this issue · 1 comments

I am working on a project where I have to convert Teradata SQL queries to redshift queries. This has to be then generalized for other dialects to like for eg MySQL, BigQuery, PGSQL, etc.

  • So could this model be used to achieve this?
  • How should I proceed with it?

Hi. Given sufficient data, I believe that you could use the same objectives as TransCoder to translate between SQL dialects.