You can compose your own parser. (Babel, Server, Core parsers use the
same template with different inclusions via FMPP.)

On Wed, Feb 15, 2023 at 3:58 PM Mihai Budiu <[email protected]> wrote:
>
> Hello,
>
> I am trying to parse a DDL statement such as CREATE VIEW V AS SELECT 
> DATE_PART(YEAR, T) FROM TABLE.
> If I am using the DDL parser factory, I can parse CREATE VIEW statements but 
> not DATE_PART.
> If I am using the BABEL parser factory, I can parse DATE_PART expressions but 
> not CREATE VIEW.
> Is there a way to get both?
>
> Thank you,
> Mihai

Reply via email to