You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "junww2000@gmail.com" <ju...@gmail.com> on 2022/06/11 01:12:06 UTC

Question about babel

Hi,

In Calcite source code, there is a package called SQL.parser.babel. What is
the package for? Is it for this parser?
https://babeljs.io/docs/en/babel-parser

Thanks,

Jack

Re: Question about babel

Posted by Michael Mior <mm...@apache.org>.
This has nothing to do with Javascript. Babel is a SQL parser in Calcite
that is designed to be as permissive as possible. While the default Calcite
parser attempts to adhere to SQL standards, the goal of the Babel parser is
to accept as much as possible across varying dialects of SQL.

--
Michael Mior
mmior@apache.org


Le sam. 11 juin 2022 à 03:13, junww2000@gmail.com <ju...@gmail.com> a
écrit :

> Hi,
>
> In Calcite source code, there is a package called SQL.parser.babel. What is
> the package for? Is it for this parser?
> https://babeljs.io/docs/en/babel-parser
>
> Thanks,
>
> Jack
>