Skip to content

fix(方言): 保留参数类型解析的扩展分派 - #144

Merged
zhou-hao merged 1 commit into
4.2from
codex/fix-dialect-extension-dispatch
Nov 26, 2026
Merged

zhou-hao merged 1 commit into
4.2from
codex/fix-dialect-extension-dispatch

Conversation

@zhou-hao

Copy link
Copy Markdown
Member

带长度、精度或小数位参数的类型解析绕过了方言已有的 convertDataType(type, length, scale) 扩展方法。下游 StarRocks 的 varchar(64)、DECIMAL256 和嵌套数组/Map 类型因此无法正确还原。

恢复原扩展分派,并保留未知类型的完整原始声明;不新增提供方判断或改变现有扩展签名。

验证:

  • ORM 方言、类型解析与元数据定向回归 13 项通过,零失败、零跳过。
  • 下游组件 448 项定向回归通过,包含 PostgreSQL 与原生 ARM64 StarRocks 4.0.1 的真实结果存储、宽精度统计、证据及类型化归属契约。
  • 下游原有 StarRocks 字符串、数组、Map 类型回归恢复通过。

修复后的 4.2.4-SNAPSHOT 需发布后供下游使用。本地验证不代表远端 CI 已通过。

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.23%. Comparing base (68b2764) to head (aa44661).
⚠️ Report is 69 commits behind head on 4.2.

Additional details and impacted files
@@              Coverage Diff              @@
##                4.2     #144       +/-   ##
=============================================
+ Coverage     64.92%   81.23%   +16.30%     
- Complexity     2341     3746     +1405     
=============================================
  Files           343      385       +42     
  Lines          9375    11463     +2088     
  Branches        940     1417      +477     
=============================================
+ Hits           6087     9312     +3225     
+ Misses         2810     1510     -1300     
- Partials        478      641      +163     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zhou-hao
zhou-hao merged commit 18b0a2e into 4.2 Nov 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants