it closely follows Hive sql. from the analytical functions its is similar to Oracle. Anyway if you know good SQL as opposed to Java programmer turned to SQL writer you should be OK.
HTH Dr Mich Talebzadeh LinkedIn * https://www.linkedin.com/profile/view?id=AAEAAAAWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw <https://www.linkedin.com/profile/view?id=AAEAAAAWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw>* http://talebzadehmich.wordpress.com *Disclaimer:* Use it at your own risk. Any and all responsibility for any loss, damage or destruction of data or any other property which may arise from relying on this email's technical content is explicitly disclaimed. The author will in no case be liable for any monetary damages arising from such loss, damage or destruction. On Wed, 6 May 2020 at 21:35, Aakash Basu <aakash.spark....@gmail.com> wrote: > Hi, > > Wish to know, which type of SQL syntax is followed when we write a plain > SQL query inside spark.sql? Is it MySQL or PGSQL? I know it isn't SQL > Server or Oracle as while migrating, had to convert a lot of SQL functions. > > Also if you can provide a documentation which clearly says the above would > help. > > Thanks, > AB > >