Repository navigation
merge queue: checking #71 on main (08351ff) - #72
Closed
mergify[bot] wants to merge 2 commits into
Closed
mergify[bot] wants to merge 2 commits into
mergify[bot] wants to merge 2 commits into
Conversation
Quoted 'NaN'/'+Inf'/'-Inf' literals abort strict-mode restores with ERROR 1265 Data truncated since matrixorigin/matrixone#31191: the SQL script fails at the first INSERT and the target stays empty, so nothing of a stored IEEE special round-trips (matrixorigin/matrixone#30596). Serialize the FLOAT/DOUBLE wire text of NaN/±Inf as bit_cast(unhex('<LE hex>') as <float|double>) expressions that rebuild the canonical IEEE word from raw bytes, so the strict-mode text rule does not apply. The hex words are fixed little-endian constants taken from the server's own special-value fixtures; no user data is interpolated. Restore is verified live under the default strict, MATRIXONE_NATIVE and NO_BACKSLASH_ESCAPES sessions. Unknown non-numeric wire text keeps the legacy quoted form; finite passthrough, -0 (cast form, mo_dump#58) and NULL handling are unchanged; CSV mode is unchanged. The text wire carries no NaN payload bits, so the canonical quiet-NaN word is restored — the same canonical value the CSV roundtrip restores. Tests: cmd/mo-dump TestConvertValueFloatSpecials (specials × float/double, unknown-text fallback, string-column 'NaN' stays quoted, -0/float32-overflow cast forms, finite passthrough, NULL); go test ./... passes. Live single-node round-trip on current MatrixOne main: this branch restores 6/6 rows with identical text rendering and a byte-identical second export, CSV LOCAL and native/NO_BACKSLASH sessions pass, and the pre-fix dump still fails with ERROR 1265 while the connection stays reusable.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This is a merge queue draft opened by Mergify. Nobody needs to act on it.
Mergify opened it for batch tasty-saucisson-uohzq0 of the
defaultqueue, to test #71 before it merges intomain. Pushing to this branch or closing this pull request removes #71 from the queue.What this draft tests
Mergify checks that #71 still passes CI on top of
main. CI runs on this draft's code, built in this order:mainat08351ff🎉 Where it stands: checks passed
CI passed on this draft.
Follow the
defaultqueue in the dashboardWhat happens next
mainand closes this draft.Metadata for CI tooling, read by
mergify ciRequired conditions of queue rule
defaultfor mergeNo extra conditions.
Required conditions to stay in the queue
None