@@ -299,11 +299,14 @@ func (s ClickHouseSuite) Test_MySQL_JSON_SnapshotCDCConsistency() {
299299 val string
300300 expectExact string
301301 }{
302- {val : `{"z": 1, "aa": 2}` }, // key order: shorter key sorts after longer one
303- {val : `{"b": 2, "a": 1}` }, // key order: reversed on storage
304- {val : `{"n": [3, 1, 2], "obj": {"y": 1, "x": 2}}` }, // nested object key order + array order preserved
305- {val : `{"s": "a, b: c"}` }, // whitespace inside strings is preserved
306- {val : `{"pi": 3.14, "half": 0.5, "neg": -2.5}` }, // non-whole doubles that render identically in both paths
302+ // key order: shorter key sorts after longer one
303+ {val : `{"z": 1, "aa": 2}` },
304+ {val : `{"b": 2, "a": 1}` }, // key order: reversed on storage
305+ // nested object key order + array order preserved
306+ {val : `{"n": [3, 1, 2], "obj": {"y": 1, "x": 2}}` },
307+ {val : `{"s": "a, b: c"}` }, // whitespace inside strings is preserved
308+ // non-whole doubles that render identically in both paths
309+ {val : `{"pi": 3.14, "half": 0.5, "neg": -2.5}` },
307310 {val : `{"big": 1234567890123456789}` , expectExact : `{"big":1234567890123456789}` }, // 19-digit int64: float64 rounds to ...6800
308311 {val : `{"maxsafe": 9007199254740993}` , expectExact : `{"maxsafe":9007199254740993}` }, // 2^53+1: float64 drops the low bit (...992)
309312 {val : `{"negbig": -1234567890123456789}` , expectExact : `{"negbig":-1234567890123456789}` }, // sign preserved at full precision
0 commit comments