JSqlParser for 'create table as ..' Query

502 Views Asked by At

Is there any option in JSqlParser to parse Query like

create table public.sales1 as (select * from public.sales)
1

There are 1 best solutions below

0
On BEST ANSWER

I assume you use an older version JSqlParser.

The fork at https://github.com/JSQLParser/JSqlParser is able to parse this query.

I cannot recall from which version on but I think a version higher than 0.9.1 is definitly able to parse this SQL.