You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2026/10/02 03:51:21 UTC
[GH] (rocketmq-dashboard/fix/btl-metric-snapshot-quote): Workflow run "CI" failed!
The GitHub Actions job "CI" on rocketmq-dashboard.git/fix/btl-metric-snapshot-quote has failed.
Run started by GitHub user btlqql (triggered by btlqql).
Head commit for run:
d9c71c8db403858acf88607f03c059ab6191d65b / btlqql <29...@qq.com>
fix(persistence): quote the reserved value column in RmqMetricSnapshot
The canonical schema declares the metric snapshot column as `value`, but the
entity had no explicit column mapping, so MyBatis-Plus emitted the bare
identifier alue. VALUE is a reserved word in H2, which the dev profile runs
in MySQL compatibility mode, so every snapshot insert and select failed with
JdbcSQLSyntaxErrorException [42001-240].
Map the field with @TableField("`value`") so the generated SQL matches the
schema; the backtick form is valid in MySQL too.
Test: MetricSnapshotValueColumnMappingTest runs db/schema.sql on H2 2.4.240 and
round-trips snapshots through RmqMetricSnapshotMapper (2 errors before, green
after).
Report URL: https://github.com/apache/rocketmq-dashboard/actions/runs/36961299200
With regards,
GitHub Actions via GitBox