Skip to content

Upgrade marino to v0.3.0 - #4576

Merged
kyleconroy merged 2 commits into
mainfrom
claude/serene-bardeen-6j13h1
Aug 21, 2026
Merged

Upgrade marino to v0.3.0#4576
kyleconroy merged 2 commits into
mainfrom
claude/serene-bardeen-6j13h1

Conversation

@kyleconroy

@kyleconroy kyleconroy commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Upgrades github.com/sqlc-dev/marino from v0.2.0 to v0.3.0, picking up the clause-level MySQL 26.7 syntax sweep, and adds endtoend coverage for the newly supported syntax:

  • mysql_json_tableJSON_TABLE in schema files
  • mysql_default_expression — expression defaults like DEFAULT (UTC_TIMESTAMP()) and DEFAULT (CURRENT_TIMESTAMP + INTERVAL 30 DAY)
  • mysql_ddl_routinesCREATE TRIGGER / CREATE FUNCTION / CREATE PROCEDURE / CREATE EVENT in MySQL schemas

All schema statements in the new cases were verified against a live MySQL 9 server, and the cases pass in both the base and managed-db replay contexts. The full go test --tags=examples ./... suite passes with live PostgreSQL and MySQL.

Each of the following issues has a verified-working repro on this branch:

Fixed #3129
Fixed #4178
Fixed #4105
Fixed #1403
Fixed #3468
Fixed #2789
Fixed #3977
Fixed #3868
Fixed #3741

Still not fixed by this upgrade (checked): JSON_ARRAYAGG(DISTINCT …) (#3676, still a marino parse error), TRIM(LEADING … FROM …) (#3405, parses now but fails catalog lookup), RLIKE parameter inference (#3673), LOCK TABLES as a named query (#1643), and MariaDB collation utf8mb4_uca1400_ai_ci (#4222). JSON_TABLE in query files parses but dolphin's converter doesn't yet expose its columns.

🤖 Generated with Claude Code

https://claude.ai/code/session_013aeoDHAe87yVsDuDCLPQNc

claude added 2 commits August 21, 2026 18:27
JSON_TABLE in schema files, expression DEFAULTs like (UTC_TIMESTAMP())
and (CURRENT_TIMESTAMP + INTERVAL 30 DAY), and trigger/function/
procedure/event DDL in MySQL schemas.
@kyleconroy
kyleconroy merged commit 99a7d7d into main Aug 21, 2026
13 checks passed
@kyleconroy
kyleconroy deleted the claude/serene-bardeen-6j13h1 branch August 21, 2026 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment