Files
doris/regression-test/data/load_p0/stream_load/test_decimal.json
Qi Chen 3328a65b75 [Fix](mutli-catalog) Use decimal v3 type to fix decimal loss issue in multi-catalog module. (#18835)
Fix decimal v3 precision loss issues in the multi-catalog module.
Now it will use decimal v3 to represent decimal type in the multi-catalog module.
Regression Test: `test_load_with_decimal.groovy`
2023-04-20 11:02:53 +08:00

8 lines
968 B
JSON

[
{"id": 1, "decimal_col1": 1.1234, "decimal_col2": 12.123456, "decimal_col3": 123.123456789876, "decimal_col4": 12, "decimal_col5": 1234.123456789, "decimal_col6": 123},
{"id": 2, "decimal_col1": 1234.1234, "decimal_col2": 123456789123.123456, "decimal_col3": 12345678912345678912345678.123456789876, "decimal_col4": 123456789, "decimal_col5": 123456789123456789.123456780, "decimal_col6": 987654321},
{"id": 3, "decimal_col1": 1234.0000, "decimal_col2": 123456789123.000000, "decimal_col3": 12345678912345678912345678.000000000000, "decimal_col4": 123456789, "decimal_col5": 123456789123456789.000000000, "decimal_col6": 987654321},
{"id": 4, "decimal_col1": null, "decimal_col2": null, "decimal_col3": 123.123456789876, "decimal_col4": 12, "decimal_col5": null, "decimal_col6": 123},
{"id": 5, "decimal_col1": 1.1234, "decimal_col2": 12.123456, "decimal_col3": null, "decimal_col4": null, "decimal_col5": 1234.123456789, "decimal_col6": null}
]