You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
insert into conf.supply_info (id, deal_id, report_date, role_code)
select uuid_generate_v4(),
rep.deal_id,
rep.report_date,
rep.role_code
from conf.reports rep
join conf.orders o on rep.id = o.report_id
on conflict do nothing;
Unexpected K_DO "DO"
Expected one of these: "ON", "RETURN", "RETURNING", "ST_SEMICOLON".
Activity
[-][BUG] JSQLParser Version : 5.3 Encountered unexpected token K_DO "DO".[/-][+][BUG] JSQLParser 5.3 Encountered unexpected token K_DO "DO".[/+]manticore-projects commentedon Jan 1, 2026
Greetings.
Unfortunately I can confirm this. The 'ON CONFLICT" collides with the 'JOIN ... ON', adding brackets to the
SELECT ...works around.fix(parser): parse INSERT ON CONFLICT after a join's trailing ON
fix(parser): parse INSERT ON CONFLICT after a join's trailing ON (JSQ…