[MDEV-8401] COLUMN_CREATE(name, value as DOUBLE) results in string Created: 2015-06-30  Updated: 2015-12-10  Resolved: 2015-12-10

Status: Closed
Project: MariaDB Server
Component/s: Dynamic Columns
Affects Version/s: 10.0.19
Fix Version/s: 10.0.23, 10.1.10

Type: Bug Priority: Major
Reporter: Tom Assignee: Oleksandr Byelkin
Resolution: Fixed Votes: 0
Labels: None
Environment:

Darwin yossy.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64


Sprint: 10.0.23

 Description   

SELECT COLUMN_JSON(
    COLUMN_CREATE(
        'one', 123.456,
        'two', 123.456 as DOUBLE
    )
);

results in

{"one":123.456,"two":"123.46"}

when I would expect

{"one":123.456,"two":123.46}



 Comments   
Comment by Elena Stepanova [ 2015-07-01 ]

Thanks for the report.

Generated at Thu Feb 08 07:26:53 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.