Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 tasks
TarantoolBot opened this issue Nov 8, 2021 · 1 comment
Closed
2 tasks

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

TarantoolBot opened this issue Nov 8, 2021 · 1 comment
Assignees
Labels
reference [location] Tarantool manual, Reference part server [area] Task relates to Tarantool's server (core) functionality sql [location] SQL manual

Comments

@TarantoolBot
Copy link
Collaborator

TarantoolBot commented Nov 8, 2021

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

@pgulutzan
Copy link
Contributor

This is good news. I think it only affects SQL, in two places.
https://www.tarantool.io/en/doc/latest/reference/reference_sql/sql-features/
change the description of feature E011-03, and
https://www.tarantool.io/en/doc/latest/reference/reference_sql/sql_user_guide/
change the description of DOUBLE literals, add a new paragraph for DECIMAL literals.

@art-dr art-dr added this to the Estimate [@arctic_dreamer] milestone Dec 3, 2021
@art-dr art-dr added server [area] Task relates to Tarantool's server (core) functionality reference [location] Tarantool manual, Reference part sql [location] SQL manual labels Dec 3, 2021
@art-dr art-dr changed the title Literals for INTEGER, DECIMAL and DOUBLE [2pt] Literals for INTEGER, DECIMAL and DOUBLE Dec 3, 2021
@art-dr art-dr removed this from the Estimate [@arctic_dreamer] milestone Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reference [location] Tarantool manual, Reference part server [area] Task relates to Tarantool's server (core) functionality sql [location] SQL manual
Projects
None yet
Development

No branches or pull requests

4 participants