Muhammad Imran Tariq
Muhammad Imran Tariq

Reputation: 23352

JSqlParser for 'create table as ..' Query

Is there any option in JSqlParser to parse Query like

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

Upvotes: 0

Views: 540

Answers (1)

wumpz
wumpz

Reputation: 9131

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.

Upvotes: 1

Related Questions