Repository navigation
4.0: Fix data branch decimal results on 4.0-dev - #24895
mergify[bot] merged 7 commits into
Conversation
1baf6dd to
2d48dd5
Compare
|
Updated this PR to address the review coverage gaps. Covered in this push:
Local validation on
Re-requesting review. |
|
已把 3.0-dev 上处理 change request 的 decimal256 data branch pick 修复 port 到 4.0-dev。 本次更新 commit: 本地验证: source $HOME/.zshrc && cd /Users/ghs-mo/MOWorkSpace/matrixone-2nd && moenv && cd /private/tmp/matrixone-port-decimal-4.0 && go test ./pkg/container/types ./pkg/container/vector ./pkg/frontend ./pkg/sql/colexec/lockop ./pkg/vm/engine/readutil ./pkg/objectio/mergeutil ./pkg/vm/engine/tae/mergesort -run 'TestSimpleTupleAllTypes|TestSingleTypeTuple|TestDecimal256OrderTuple|TestTupleSQLStrings|TestTupleSQLStringsWithEncodeDecode|TestDecodeTupleWithSchema|TestUnpackNthElement|TestType_DescString|TestFetchDecimal256Rows|TestFetchDecimal256RowsWithFilter|TestFetchDecimal256RowsWithFilterAll|TestNumericGap_AllTypes|TestIsNumericType|TestAppendNumericStringToVec_AllTypes|TestCoercePickKeyVectorToType_Decimal256ReformatsToTargetType|TestExtractPKValDecimal256|TestFormatPickKeyVectorValueAsString_AllSupportedKinds|TestLCAProbeJoinCastType|TestConstructBlockPKFilter|TestMergeBaseFilterInKind|TestMergeSortBatchesDecimal256|TestAObjMergeDecimal256' -count=1结果:PASS。 |
XuPeng-SH
left a comment
There was a problem hiding this comment.
Reviewed from multiple angles with extra unhappy-path focus.
I did not find a new blocking issue in this 4.0-dev backport. Decimal metadata preservation, decimal64/128/256 materialization, and decimal256 diff/replay handling all look consistent with the intended fix, and the added unit/BVT coverage hits the main regression surface.
I also checked the main unhappy-path concern around convertRowsIntoBatch early-return cleanup: that partial-batch cleanup pattern already exists in 4.0-dev (for example the pre-existing timestamp parse path), so this PR does not introduce a new cleanup regression there.
(cherry picked from commit e4cb379)
Merge Queue Status
This pull request spent 2 hours 4 minutes 28 seconds in the queue, including 1 hour 3 minutes 36 seconds running CI. Required conditions to merge
|
What type of PR is this?
Which issue(s) this PR fixes:
issue #24847
What this PR does / why we need it:
Port the data branch decimal result conversion fix to
4.0-dev.diff_14.sqlfor decimal64/decimal128/decimal256data branch diff.Notes:
565a0f71is already present in4.0-devwithtree.WithSingleQuoteString()and unit coverage.Checks:
make -C thirdpartiessource $HOME/.zshrc && moenv && go test ./pkg/container/types ./pkg/frontend ./pkg/vm/engine/disttae/logtailreplaygit diff --check upstream/4.0-dev...HEADDraft until CI confirms this port on
4.0-dev.