tarantool / tarantool/doc

Document fixed-size numeric field types

Open
#3,992 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.1 concepts
Dominant language
CSS
Stars
15
Forks
49
Avg merge
1d 13h
Merged PRs (30d)
3

Description

Product: Tarantool
Since: 3.1
Root document: https://www.tarantool.io/en/doc/latest/concepts/data_model/value_store/#field-type-details

Fixed-size field types

Tarantool supports the following fixed-size numeric field types:

  • uint8: integer in range [0 .. 255]
  • int8: integer in range [-128 .. 127]
  • uint16: integer in range [0 .. 65,535]
  • int16: integer in range [-32,768 .. 32,767]
  • uint32: integer in range [0 .. 4,294,967,295]
  • int32: integer in range [-2,147,483,648 .. 2,147,483,647]
  • uint64: integer in range [0 .. 18,446,744,073,709,551,615]
  • int64: integer in range [-9,223,372,036,854,775,808 ..
    9,223,372,036,854,775,807]
  • float32: 32-bit floating point number
  • float64: 64-bit floating point number

These types don't affect how data is stored in Tarantool's memtx or vinyl
engines but they enforce the limits when a tuple is inserted or updated.
Requested by @Gumix in https://github.com/tarantool/tarantool/commit/2e0f9a3c265e3f236c6205096fd77a555c32ac30.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the root document at https://www.tarantool.io/en/doc/latest/concepts/data_model/value_store/#field-type-details and review the fixed-size field type details. Document the listed integer ranges and float types, along with the note about tuple insertion and update limits; done means the documentation covers all types and their stated behavior.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.