Doltgres panics on the query INSERT INTO t(id) VALUES (1) ON DUPLICATE KEY UPDATE a = DEFAULT; (part of the test added in dolt/go-mysql-server#3669), with the following panic
panic: unhandled type: *sqlparser.Default [recovered, repanicked]
The same query results in a syntax error in Postgres, but that's because Postgres doesn't handle ON DUPLICATE KEY UPDATE clauses. However, Doltgres does usually handle ON DUPLICATE KEY UPDATE queries correctly; it seems like it just panics when DEFAULT is used in the clause.
Doltgres panics on the query
INSERT INTO t(id) VALUES (1) ON DUPLICATE KEY UPDATE a = DEFAULT;(part of the test added in dolt/go-mysql-server#3669), with the following panicThe same query results in a syntax error in Postgres, but that's because Postgres doesn't handle
ON DUPLICATE KEY UPDATEclauses. However, Doltgres does usually handleON DUPLICATE KEY UPDATEqueries correctly; it seems like it just panics whenDEFAULTis used in the clause.