Skip to content

[2pt] Literals for INTEGER, DECIMAL and DOUBLE #2406

Closed
@TarantoolBot

Description

@TarantoolBot

Product: Tarantool
Since: 2.8
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_sql/sql-features/
and
https://www.tarantool.io/en/doc/latest/reference/reference_sql/sql_user_guide/
SME: @ ImeevMA

Details

The rules for parsing numeric values have changed:

  1. a value consisting of digits without decimal point and exponent will
    be parsed as INTEGER;
  2. a value consisting of digits and a decimal point will be parsed as
    DECIMAL;
  3. a value consisting of digits, containing an exponent and possibly
    containing a decimal point, will be parsed as DOUBLE.
    Requested by @ImeevMA in tarantool/tarantool@ea63798.

To do

Metadata

Metadata

Assignees

Labels

reference[location] Tarantool manual, Reference partserver[area] Task relates to Tarantool's server (core) functionalitysql[location] SQL manual

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions