Skip to content

new settings precise_float_parsing(ensure string -> float conversion more precise but slower) #322

Open
@yokofly

Description

@yokofly

timeplus backend database.
ver: from 2.9.10 timeplusd
before:

-> select to_float64('1.1468697')
1.1468696999999999
now:

-> select to_float64('1.1468697')
1.1468696999999999

SELECT
to_Float64('1.1468697')
SETTINGS
precise_float_parsing = 1

Query id: e537b2bf-4f38-487d-b074-a2651707b13f

┌─to_float64('1.1468697')─┐
│ 1.1468697 │
└─────────────────────────┘

1 row in set. Elapsed: 0.008 sec.

timeplusd :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions